text stringlengths 54 19.6k |
|---|
question:
Create an anchored orange Plastic Block part sized 12x1x1 at position -28,46,-23 in Roblox Luau.
model:
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,1)
part.Position = Vector3.new(-... |
instruction:
Connect two parts with a PrismaticConstraint.
output:
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_text:
Write client-side code to fire a RemoteEvent called "ShopPurchase" to the server.
response:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("ShopPurchase")
local data = {
action = "request",
timestamp = os.clock()
}
remoteEvent:Fir... |
input_text:
Create an unanchored blue Wood Block part sized 8x4x2 at position -33,20,-8 in Roblox Luau.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,0,255)
part.Size = Vector3.new(8,4,2)
part.Position = Vector3.new(-33,20,... |
input_text:
Give me a script for an ImageLabel inside a ScreenGui with a Roblox asset image.
finish:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local imageLab... |
input:
Tween CFrame with Sine Out easing, 4s duration, 1 repeats, non-reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(4, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 1, false, 0)
local goal = {CFrame = part.CFrame*CFrame.new... |
task:
Create a TextButton saying "Game Over" with Nunito font with background Color3.fromRGB(30,30,40) in Roblox GUI.
completion:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(0,200,0.08,0)... |
question:
Tween a part to position (-22, 2, -12) over 4.1 seconds using Bounce easing (Out).
completion:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("MovingPart")
local tweenInfo = TweenInfo.new(
4.1,
Enum.EasingStyle.Bounce,
Enum.EasingDirection.Out
)
local ... |
user:
Create a TextButton saying "Save" with LuckiestGuy font with background Color3.fromRGB(128,0,255) 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,40)
elem... |
question:
Play a sound with volume 1.0, pitch 1.1, looped=true.
result:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID
sound.Volume = 1.0
sound.PlaybackSpeed = 1.1
sound.Looped = true
sound.Parent = workspace
sound:Play()
-- Sound will loop continuously |
user:
Create an unanchored teal Plastic Block part sized 12x6x4 at position -46,63,1 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,128,128)
part.Size = Vector3.new(12,6,4)
part.Position = Vector3.new(-46,63... |
question:
Create an unanchored purple Wood Block part sized 4x1x2 at position -13,59,-32 in Roblox Luau.
result:
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,1,2)
part.Position = Vector3.new(-13,59... |
user:
Create an anchored green Wood Block part sized 1x4x1 at position 30,90,-1 in Roblox Luau.
output:
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,4,1)
part.Position = Vector3.new(30,90,-1)
part.An... |
instruction:
Tween Transparency with Circular Out easing, 3s duration, 1 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, 1, true, 0)
local goal = {Transparency = 0.... |
start:
Create an anchored purple Wood Block part sized 8x6x8 at position 0,99,5 in Roblox Luau.
output_text:
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(8,6,8)
part.Position = Vector3.new(0,99,5)
pa... |
query:
Tween a part's Transparency with Bounce In easing over 2s in Roblox
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Bounce, Enum.EasingDirection.In)
local goal = {Transparency = 0.8}
local tween = TweenService:Create(par... |
task:
Tween Position with Linear Out easing, 0.25s duration, infinite repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, true, 0)
local goal = {Position = Vector... |
user:
Create an unanchored brown Wood Block part sized 1x2x10 at position -2,7,7 in Roblox Luau.
result:
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(1,2,10)
part.Position = Vector3.new(-2,7,7)
part.... |
prompt:
Tween Transparency with Quad In easing, 2.5s duration, infinite repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, -1, false, 0)
local goal = {Transparency... |
prompt:
Write server code that listens for the "ScoreUpdate" RemoteEvent and validates the sender.
finish:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("ScoreUpdate")
remoteEvent.OnServerEvent:Connect(function(player, data)
if not player or not ... |
begin:
Tween CFrame with Circular In easing, 0.25s duration, 1 repeats, non-reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 1, false, 0)
local goal = {CFrame = part.CFram... |
question:
Can you write code to Tween a part's size to (2, 6, 15) over 2.0 seconds.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("ScalePart")
local tweenInfo = TweenInfo.new(2.0, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local goal = {
Size = Vector... |
start:
Create a TextLabel saying "Yes" with Creepster font with background Color3.fromRGB(0,0,0) in Roblox GUI.
response:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0,150,0.1,0)
elem.Posi... |
user:
Tween a part's Color with Back InOut easing over 5s in Roblox
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Back, Enum.EasingDirection.InOut)
local goal = {Color = Color3.fromRGB(255,0,0)}
local tween = TweenService:C... |
instruction:
Create an unanchored gray Wood Block part sized 12x2x2 at position -30,54,-35 in Roblox Luau.
response:
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(12,2,2)
part.Position = Vector3.new... |
task:
Create an anchored brown Wood Block part sized 4x1x6 at position -14,79,-37 in Roblox Luau.
output_text:
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(4,1,6)
part.Position = Vector3.new(-14,79,-... |
instruction:
Create an unanchored white Plastic Block part sized 12x6x10 at position 29,58,-16 in Roblox Luau.
end:
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(12,6,10)
part.Position = Vector3.new(29,58,... |
query:
Give me a script for a orange wood unionoperation at position (-50, 66, 18) with size (9, 2, 14), anchored=true.
solution:
local part = Instance.new("UnionOperation")
part.Size = Vector3.new(9, 2, 14)
part.Position = Vector3.new(-50, 66, 18)
part.Color = Color3.fromRGB(255, 165, 0)
part.Material = Enum.Material... |
begin:
Create a TextButton saying "Score: 0" centered in Roblox GUI
output:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local elem = Instance.new("TextButton")
... |
instruction:
Create an unanchored orange Plastic Block part sized 8x6x1 at position -39,6,-21 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(8,6,1)
part.Position = Vecto... |
user:
Tween CFrame with Circular In easing, 0.75s duration, 2 repeats, reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 2, true, 0)
local goal = {CFrame = part.CFrame*CFra... |
user:
Tween a part's Position with Quint Out easing over 2s in Roblox
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
local goal = {Position = Vector3.new(10,5,0)}
local tween = TweenService:Cre... |
task:
Create a part that is white, transparency 0.5, CanCollide=false, Reflectance=0.
response:
local part = Instance.new("Part")
part.Color = Color3.fromRGB(255, 255, 255)
part.Transparency = 0.5
part.CanCollide = false
part.Reflectance = 0
part.Anchored = true
part.Parent = workspace |
input_text:
Tween Transparency with Linear In easing, 5s duration, 0 repeats, non-reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
local goal = {Transparency = 0... |
begin:
Create an anchored purple Wood Block part sized 1x2x1 at position 43,97,-49 in Roblox Luau.
end:
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(1,2,1)
part.Position = Vector3.new(43,97,-49)
part... |
instruction:
Create a ScreenGui with a TextLabel that says "Round 1" using font Highway at size 24.
completion:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
scre... |
question:
Create an anchored brown Plastic Block part sized 4x4x10 at position 21,69,-48 in Roblox Luau.
response:
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(4,4,10)
part.Position = Vector3.new(... |
query:
Tween Transparency with Exponential InOut easing, 2s duration, 1 repeats, reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 1, true, 0)
local goal = {Transparency... |
input:
Write a Roblox script to a part that is black, transparency 0, CanCollide=false, Reflectance=0.
output_text:
local part = Instance.new("Part")
part.Color = Color3.fromRGB(0, 0, 0)
part.Transparency = 0
part.CanCollide = false
part.Reflectance = 0
part.Anchored = true
part.Parent = workspace |
input:
Create an anchored orange Wood Block part sized 1x2x6 at position 16,21,5 in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(1,2,6)
part.Position = Vector3.new(16,21,5)
part.... |
begin:
Create a projectile weapon that fires a ball at speed 200 dealing 10 damage on hit.
result:
local tool = script.Parent
local damage = 10
local speed = 200
local debounce = false
tool.Activated:Connect(function()
if debounce then return end
debounce = true
local character = tool.Parent
loca... |
task:
Tween Reflectance with Exponential Out easing, 3s duration, 1 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out, 1, true, 0)
local goal = {Reflectance = 0.9}
lo... |
input:
Create a TextButton saying "Retry" with PatrickHand 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("TextButton")
elem.Size = UDim2.new(0,150,0.08,0)
elem... |
start:
Tween Transparency with Elastic Out easing, 1s duration, 2 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 2, true, 0)
local goal = {Transparency = 0.8}
local... |
input_text:
How do I a projectile weapon that fires a ball at speed 150 dealing 10 damage on hit.
output_text:
local tool = script.Parent
local damage = 10
local speed = 150
local debounce = false
tool.Activated:Connect(function()
if debounce then return end
debounce = true
local character = tool.Par... |
start:
Write server-side code to fire a RemoteEvent called "HealEvent" to a specific player with data.
result:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("HealEvent")
local function fireToPlayer(player, data)
remoteEvent:FireClient(player, dat... |
task:
Tween Position with Quint InOut easing, 1.5s duration, 3 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 3, true, 0)
local goal = {Position = Vector3.new(10,5,... |
input:
Create an unanchored gray Wood Block part sized 8x6x10 at position 44,3,5 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,6,10)
part.Position = Vector3.new(44,3,5)
par... |
input_text:
Create an unanchored cyan Plastic Block part sized 10x4x8 at position -38,26,42 in Roblox Luau.
model:
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(10,4,8)
part.Position = Vector3.new(... |
prompt:
Show me how to use task.spawn, task.defer, and task.delay.
finish:
-- task.spawn: Runs a function immediately in a new thread
task.spawn(function()
print("This runs immediately in a new thread")
task.wait(5)
print("This runs after 5 seconds")
end)
print("This also runs immediately, doesn't wait for... |
task:
Spawn a purple grass ball part at (5,20,0) size (4,6,1) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Grass
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(4,6,1)
part.Position = Vector3.new(5,20,0)
part.Anchored = false
part.P... |
task:
Create an unanchored yellow Wood Block part sized 6x4x2 at position -30,18,-5 in Roblox Luau.
model:
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(6,4,2)
part.Position = Vector3.new(-30,18,-5)
p... |
instruction:
Create a TextLabel saying "Continue" with Creepster font with background Color3.fromRGB(0,0,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,150,0,50)
elem... |
input_text:
Create a purple metal block at (-10,25,0) size (8,6,8) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Metal
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(8,6,8)
part.Position = Vector3.new(-10,25,0)
part.Anchored = fa... |
start:
Create an unanchored green Wood Block part sized 2x4x2 at position 42,26,-19 in Roblox Luau.
output_text:
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(2,4,2)
part.Position = Vector3.new(42,26,-1... |
query:
Create an anchored orange Plastic Block part sized 10x1x8 at position 9,41,2 in Roblox Luau.
end:
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(10,1,8)
part.Position = Vector3.new(9,41,2)
pa... |
user:
Make a block that is red and concrete at (0,10,0) size (6,2,8) in Roblox.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Concrete
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(6,2,8)
part.Position = Vector3.new(0,10,0)
part.Anchored = true
... |
question:
Tween Color with Quart Out easing, 1.5s duration, 3 repeats, non-reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 3, false, 0)
local goal = {Color = Color3.fromRGB(... |
start:
Create an unanchored red Wood Block part sized 6x6x4 at position 47,58,35 in Roblox Luau.
finish:
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(6,6,4)
part.Position = Vector3.new(47,58,35)
part.A... |
prompt:
Tween CFrame with Bounce In easing, 1.5s duration, 0 repeats, reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 0, true, 0)
local goal = {CFrame = part.CFrame*CFr... |
begin:
Create a TextLabel saying "Game Over" with Roboto font with background Color3.fromRGB(30,30,40) 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.2,0,0,50)
e... |
prompt:
Create an anchored purple Wood Block part sized 6x2x2 at position -26,71,-25 in Roblox Luau.
completion:
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(6,2,2)
part.Position = Vector3.new(-26,71... |
user:
Create an anchored gold Wood Block part sized 2x6x2 at position 29,97,5 in Roblox Luau.
response:
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(2,6,2)
part.Position = Vector3.new(29,97,5)
part.A... |
query:
Tween Reflectance with Sine Out easing, 0.25s duration, 3 repeats, reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 3, true, 0)
local goal = {Reflectance = 0.9}
local ... |
input:
Create an anchored orange Wood Block part sized 1x2x8 at position -38,91,-34 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(1,2,8)
part.Position = Vector3.new(-38,91,-34)... |
question:
Create an anchored red Wood Block part sized 4x1x8 at position 42,93,44 in Roblox Luau.
output_text:
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(4,1,8)
part.Position = Vector3.new(42,93,44)
... |
task:
Make a block that is brown and corrodedmetal at (5,50,5) size (8,1,2) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.CorrodedMetal
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(8,1,2)
part.Position = Vector3.new(5,50,5)
part.... |
input_text:
Tween Color with Elastic InOut easing, 0.25s duration, 3 repeats, reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 3, true, 0)
local goal = {Color = Color3... |
input_text:
Create an anchored white Plastic Block part sized 6x1x8 at position -2,73,11 in Roblox Luau.
completion:
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(6,1,8)
part.Position = Vector3.new(-2,73,1... |
user:
Make a gold DiamondPlate part with a SpotLight effect attached in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace... |
question:
Create an unanchored green Plastic Block part sized 10x6x10 at position 10,90,-33 in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(10,6,10)
part.Position = Vector3.new(... |
prompt:
Create an anchored blue Plastic Block part sized 6x2x6 at position -47,12,-21 in Roblox Luau.
model:
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(6,2,6)
part.Position = Vector3.new(-47,12,-2... |
input:
Tween Position with Bounce Out easing, 1s duration, 0 repeats, reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, true, 0)
local goal = {Position = Vector3.new(10,... |
input:
Create an anchored gold Plastic Block part sized 6x6x2 at position 14,73,-42 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,215,0)
part.Size = Vector3.new(6,6,2)
part.Position = Vector3.new(14,... |
instruction:
Create a TextButton saying "Score: 0" with PatrickHand font with background Color3.fromRGB(0,0,0) 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,200,0.0... |
input:
Tween Size with Back Out easing, 0.75s duration, 2 repeats, reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 2, true, 0)
local goal = {Size = Vector3.new(8,8,8)}
local... |
question:
Create a TextLabel saying "Continue" with GothamBold font with background Color3.fromRGB(200,50,50) 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.2,0,0.08,... |
begin:
Create an unanchored red Plastic Block part sized 12x6x8 at position 12,4,-1 in Roblox Luau.
result:
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(12,6,8)
part.Position = Vector3.new(12,4,-1)
... |
user:
Create an unanchored purple Plastic Block part sized 4x6x4 at position 39,22,-40 in Roblox Luau.
finish:
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(4,6,4)
part.Position = Vector3.new(39,22... |
prompt:
Create an anchored gray Plastic Block part sized 12x6x2 at position -37,22,-15 in Roblox Luau.
answer:
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(12,6,2)
part.Position = Vector3.new(-3... |
input:
Spawn a brown smoothplastic block part at (-10,50,-5) size (6,4,6) in Roblox.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.SmoothPlastic
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(6,4,6)
part.Position = Vector3.new(-10,50,-5)
part.A... |
task:
Tween Color with Sine Out easing, 0.75s duration, 1 repeats, reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 1, true, 0)
local goal = {Color = Color3.fromRGB(255,0,0... |
task:
Create a yellow neon meshpart at position (-18, 6, -39) with size (9, 17, 16), anchored=false.
answer:
local part = Instance.new("MeshPart")
part.Size = Vector3.new(9, 17, 16)
part.Position = Vector3.new(-18, 6, -39)
part.Color = Color3.fromRGB(255, 255, 0)
part.Material = Enum.Material.Neon
part.Anchored = fals... |
input:
Create a TextLabel saying "Start" with LuckiestGuy font with background Color3.fromRGB(255,128,0) 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,40)... |
begin:
Tween Size with Back In easing, 3s duration, 3 repeats, non-reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.In, 3, false, 0)
local goal = {Size = Vector3.new(8,8,8)}
loc... |
input_text:
Create an unanchored gold Wood Block part sized 4x2x1 at position 9,42,1 in Roblox Luau.
model:
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(4,2,1)
part.Position = Vector3.new(9,42,1)
par... |
query:
Detect Four key press to reload in Roblox
finish:
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.Four then
print("Four pressed - reload!")
-- Add your reload ... |
instruction:
Implement a way to Tween a GUI frame to slide in from the left side of the screen.
end:
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("Scr... |
begin:
Create a ProximityPrompt on a sign part that says "Read Sign" with hold duration 0.6s and max distance 15.
output:
local part = script.Parent
local prompt = Instance.new("ProximityPrompt")
prompt.ActionText = "Read Sign"
prompt.ObjectText = "Sign"
prompt.KeyboardKeyCode = Enum.KeyCode.E
prompt.HoldDuration = 0... |
query:
Tween CFrame with Bounce InOut easing, 0.25s duration, 3 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 3, true, 0)
local goal = {CFrame = part.CFrame*CF... |
prompt:
Create a TextLabel saying "Undo" with Roboto font with background Color3.fromRGB(0,0,0) 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.3,0,0,50)
elem.Pos... |
query:
Tween Color with Back In easing, 0.5s duration, 2 repeats, non-reversing in Roblox.
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.In, 2, false, 0)
local goal = {Color = Color3.fromRGB(255,0,0... |
prompt:
Create an unanchored blue Plastic Block part sized 10x6x1 at position 31,55,38 in Roblox Luau.
response:
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(10,6,1)
part.Position = Vector3.new(31,5... |
input_text:
Make a ball that is brown and glass at (-5,5,10) size (8,4,6) in Roblox.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Glass
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(8,4,6)
part.Position = Vector3.new(-5,5,10)
part.Anchored =... |
start:
Detect when the player presses the One key using UserInputService.
finish:
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.One then
print("One k... |
query:
Tween Position with Elastic InOut easing, 1.5s duration, 0 repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 0, true, 0)
local goal = {Position = Vector3.n... |
question:
Create an unanchored purple Plastic Block part sized 10x2x1 at position 22,83,36 in Roblox Luau.
response:
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(10,2,1)
part.Position = Vector3.ne... |
prompt:
Create an unanchored green Wood Block part sized 10x2x6 at position -1,55,-10 in Roblox Luau.
completion:
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(10,2,6)
part.Position = Vector3.new(-1,55,... |
question:
Create an unanchored green Wood Block part sized 4x1x6 at position -49,65,43 in Roblox Luau.
output_text:
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(4,1,6)
part.Position = Vector3.new(-49,6... |
task:
Create a lime marble block at (0,1,10) size (1,4,1) in Roblox.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Marble
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(1,4,1)
part.Position = Vector3.new(0,1,10)
part.Anchored = true
part.Parent = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.