text stringlengths 54 19.6k |
|---|
question:
Tween Color with Back InOut easing, 3s duration, infinite repeats, non-reversing in Roblox.
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, -1, false, 0)
local goal = {Color = Color3.fr... |
instruction:
Create an anchored yellow Wood Block part sized 2x2x2 at position -2,4,27 in Roblox Luau.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(2,2,2)
part.Position = Vector3.new(-2,4,2... |
user:
Tween Transparency with Quint InOut easing, 1s duration, 0 repeats, non-reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 0, false, 0)
local goal = {Transparency = ... |
begin:
Create a TextLabel saying "Submit" with Ubuntu font with background Color3.fromRGB(0,120,255) in Roblox GUI.
model:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0,200,0,40)
elem.Posi... |
task:
Make a script that Connect two parts with a RopeConstraint.
solution:
local partA = workspace:WaitForChild("PartA")
local partB = workspace:WaitForChild("PartB")
local attachmentA = Instance.new("Attachment")
attachmentA.Parent = partA
local attachmentB = Instance.new("Attachment")
attachmentB.Parent = partB
... |
prompt:
Create a gray forcefield part with PointLight effect in Roblox
finish:
local part = Instance.new("Part")
part.Material = Enum.Material.ForceField
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = I... |
instruction:
Create a TextLabel saying "No" with FredokaOne font with background Color3.fromRGB(50,50,80) in Roblox GUI.
output:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0,150,0.08,0)
e... |
input:
Tween a part's Transparency with Exponential Out easing over 5s in Roblox
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out)
local goal = {Transparency = 0.8}
local tween = TweenServ... |
start:
Make a cylinder that is red and wood at (5,10,0) size (2,1,6) in Roblox.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(2,1,6)
part.Position = Vector3.new(5,10,0)
part.Anchored = false
... |
begin:
Create an unanchored blue Plastic Block part sized 12x4x8 at position 24,49,31 in Roblox Luau.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,0,255)
part.Size = Vector3.new(12,4,8)
part.Position = Vector3.new(24,49,31)
... |
user:
Create an unanchored white Plastic Block part sized 1x1x6 at position -2,29,16 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.new(1,1,1)
part.Size = Vector3.new(1,1,6)
part.Position = Vector3.new(-2,29,16)
part.A... |
query:
Create an unanchored orange Plastic Block part sized 1x2x10 at position 49,31,-24 in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(1,2,10)
part.Position = Vector3.new(... |
input:
Make a brown DiamondPlate part with a SpotLight effect attached in Roblox Luau.
output:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspa... |
start:
Tween a part's Size with Elastic InOut easing over 5s in Roblox
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut)
local goal = {Size = Vector3.new(8,8,8)}
local tween = TweenService:C... |
start:
Create an unanchored black Plastic Block part sized 12x6x4 at position 8,32,4 in Roblox Luau.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(12,6,4)
part.Position = Vector3.new(8,32,4)
part.A... |
question:
Create a ScreenGui with a TextLabel that says "Time: 0:00" using font Fantasy at size 64.
completion:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
scre... |
input_text:
Create an unanchored yellow Plastic Block part sized 8x4x10 at position -6,57,33 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(8,4,10)
part.Position = Vector3.new... |
instruction:
Tween a part's Reflectance with Quad InOut easing over 2s in Roblox
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)
local goal = {Reflectance = 0.9}
local tween = TweenService:Crea... |
query:
Tween Reflectance with Bounce In easing, 0.25s duration, 3 repeats, non-reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 3, false, 0)
local goal = {Reflectance =... |
prompt:
Create a black plastic part with Fire effect in Roblox
result:
local part = Instance.new("Part")
part.Material = Enum.Material.Plastic
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = Instance.new("Fire")
f... |
start:
Create an unanchored brown Wood Block part sized 2x2x6 at position -36,21,-47 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(2,2,6)
part.Position = Vector3.new(-36,21,-47)... |
input_text:
How do I use AlignPosition in Roblox? It aligns part to target position.
response:
local partA = workspace.PartA
local partB = workspace.PartB
local a0 = Instance.new("Attachment")
a0.Parent = partA
local a1 = Instance.new("Attachment")
a1.Parent = partB
local constraint = Instance.new("AlignPosition")
con... |
input_text:
Create an anchored gold Plastic Block part sized 1x2x2 at position 11,48,-14 in Roblox Luau.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(1,2,2)
part.Position = Vector3.new(11,48,... |
input:
Create an unanchored purple Wood Block part sized 10x2x6 at position -32,9,-15 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(10,2,6)
part.Position = Vector3.new(-32,9,-1... |
prompt:
Connect two parts with a BallSocketConstraint.
completion:
local partA = workspace:WaitForChild("PartA")
local partB = workspace:WaitForChild("PartB")
local attachmentA = Instance.new("Attachment")
attachmentA.Parent = partA
local attachmentB = Instance.new("Attachment")
attachmentB.Parent = partB
local con... |
input:
Create a ScreenGui with a TextLabel that says "Score: 0" using font SourceSans at size 32.
output_text:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
scree... |
instruction:
Create an anchored brown Wood Block part sized 6x1x8 at position 17,77,49 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(6,1,8)
part.Position = Vector3.new(17,7... |
task:
Create an anchored purple Plastic Block part sized 1x6x10 at position -20,29,-12 in Roblox Luau.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(1,6,10)
part.Position = Vector3.new(-20,... |
input:
Tween Size with Exponential Out easing, 2s duration, 0 repeats, reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out, 0, true, 0)
local goal = {Size = Vector3.new(8,8... |
query:
Create an anchored orange Plastic Block part sized 12x1x8 at position 20,62,-43 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(12,1,8)
part.Position = Vector3.new(20,6... |
user:
Create a orange plastic ball at (20,15,5) size (2,6,4) in Roblox.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(2,6,4)
part.Position = Vector3.new(20,15,5)
part.Anchored = false
p... |
user:
Create a ScreenGui with a TextLabel that says "Welcome!" using font SourceSans at size 18.
finish:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
screenGui.P... |
question:
Create an anchored purple Plastic Block part sized 1x1x1 at position 33,45,-35 in Roblox Luau.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(1,1,1)
part.Position = Vector3.new(33,45,... |
question:
Tween Position with Quad In easing, 0.5s duration, 0 repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 0, true, 0)
local goal = {Position = Vector3.new(10,5,0... |
user:
Create an unanchored cyan Plastic Block part sized 4x2x1 at position 34,77,27 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(4,2,1)
part.Position = Vector3.new(34,7... |
input_text:
Tween Transparency with Cubic Out easing, 0.5s duration, 3 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 3, false, 0)
local goal = {Transparency... |
start:
Code a script that Play a sound with volume 0.4, pitch 0.6, looped=true.
result:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID
sound.Volume = 0.4
sound.PlaybackSpeed = 0.6
sound.Looped = true
sound.Parent = workspace
sound:Play()
-- Sound will loop co... |
prompt:
Create an unanchored white Wood Block part sized 2x1x10 at position -50,76,-11 in Roblox Luau.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.new(1,1,1)
part.Size = Vector3.new(2,1,10)
part.Position = Vector3.new(-50,76,-11)
part.A... |
input_text:
Create an unanchored purple Plastic Block part sized 2x1x1 at position 9,8,21 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(2,1,1)
part.Position = Vector3.new(9,... |
begin:
Create an unanchored gray Plastic Block part sized 4x4x4 at position 34,25,-12 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(34,25... |
start:
Create a part that is cyan, transparency 0.75, CanCollide=true, Reflectance=0.5.
output_text:
local part = Instance.new("Part")
part.Color = Color3.fromRGB(0, 255, 255)
part.Transparency = 0.75
part.CanCollide = true
part.Reflectance = 0.5
part.Anchored = true
part.Parent = workspace |
user:
Create an unanchored red Plastic Block part sized 2x4x6 at position -50,93,42 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(2,4,6)
part.Position = Vector3.new(-50,93,42)
... |
start:
Create an anchored gray Wood Block part sized 8x4x2 at position -1,99,22 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(8,4,2)
part.Position = Vector3.new(-1,99,22)
par... |
input_text:
Tween CFrame with Circular InOut easing, 2.5s duration, infinite repeats, non-reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, -1, false, 0)
local goal = {... |
prompt:
Create a TextLabel saying "Next" with Oswald font with background Color3.fromRGB(0,120,255) in Roblox GUI.
solution:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0.5,0,0.08,0)
elem.... |
input_text:
Tween Size with Quart InOut easing, 1.5s duration, infinite repeats, non-reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, -1, false, 0)
local goal = {Size =... |
query:
Tween Transparency with Sine In easing, 3s duration, 2 repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 2, false, 0)
local goal = {Transparency = 0.8}
local twee... |
user:
Make a yellow Concrete part with a PointLight effect attached in Roblox Luau.
output_text:
local part = Instance.new("Part")
part.Material = Enum.Material.Concrete
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace... |
query:
Create a TextButton saying "Exit" with SourceSansBold font with background Color3.fromRGB(255,128,0) in Roblox GUI.
finish:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(0.5,0,0,60)
... |
user:
Tween Reflectance with Quad Out easing, 2s duration, 1 repeats, reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, true, 0)
local goal = {Reflectance = 0.9}
local tw... |
start:
Tween CFrame with Quad InOut easing, 5s duration, 1 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 1, false, 0)
local goal = {CFrame = part.CFrame*CFra... |
begin:
Tween Transparency with Sine In easing, 3s duration, 3 repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 3, true, 0)
local goal = {Transparency = 0.8}
local tween ... |
begin:
Script a ball with forcefield material colored black at (-10,5,5) size (6,1,6) in Roblox.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.ForceField
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(6,1,6)
part.Position = Vector3.new(-10,5,5)
part.Anc... |
start:
Teleport the player's character to position (46, 34, 36).
result:
local Players = game:GetService("Players")
local function teleportPlayer(player, position)
local character = player.Character
if character then
local rootPart = character:FindFirstChild("HumanoidRootPart")
if rootPart the... |
input_text:
Create a TextButton saying "OK" with PatrickHand font with background Color3.fromRGB(255,128,0) in Roblox GUI.
model:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(1,0,0,50)
ele... |
input:
Create a TextLabel saying "Click Me" with Creepster font with background Color3.fromRGB(128,0,255) in Roblox GUI.
output_text:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0.5,0,0.08... |
query:
Create an anchored orange Plastic Block part sized 4x1x4 at position -2,100,46 in Roblox Luau.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(4,1,4)
part.Position = Vector3.new(-... |
user:
Tween a part's Transparency with Elastic Out easing over 5s in Roblox
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out)
local goal = {Transparency = 0.8}
local tween = TweenService:Create(par... |
task:
Spawn a brown diamondplate block part at (20,20,5) size (6,1,1) in Roblox.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(6,1,1)
part.Position = Vector3.new(20,20,5)
part.Anchored... |
prompt:
Create an unanchored green Wood Block part sized 1x1x1 at position 15,14,-9 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(1,1,1)
part.Position = Vector3.new(15,14,-9)
par... |
task:
Implement a way to a ProximityPrompt on a coin part that says "Collect Coin" with hold duration 1.0s and max distance 7.
output_text:
local part = script.Parent
local prompt = Instance.new("ProximityPrompt")
prompt.ActionText = "Collect Coin"
prompt.ObjectText = "Coin"
prompt.KeyboardKeyCode = Enum.KeyCode.E
pr... |
task:
Create an unanchored pink Plastic Block part sized 10x1x1 at position -22,46,-22 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,100,200)
part.Size = Vector3.new(10,1,1)
part.Position = Vector3.new(-2... |
start:
Create an unanchored black Plastic Block part sized 10x4x10 at position -1,4,21 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(10,4,10)
part.Position = Vector3.new(-1,4,21)
pa... |
input:
Create an unanchored purple Wood Block part sized 12x2x2 at position 33,59,2 in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(12,2,2)
part.Position = Vector3.new(33,59,2)
p... |
start:
Create a TextButton saying "Buy" with Roboto font with background Color3.fromRGB(50,50,80) in Roblox GUI.
answer:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(0.2,0,0,50)
elem.Posit... |
query:
Can you write code to an Instance of type SelectionBox and configure its properties.
finish:
local instance = Instance.new("SelectionBox")
-- Configure properties as needed
instance.Parent = workspace:WaitForChild("TargetPart")
-- To remove later:
-- instance:Destroy() |
begin:
Create an anchored brown Plastic Block part sized 1x2x2 at position 32,58,-39 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(1,2,2)
part.Position = Vector3.new(32,58,-3... |
query:
Apply a BodyVelocity of (-43, 77, -46) to a part.
output_text:
local part = workspace:WaitForChild("PhysicsPart")
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(-43, 77, -46)
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocity.P = 1250
bodyVe... |
task:
Create an anchored pink Wood Block part sized 8x6x2 at position 45,97,18 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,100,200)
part.Size = Vector3.new(8,6,2)
part.Position = Vector3.new(45,97,18)
... |
instruction:
Create a cyan corrodedmetal cylinder at (0,10,-10) size (6,4,2) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.CorrodedMetal
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(6,4,2)
part.Position = Vector3.new(0,10,-1... |
start:
Create an anchored red Plastic Block part sized 4x2x6 at position 40,81,-43 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(4,2,6)
part.Position = Vector3.new(40,81,-... |
input:
Create a TextLabel saying "Submit" with Michroma font with background Color3.fromRGB(255,128,0) in Roblox GUI.
end:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0.2,0,0,60)
elem.Posi... |
prompt:
Create an unanchored brown Wood Block part sized 8x6x1 at position 25,56,35 in Roblox Luau.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(8,6,1)
part.Position = Vector3.new(25,56,35)... |
query:
Tween a part's Position with Quart Out easing over 0.5s in Roblox
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
local goal = {Position = Vector3.new(10,5,0)}
local tween = TweenServic... |
instruction:
Create a round-based game system with 30s rounds and 15s intermission.
response:
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ROUND_TIME = 30
local INTERMISSION = 15
local statusValue = Instance.new("StringValue")
statusValue.Name = "Gam... |
input_text:
Write Roblox Luau code to Apply a BodyVelocity of (-31, 35, -8) to a part.
output:
local part = workspace:WaitForChild("PhysicsPart")
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(-31, 35, -8)
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
body... |
instruction:
Create an anchored brown Plastic Block part sized 10x6x10 at position -33,2,-41 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(10,6,10)
part.Position = Vector3.n... |
prompt:
Create an unanchored yellow Plastic Block part sized 8x4x4 at position -14,16,23 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(8,4,4)
part.Position = Vector3.new(-14... |
instruction:
Script a cylinder with forcefield material colored gray at (20,15,-10) size (6,4,2) in Roblox.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.ForceField
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(6,4,2)
part.Position = Vect... |
input_text:
Create an unanchored purple Wood Block part sized 4x4x10 at position 4,88,8 in Roblox Luau.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(4,4,10)
part.Position = Vector3.new(4,88,8... |
begin:
Create a TextLabel saying "Equip" with Ubuntu font with background Color3.fromRGB(0,0,0) in Roblox GUI.
result:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0,150,0.08,0)
elem.Positi... |
input:
Create an anchored gold Wood Block part sized 6x4x10 at position 48,36,41 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(6,4,10)
part.Position = Vector3.new(48,36,41)... |
begin:
Tween Size with Back Out easing, 2.5s duration, 1 repeats, non-reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 1, false, 0)
local goal = {Size = Vector3.new(8,8,8)... |
input_text:
Tween CFrame with Linear Out easing, 4s duration, 3 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 3, true, 0)
local goal = {CFrame = part.CFrame*CFrame.... |
begin:
Create an anchored red Wood Block part sized 8x1x6 at position 21,83,-35 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(8,1,6)
part.Position = Vector3.new(21,83,-35)
pa... |
task:
Explain and demonstrate Luau variable declarations.
answer:
-- Local variables (recommended)
local name = "Player"
local health = 100
local isAlive = true
local items = {"Sword", "Shield", "Potion"}
-- Type annotations (Luau feature)
local score: number = 0
local playerName: string = "Hero"
local active: boolea... |
prompt:
Tween Transparency with Circular InOut easing, 0.75s duration, 0 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 0, false, 0)
local goal = {Tran... |
start:
Spawn a orange fabric cylinder part at (0,15,20) size (8,2,8) in Roblox.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Fabric
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(8,2,8)
part.Position = Vector3.new(0,15,20)
part.Anchored =... |
input:
Create an unanchored green Wood Block part sized 12x1x2 at position -41,68,43 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(12,1,2)
part.Position = Vector3.new(-41,68,43)
... |
question:
Tween CFrame with Exponential Out easing, 2s duration, 0 repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out, 0, false, 0)
local goal = {CFrame = part.CFr... |
begin:
Create a ProximityPrompt on a item part that says "Pick Up Item" with hold duration 0.2s and max distance 7.
result:
local part = script.Parent
local prompt = Instance.new("ProximityPrompt")
prompt.ActionText = "Pick Up Item"
prompt.ObjectText = "Item"
prompt.KeyboardKeyCode = Enum.KeyCode.F
prompt.HoldDuratio... |
query:
Make a script that a ViewportFrame to display a 3D model preview in a GUI.
output_text:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local viewportFrame ... |
input:
Make a brown CorrodedMetal part with a Highlight effect attached in Roblox Luau.
output:
local part = Instance.new("Part")
part.Material = Enum.Material.CorrodedMetal
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = works... |
user:
Tween Transparency with Quart InOut easing, 0.5s duration, 3 repeats, reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 3, true, 0)
local goal = {Transparency = 0.... |
begin:
Make a purple CorrodedMetal part with a Sparkles effect attached in Roblox Luau.
end:
local part = Instance.new("Part")
part.Material = Enum.Material.CorrodedMetal
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspac... |
task:
Create an anchored gold Plastic Block part sized 4x4x1 at position -44,38,-13 in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(4,4,1)
part.Position = Vector3.new(-44,38... |
instruction:
Tween Reflectance with Exponential InOut easing, 3s duration, 0 repeats, reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 0, true, 0)
local goal = {Reflect... |
query:
Create an anchored red Plastic Block part sized 8x6x6 at position -22,4,34 in Roblox Luau.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(8,6,6)
part.Position = Vector3.new(-22,4,34)
pa... |
instruction:
Make a purple Wood part with a PointLight effect attached in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local... |
input:
Tween Transparency with Elastic InOut easing, 2.5s duration, infinite repeats, reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, -1, true, 0)
local goal = {Transp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.