text stringlengths 54 19.6k |
|---|
start:
Create a yellow diamondplate ball at (0,25,0) size (1,4,8) in Roblox.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(1,4,8)
part.Position = Vector3.new(0,25,0)
part.Anchored = fal... |
begin:
Tween Transparency with Sine Out easing, 1.5s duration, 0 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, true, 0)
local goal = {Transparency = 0.8}
local twe... |
start:
Create a brown wood ball at (10,50,5) size (6,2,6) in Roblox.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(6,2,6)
part.Position = Vector3.new(10,50,5)
part.Anchored = true
part.Par... |
prompt:
Tween Transparency with Circular In easing, 5s duration, infinite repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Circular, Enum.EasingDirection.In, -1, false, 0)
local goal = {Transparency ... |
input:
Can you write code to Tween a part's size to (2, 4, 17) over 1.0 seconds.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("ScalePart")
local tweenInfo = TweenInfo.new(1.0, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local goal = {
Size = Vector3.n... |
prompt:
Create an unanchored white Plastic Block part sized 2x4x10 at position -2,84,-24 in Roblox Luau.
solution:
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(2,4,10)
part.Position = Vector3.new(-2,84,-2... |
query:
Create an anchored black Plastic Block part sized 8x1x10 at position 47,18,11 in Roblox Luau.
output_text:
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(8,1,10)
part.Position = Vector3.new(47,18,11)... |
task:
Create an unanchored gray Wood Block part sized 10x1x10 at position 9,47,-7 in Roblox Luau.
output:
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(10,1,10)
part.Position = Vector3.new(9,47,-7)
... |
user:
What's the code to a smooth third-person camera that follows the player.
solution:
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
local OFFSET = Vector3.new(0, 8, 12)
local SMOOTHNESS = 0.2
p... |
prompt:
Create an unanchored cyan Plastic Block part sized 2x1x2 at position 13,22,-41 in Roblox Luau.
answer:
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(2,1,2)
part.Position = Vector3.new(13,22... |
begin:
Create an anchored gold Wood Block part sized 4x2x2 at position 9,58,-31 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,2)
part.Position = Vector3.new(9,58,-31)
part.A... |
start:
Tween CFrame with Bounce Out easing, 1s duration, 3 repeats, reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 3, true, 0)
local goal = {CFrame = part.CFrame*CFrame.new(... |
begin:
Create a yellow neon part with Highlight effect in Roblox
output_text:
local part = Instance.new("Part")
part.Material = Enum.Material.Neon
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
local fx = Instance.n... |
task:
Create an anchored white Wood Block part sized 4x4x8 at position 39,57,-17 in Roblox Luau.
answer:
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(4,4,8)
part.Position = Vector3.new(39,57,-17)
part.Anchor... |
prompt:
Tween Size with Quad Out easing, 0.25s duration, 2 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 2, true, 0)
local goal = {Size = Vector3.new(8,8,8)}
local... |
query:
Create a TextLabel saying "Click Me" with GothamBold font with background Color3.fromRGB(0,0,0) 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.3,0,0.1,0)
elem.... |
begin:
Tween a part's CFrame with Cubic In easing over 0.5s in Roblox
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.In)
local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)}
local tween = TweenS... |
input_text:
Tween Size with Back In easing, 2.5s duration, 0 repeats, non-reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Back, Enum.EasingDirection.In, 0, false, 0)
local goal = {Size = Vector3.new(8,8,8)}... |
input_text:
Create an unanchored white Plastic Block part sized 2x6x8 at position 46,27,2 in Roblox Luau.
answer:
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(2,6,8)
part.Position = Vector3.new(46,27,2)
p... |
query:
Create an anchored purple Plastic Block part sized 8x1x8 at position -16,64,-32 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(8,1,8)
part.Position = Vector3.new(-16,64,-... |
input_text:
Tween Reflectance with Cubic InOut easing, 3s duration, infinite repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, -1, false, 0)
local goal = {Reflectanc... |
question:
Create an unanchored pink Wood Block part sized 8x2x4 at position 13,65,-22 in Roblox Luau.
answer:
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,2,4)
part.Position = Vector3.new(13,65,-... |
prompt:
Tween Color with Exponential In easing, 3s duration, 3 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 3, true, 0)
local goal = {Color = Color3.fromRGB(255,... |
query:
Tween Reflectance with Circular InOut easing, 1s duration, 2 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 2, false, 0)
local goal = {Reflectance ... |
instruction:
Create a pink granite part with Highlight effect in Roblox
model:
local part = Instance.new("Part")
part.Material = Enum.Material.Granite
part.Color = Color3.fromRGB(255,100,200)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = Inst... |
query:
Tween Reflectance with Linear InOut easing, 0.5s duration, 1 repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 1, true, 0)
local goal = {Reflectance = 0.9}
... |
question:
Create an anchored pink Wood Block part sized 8x1x8 at position 13,10,22 in Roblox Luau.
end:
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,1,8)
part.Position = Vector3.new(13,10,22)
par... |
task:
Create a TextButton saying "Next" with Ubuntu font with background Color3.fromRGB(0,120,255) in Roblox GUI.
output_text:
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)
el... |
input_text:
Create a TextButton saying "Ready?" with PatrickHand 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("TextButton")
elem.Size = UDim2.new(0.3... |
query:
Spawn a cyan diamondplate block part at (-5,1,-10) size (2,4,8) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(2,4,8)
part.Position = Vector3.new(-5,1,-10)
part.An... |
question:
Create an anchored gold Wood Block part sized 2x4x6 at position 44,31,17 in Roblox Luau.
finish:
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,4,6)
part.Position = Vector3.new(44,31,17)
pa... |
input_text:
Create an anchored purple Wood Block part sized 12x6x2 at position 35,38,3 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(12,6,2)
part.Position = Vector3.new(35... |
instruction:
Create an anchored gray Plastic Block part sized 10x1x8 at position -22,38,27 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(10,1,8)
part.Position = Vector3.new... |
input:
Create a TextLabel saying "Cancel" with FredokaOne font with background Color3.fromRGB(50,50,80) 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.2,0,0,50)
ele... |
input_text:
Create an unanchored cyan Plastic Block part sized 2x1x6 at position -44,65,-22 in Roblox Luau.
solution:
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(2,1,6)
part.Position = Vector3.ne... |
task:
Create an anchored black Plastic Block part sized 12x2x8 at position 26,30,-21 in Roblox Luau.
output_text:
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,2,8)
part.Position = Vector3.new(26,30,-21... |
user:
Tween a part's CFrame with Bounce InOut easing over 5s in Roblox
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut)
local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)}
local tween = Twe... |
input_text:
Create a TextLabel saying "Shop" with Creepster font with background Color3.fromRGB(30,30,40) 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,200,0.08,0)
e... |
input_text:
Create an anchored blue Wood Block part sized 1x6x2 at position -42,14,36 in Roblox Luau.
output:
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(1,6,2)
part.Position = Vector3.new(-42,14,36)
... |
query:
Create a TextButton saying "Welcome!" with Nunito font with background Color3.fromRGB(0,0,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.08,0)
elem.Posi... |
input:
Create an unanchored gray Plastic Block part sized 2x2x4 at position -39,78,-34 in Roblox Luau.
output:
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(2,2,4)
part.Position = Vector3.new(-39... |
user:
Create a ScreenGui with a TextLabel that says "Round 1" using font Bodoni at size 48.
solution:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
screenGui.Pare... |
task:
Tween Reflectance with Bounce Out easing, 0.25s duration, 0 repeats, non-reversing in Roblox.
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, false, 0)
local goal = {Reflectance = 0.9... |
input:
Create an unanchored cyan Wood Block part sized 2x4x8 at position 7,53,30 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,255)
part.Size = Vector3.new(2,4,8)
part.Position = Vector3.new(7,53,30)
part.... |
task:
Create a TextLabel saying "Menu" with Nunito 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("TextLabel")
elem.Size = UDim2.new(0,200,0.08,0)
elem.Position... |
user:
Create an unanchored gold Plastic Block part sized 2x1x10 at position -25,3,-40 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(2,1,10)
part.Position = Vector3.new(... |
start:
Create an unanchored green Wood Block part sized 12x4x10 at position 49,60,33 in Roblox Luau.
end:
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,4,10)
part.Position = Vector3.new(49,60,33)
par... |
start:
Create a ProximityPrompt on a sign part that says "Read Sign" with hold duration 0.9s and max distance 15.
finish:
local part = script.Parent
local prompt = Instance.new("ProximityPrompt")
prompt.ActionText = "Read Sign"
prompt.ObjectText = "Sign"
prompt.KeyboardKeyCode = Enum.KeyCode.E
prompt.HoldDuration = 0... |
start:
Tween a part's Size with Sine In easing over 2s in Roblox
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.In)
local goal = {Size = Vector3.new(8,8,8)}
local tween = TweenService:Create(part, info... |
task:
Create an unanchored red Plastic Block part sized 1x2x2 at position -50,98,-30 in Roblox Luau.
response:
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(1,2,2)
part.Position = Vector3.new(-50,98,... |
begin:
Create an unanchored pink Wood Block part sized 6x6x1 at position -22,38,-18 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,100,200)
part.Size = Vector3.new(6,6,1)
part.Position = Vector3.new(-22,... |
start:
Create a white fabric cylinder at (-10,5,10) size (1,2,8) in Roblox.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Fabric
part.Color = Color3.new(1,1,1)
part.Size = Vector3.new(1,2,8)
part.Position = Vector3.new(-10,5,10)
part.Anchored = true
part.Pa... |
input:
Detect Minus key press to open inventory in Roblox
solution:
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.Minus then
print("Minus pressed - open inventory!")
... |
prompt:
Can you write code to Play a sound with volume 0.9, pitch 1.8, looped=true.
completion:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID
sound.Volume = 0.9
sound.PlaybackSpeed = 1.8
sound.Looped = true
sound.Parent = workspace
sound:Play()
-- Sound will... |
start:
Script a block with plastic material colored yellow at (10,5,5) size (8,2,6) in Roblox.
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,2,6)
part.Position = Vector3.new(10,5,5)
part.... |
begin:
Create an anchored green Wood Block part sized 6x2x2 at position -3,24,40 in Roblox Luau.
model:
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(6,2,2)
part.Position = Vector3.new(-3,24,40)
part.An... |
instruction:
Detect W key press to activate a power in Roblox
result:
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.W then
print("W pressed - activate a power!")
--... |
query:
Create an anchored pink Wood Block part sized 10x2x2 at position -10,90,19 in Roblox Luau.
model:
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(10,2,2)
part.Position = Vector3.new(-10,90,19)
... |
prompt:
Create a rounded Frame with corner radius 4 and a stroke thickness of 4.
answer:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local frame = Instance.new... |
start:
Create an unanchored gold Plastic Block part sized 12x6x1 at position -16,9,22 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(12,6,1)
part.Position = Vector3.new(-16,9,22... |
task:
Create a TextButton saying "Resume" with PatrickHand font with background Color3.fromRGB(40,40,40) in Roblox GUI.
output_text:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(0,200,0,40... |
begin:
Create an anchored orange Plastic Block part sized 12x6x10 at position -21,78,-22 in Roblox Luau.
result:
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,6,10)
part.Position = Vector3.new(-... |
begin:
Create a pink forcefield meshpart at position (-30, 94, 6) with size (11, 5, 9), anchored=false.
output_text:
local part = Instance.new("MeshPart")
part.Size = Vector3.new(11, 5, 9)
part.Position = Vector3.new(-30, 94, 6)
part.Color = Color3.fromRGB(255, 105, 180)
part.Material = Enum.Material.ForceField
part.A... |
start:
Create a TextLabel saying "Click Me" with LuckiestGuy font with background Color3.fromRGB(128,0,255) 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,200,0,40)... |
instruction:
Create an anchored brown Plastic Block part sized 2x1x4 at position 8,53,6 in Roblox Luau.
output_text:
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(2,1,4)
part.Position = Vector3.new... |
prompt:
Tween Position with Quart InOut easing, 0.25s duration, 1 repeats, reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 1, true, 0)
local goal = {Position = Vector... |
question:
Create an anchored gold Wood Block part sized 6x6x10 at position 32,25,26 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,215,0)
part.Size = Vector3.new(6,6,10)
part.Position = Vector3.new(32,25... |
input_text:
Create an anchored gold Wood Block part sized 1x6x1 at position 49,12,-41 in Roblox Luau.
output:
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(1,6,1)
part.Position = Vector3.new(49,12,-41... |
input:
Tween Color with Back In easing, 2.5s duration, 3 repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Back, Enum.EasingDirection.In, 3, true, 0)
local goal = {Color = Color3.fromRGB(255,0,0)}
lo... |
prompt:
Tween Size with Back InOut easing, 1s duration, 1 repeats, reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 1, true, 0)
local goal = {Size = Vector3.new(8,8,8)}
loca... |
user:
Tween Transparency with Cubic In easing, 0.25s duration, infinite repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, -1, false, 0)
local goal = {Transparency = ... |
start:
Script for a black marble unionoperation at position (45, 19, -20) with size (18, 14, 20), anchored=true.
model:
local part = Instance.new("UnionOperation")
part.Size = Vector3.new(18, 14, 20)
part.Position = Vector3.new(45, 19, -20)
part.Color = Color3.fromRGB(0, 0, 0)
part.Material = Enum.Material.Marble
part... |
user:
Create a TextLabel saying "Yes" with LuckiestGuy 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(1,0,0,60)
elem.Positi... |
prompt:
Create an unanchored blue Wood Block part sized 1x1x4 at position 42,29,-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(0,0,255)
part.Size = Vector3.new(1,1,4)
part.Position = Vector3.new(42,29,-4... |
input_text:
Create an unanchored pink Wood Block part sized 1x6x10 at position 1,86,-50 in Roblox Luau.
solution:
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(1,6,10)
part.Position = Vector3.new(1,... |
begin:
Tween Position with Circular InOut easing, 1.5s duration, 2 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 2, true, 0)
local goal = {Position = Vector3.... |
instruction:
Tween CFrame with Elastic In easing, 0.5s duration, 3 repeats, non-reversing in Roblox.
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 3, false, 0)
local goal = {CFrame = part.CFr... |
question:
Tween CFrame with Quint In easing, 2.5s duration, 0 repeats, non-reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 0, false, 0)
local goal = {CFrame = part.CFrame*CFr... |
instruction:
Create a orange fabric block at (5,25,10) size (4,6,4) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Fabric
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(4,6,4)
part.Position = Vector3.new(5,25,10)
part.Anchored = f... |
start:
Create an unanchored cyan Wood Block part sized 12x2x10 at position 16,42,28 in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(12,2,10)
part.Position = Vector3.new(16,42,28)... |
task:
Tween Color with Linear InOut easing, 2s duration, 3 repeats, non-reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Color = Color3.fromRGB(25... |
task:
Create a TextLabel saying "Buy" with PatrickHand font with background Color3.fromRGB(50,50,80) 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,150,0,60)
ele... |
question:
Tween a part's CFrame with Linear Out easing over 1s in Roblox
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)}
local tween =... |
input:
Create an anchored blue Plastic Block part sized 8x2x6 at position -26,77,15 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(8,2,6)
part.Position = Vector3.new(-26,77,15)
... |
query:
Create an anchored purple Wood Block part sized 12x2x10 at position -28,71,26 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,10)
part.Position = Vector3.new(-28,71,2... |
start:
Create an unanchored white Wood Block part sized 10x6x6 at position -5,94,-46 in Roblox Luau.
answer:
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(10,6,6)
part.Position = Vector3.new(-5,94,-46)
part.A... |
start:
Tween a part's Color with Elastic Out easing over 5s in Roblox
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out)
local goal = {Color = Color3.fromRGB(255,0,0)}
local tween = TweenService:Cr... |
task:
Create an anchored black Wood Block part sized 12x2x8 at position -14,74,-8 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(12,2,8)
part.Position = Vector3.new(-14,74,-8)
part.Anch... |
begin:
Tween a part's color to RGB(97, 146, 182) over 2.7 seconds.
result:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("ColorPart")
local tweenInfo = TweenInfo.new(2.7, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local goal = {
Color = Color3.fromRGB(97, 146, ... |
start:
Tween Size with Quint Out easing, 3s duration, 2 repeats, non-reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 2, false, 0)
local goal = {Size = Vector3.new(8,8,8)}
loca... |
begin:
Create an anchored gold Wood Block part sized 8x4x6 at position 32,42,0 in Roblox Luau.
solution:
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(8,4,6)
part.Position = Vector3.new(32,42,0)
part.... |
input_text:
Create a TextLabel saying "Submit" with Ubuntu 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("TextLabel")
elem.Size = UDim2.new(0,200,0,50)
ele... |
query:
Create an unanchored black Plastic Block part sized 2x2x8 at position 21,38,19 in Roblox Luau.
end:
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(2,2,8)
part.Position = Vector3.new(21,38,19)
part.An... |
task:
Make a pink CorrodedMetal part with a Fire effect attached in Roblox Luau.
response:
local part = Instance.new("Part")
part.Material = Enum.Material.CorrodedMetal
part.Color = Color3.fromRGB(255,100,200)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspac... |
start:
Tween Transparency with Quart In easing, 5s duration, 3 repeats, non-reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 3, false, 0)
local goal = {Transparency = 0.8}
... |
instruction:
Create an unanchored gray Wood Block part sized 2x6x10 at position 16,12,34 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(2,6,10)
part.Position = Vector3.new(1... |
begin:
Make a cyan DiamondPlate part with a Highlight effect attached in Roblox Luau.
end:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
l... |
task:
Write Roblox Luau code to Add a ColorCorrectionEffect post-processing effect to the game's Lighting.
result:
local Lighting = game:GetService("Lighting")
local effect = Instance.new("ColorCorrectionEffect")
effect.Brightness = 0.05
effect.Contrast = 0.1
effect.Saturation = 0.2
effect.Parent = Lighting |
input:
Create an unanchored green Wood Block part sized 10x6x1 at position 40,49,-43 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(10,6,1)
part.Position = Vector3.new(40,49,-43)
... |
task:
Tween CFrame with Exponential In easing, 2s duration, 3 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 3, false, 0)
local goal = {CFrame = part.CFra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.