text stringlengths 54 19.6k |
|---|
input_text:
Tween a part's Reflectance with Exponential InOut easing over 1s in Roblox
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut)
local goal = {Reflectance = 0.9}
local tween = TweenS... |
instruction:
Create a TextLabel saying "Buy" with Creepster font with background Color3.fromRGB(200,50,50) 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(1,0,0,50)... |
prompt:
Create a TextLabel saying "Pause" with Creepster font with background Color3.fromRGB(200,50,50) 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.5,0,0.1,0)
elem... |
task:
Tween Size with Elastic InOut easing, 4s duration, 0 repeats, reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(4, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 0, true, 0)
local goal = {Size = Vector3.new(8,8,8)}
... |
start:
Create an unanchored purple Plastic Block part sized 12x6x6 at position 21,65,33 in Roblox Luau.
output_text:
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(12,6,6)
part.Position = Vector3.ne... |
begin:
Script a ball with cobblestone material colored magenta at (-5,10,-10) size (2,1,1) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Cobblestone
part.Color = Color3.fromRGB(255,0,255)
part.Size = Vector3.new(2,1,1)
part.Position = Vector3.new(-... |
begin:
Create a green forcefield cylinder at (-10,1,10) size (1,4,2) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.ForceField
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(1,4,2)
part.Position = Vector3.new(-10,1,10)
part.Ancho... |
question:
Make a cylinder that is teal and fabric at (0,15,20) size (1,1,1) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Fabric
part.Color = Color3.fromRGB(0,128,128)
part.Size = Vector3.new(1,1,1)
part.Position = Vector3.new(0,15,20)
part.A... |
user:
Create an unanchored gray Plastic Block part sized 1x2x8 at position -24,74,43 in Roblox Luau.
solution:
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(1,2,8)
part.Position = Vector3.new(-24... |
begin:
Tween CFrame with Sine InOut easing, 1s duration, 3 repeats, non-reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {CFrame = part.CFrame*CFrame.... |
start:
Tween Reflectance with Circular InOut easing, 1.5s duration, infinite repeats, reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, -1, true, 0)
local goal = {Reflect... |
prompt:
Script for 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("ScreenGui")
scre... |
instruction:
What's the code to a clickable TextButton that says "Quit" and prints a message when clicked.
output_text:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player... |
user:
Tween a part's Transparency with Sine InOut easing over 2s in Roblox
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local goal = {Transparency = 0.8}
local tween = TweenService:Create(part, i... |
query:
Create a TextLabel saying "Help" with RobotoMono font with background Color3.fromRGB(40,40,40) 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.Posit... |
question:
Create an anchored pink Wood Block part sized 12x6x2 at position -32,80,33 in Roblox Luau.
output:
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(12,6,2)
part.Position = Vector3.new(-32,80,... |
question:
Create an unanchored gold Plastic Block part sized 10x4x4 at position 40,22,12 in Roblox Luau.
output:
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(10,4,4)
part.Position = Vector3.new(40... |
input_text:
Create an unanchored green Plastic Block part sized 1x4x4 at position 50,77,-50 in Roblox Luau.
end:
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(1,4,4)
part.Position = Vector3.new(50,77... |
task:
Create an anchored cyan Wood Block part sized 12x6x4 at position 39,25,-25 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,255)
part.Size = Vector3.new(12,6,4)
part.Position = Vector3.new(39,25,-25)
part.... |
start:
Create an anchored cyan Wood Block part sized 12x4x8 at position 45,93,-33 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,255)
part.Size = Vector3.new(12,4,8)
part.Position = Vector3.new(45,93,-33)
p... |
query:
How do I use AlignOrientation in Roblox? It aligns rotation to target.
end:
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("AlignOrientation")
constraint.A... |
instruction:
Create an unanchored cyan Wood Block part sized 6x2x2 at position -50,56,-42 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,255)
part.Size = Vector3.new(6,2,2)
part.Position = Vector3.new(-50,56... |
prompt:
Create an unanchored black Wood Block part sized 12x6x10 at position -31,34,-22 in Roblox Luau.
model:
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,6,10)
part.Position = Vector3.new(-31,34,-22)
pa... |
input_text:
Create a TextLabel saying "Score: 0" with PatrickHand font with background Color3.fromRGB(0,0,0) in Roblox GUI.
completion:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0,200,0,... |
start:
Create an unanchored gold Plastic Block part sized 8x1x10 at position -36,67,-33 in Roblox Luau.
answer:
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(8,1,10)
part.Position = Vector3.new(-36... |
prompt:
Tween a part's Color with Circular In easing over 5s in Roblox
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Circular, Enum.EasingDirection.In)
local goal = {Color = Color3.fromRGB(255,0,0)}
local tween = TweenService:C... |
input:
Create a TextButton saying "Help" with Bangers 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("TextButton")
elem.Size = UDim2.new(0.3,0,0,60)
ele... |
input:
Play a sound with volume 0.3, pitch 0.6, looped=false.
model:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID
sound.Volume = 0.3
sound.PlaybackSpeed = 0.6
sound.Looped = false
sound.Parent = workspace
sound:Play()
-- Clean up when done
if not sound.Loop... |
input:
Play a sound with volume 0.4, pitch 1.9, looped=true.
output_text:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID
sound.Volume = 0.4
sound.PlaybackSpeed = 1.9
sound.Looped = true
sound.Parent = workspace
sound:Play()
-- Sound will loop continuously |
begin:
Create a TextButton saying "Menu" with Ubuntu 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("TextButton")
elem.Size = UDim2.new(0,150,0,40)
ele... |
begin:
Create a part that is silver, transparency 0.25, CanCollide=true, Reflectance=0.5.
output_text:
local part = Instance.new("Part")
part.Color = Color3.fromRGB(192, 192, 192)
part.Transparency = 0.25
part.CanCollide = true
part.Reflectance = 0.5
part.Anchored = true
part.Parent = workspace |
user:
Tween Position with Linear In easing, 5s duration, 0 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, true, 0)
local goal = {Position = Vector3.new(10,5,0)}
loca... |
query:
Script a ball with wood material colored gold at (-5,50,5) size (1,6,8) in Roblox.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(1,6,8)
part.Position = Vector3.new(-5,50,5)
part.Anc... |
query:
Create an anchored black Plastic Block part sized 1x6x8 at position 24,16,0 in Roblox Luau.
completion:
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(1,6,8)
part.Position = Vector3.new(24,16,0)
part... |
question:
Write Roblox Luau code to Encode a Lua table to JSON and decode JSON back to a table using HttpService.
result:
local HttpService = game:GetService("HttpService")
-- Encode table to JSON string
local data = {
name = "Player1",
score = 100,
items = {"Sword", "Shield"}
}
local jsonString = HttpSer... |
start:
Tween a part's CFrame with Linear InOut easing over 3s in Roblox
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)}
local tween ... |
task:
Create an unanchored orange Plastic Block part sized 1x2x1 at position 19,97,-45 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(1,2,1)
part.Position = Vector3.new(19,97... |
user:
Create a TextBox saying "Score: 0" top-left in Roblox 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 elem = Instance.new("TextBox")
el... |
start:
Tween a part's color to RGB(173, 89, 237) over 3.0 seconds.
end:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("ColorPart")
local tweenInfo = TweenInfo.new(3.0, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local goal = {
Color = Color3.fromRGB(173, 89, 237... |
query:
Create an anchored gray Plastic Block part sized 2x2x10 at position -13,60,34 in Roblox Luau.
end:
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,10)
part.Position = Vector3.new(-13,60,... |
instruction:
Tween Color with Elastic InOut easing, 4s duration, 3 repeats, non-reversing in Roblox.
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(4, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Color = Color3.f... |
task:
Create an anchored black Wood Block part sized 12x1x6 at position 8,47,-8 in Roblox Luau.
solution:
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,1,6)
part.Position = Vector3.new(8,47,-8)
part.Anchor... |
query:
Create an anchored black Wood Block part sized 2x2x8 at position 8,48,42 in Roblox Luau.
output:
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(2,2,8)
part.Position = Vector3.new(8,48,42)
part.Anchored ... |
input_text:
Create an unanchored cyan Wood Block part sized 1x4x2 at position 34,93,-31 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,255)
part.Size = Vector3.new(1,4,2)
part.Position = Vector3.new(34,93,-... |
start:
Tween Size with Bounce Out easing, 5s duration, 0 repeats, non-reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, false, 0)
local goal = {Size = Vector3.new(8,8,8)... |
task:
Create a TextLabel saying "Welcome!" with Ubuntu font with background Color3.fromRGB(30,30,40) 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.08,0)
elem.P... |
start:
Create a part that is orange, transparency 0.75, CanCollide=false, Reflectance=0.
answer:
local part = Instance.new("Part")
part.Color = Color3.fromRGB(255, 165, 0)
part.Transparency = 0.75
part.CanCollide = false
part.Reflectance = 0
part.Anchored = true
part.Parent = workspace |
user:
Create a ModuleScript that implements a simple inventory system.
output_text:
-- ModuleScript in ReplicatedStorage
local InventoryModule = {}
local inventories = {}
function InventoryModule.create(player)
inventories[player.UserId] = {
items = {},
maxSlots = 20
}
end
function Inventory... |
input:
Create an anchored blue Wood Block part sized 12x4x2 at position -5,23,-23 in Roblox Luau.
finish:
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(12,4,2)
part.Position = Vector3.new(-5,23,-23)
par... |
task:
Create a TextLabel saying "Welcome!" centered in Roblox GUI
answer:
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("TextLabel")
ele... |
start:
Make a black DiamondPlate part with a Sparkles effect attached in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
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
loca... |
begin:
Create an anchored black Wood Block part sized 2x1x4 at position 3,53,-26 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(2,1,4)
part.Position = Vector3.new(3,53,-26)
part.Anchore... |
user:
Make a brown DiamondPlate part with a Sparkles effect attached in Roblox Luau.
result:
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 = workspace... |
question:
Create an anchored blue Plastic Block part sized 12x2x2 at position -9,96,3 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,2,2)
part.Position = Vector3.new(-9,96,3)
p... |
start:
Tween Color with Quad Out easing, 0.25s duration, 3 repeats, non-reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 3, false, 0)
local goal = {Color = Color3.fromRGB(255... |
task:
Tween a part's Reflectance with Quart In easing over 2s in Roblox
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.In)
local goal = {Reflectance = 0.9}
local tween = TweenService:Create(part, info... |
input:
Tween Size with Sine In easing, 4s duration, 0 repeats, reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(4, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, true, 0)
local goal = {Size = Vector3.new(8,8,8)}
local tween... |
start:
Create a TextButton saying "Submit" with Nunito 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(0,200,0,60)
elem.Po... |
input_text:
Create an anchored pink Plastic Block part sized 2x6x10 at position -16,73,-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,100,200)
part.Size = Vector3.new(2,6,10)
part.Position = Vector3.ne... |
user:
Tween a part's Reflectance with Sine In easing over 3s in Roblox
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.In)
local goal = {Reflectance = 0.9}
local tween = TweenService:Create(part, i... |
query:
Make a block that is green and concrete at (10,50,-5) size (4,1,2) in Roblox.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Concrete
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(4,1,2)
part.Position = Vector3.new(10,50,-5)
part.Anchored ... |
question:
Script a block with diamondplate material colored gray at (20,5,20) size (4,2,4) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(4,2,4)
part.Position = Vector3... |
instruction:
Implement a way to a ProximityPrompt on a item part that says "Pick Up Item" with hold duration 0.2s and max distance 7.
end:
local part = script.Parent
local prompt = Instance.new("ProximityPrompt")
prompt.ActionText = "Pick Up Item"
prompt.ObjectText = "Item"
prompt.KeyboardKeyCode = Enum.KeyCode.F
pro... |
input:
Create a TextButton saying "Start" with PatrickHand 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.08,0)
e... |
input:
Create a TextLabel saying "Exit" with RobotoMono font with background Color3.fromRGB(50,200,50) 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.1,0)
ele... |
task:
Create an unanchored brown Wood Block part sized 6x4x1 at position -13,50,16 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(6,4,1)
part.Position = Vector3.new(-13,50,16)
p... |
instruction:
Create an anchored black Wood Block part sized 4x4x10 at position -31,96,38 in Roblox Luau.
response:
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(4,4,10)
part.Position = Vector3.new(-31,96,38)
... |
question:
Create an unanchored green Plastic Block part sized 6x6x4 at position -42,61,6 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,0)
part.Size = Vector3.new(6,6,4)
part.Position = Vector3.new(-42,61... |
prompt:
Make a pink Plastic part with a Fire effect attached in Roblox Luau.
output_text:
local part = Instance.new("Part")
part.Material = Enum.Material.Plastic
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... |
task:
Create a TextLabel saying "Close" with Bangers font with background Color3.fromRGB(0,120,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.2,0,0,60)
elem.Posi... |
query:
Create a TextButton saying "Play" with PatrickHand font with background Color3.fromRGB(30,30,40) in Roblox GUI.
end:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(0,150,0,40)
elem.Po... |
prompt:
Create an unanchored purple Wood Block part sized 12x1x10 at position -3,47,-48 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(12,1,10)
part.Position = Vector3.new(-3,47... |
input:
Create a yellow pebble part with Sparkles effect in Roblox
model:
local part = Instance.new("Part")
part.Material = Enum.Material.Pebble
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.new(... |
question:
Create a TextLabel saying "Help" with FredokaOne font with background Color3.fromRGB(50,50,80) 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,40)
elem... |
task:
Tween Position with Elastic In 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.Elastic, Enum.EasingDirection.In, 0, true, 0)
local goal = {Position = Vector3.new(10,5,0... |
question:
Create an unanchored black Wood Block part sized 2x2x4 at position 45,77,33 in Roblox Luau.
solution:
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(2,2,4)
part.Position = Vector3.new(45,77,33)
part.... |
input_text:
Create a TextButton saying "Shop" with LuckiestGuy font with background Color3.fromRGB(255,128,0) 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.3,0,... |
input_text:
Create an anchored orange Wood Block part sized 6x6x1 at position 31,58,35 in Roblox Luau.
result:
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(6,6,1)
part.Position = Vector3.new(31,58,35... |
start:
Tween Position with Cubic InOut easing, 5s duration, 3 repeats, reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 3, true, 0)
local goal = {Position = Vector3.new(10,... |
input:
Create a purple smoothplastic part with Smoke effect in Roblox
answer:
local part = Instance.new("Part")
part.Material = Enum.Material.SmoothPlastic
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 fx = I... |
input:
Create an unanchored red Plastic Block part sized 10x1x4 at position -46,14,26 in Roblox Luau.
finish:
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(10,1,4)
part.Position = Vector3.new(-46,14,... |
start:
Tween a part to position (2, 24, -1) over 3.3 seconds using Bounce easing (In).
completion:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("MovingPart")
local tweenInfo = TweenInfo.new(
3.3,
Enum.EasingStyle.Bounce,
Enum.EasingDirection.In
)
local goal = ... |
start:
Set the game lighting to sunset (ClockTime=18) with appropriate ambient.
result:
local Lighting = game:GetService("Lighting")
Lighting.ClockTime = 18
Lighting.Brightness = 2
Lighting.Ambient = Color3.fromRGB(100, 100, 120)
Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
Lighting.FogEnd = 1000
Lighting.... |
start:
Connect two parts with a SpringConstraint.
end:
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 constraint = In... |
input_text:
Script a cylinder with plastic material colored black at (5,10,-5) size (4,1,8) in Roblox.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Plastic
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(4,1,8)
part.Position = Vector3.new(5,10,-5)
p... |
input_text:
Tween Color with Sine In 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.Sine, Enum.EasingDirection.In, 1, true, 0)
local goal = {Color = Color3.fromRGB(255,0,0)}
lo... |
task:
Create an unanchored blue Plastic Block part sized 6x6x4 at position 15,1,34 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(6,6,4)
part.Position = Vector3.new(15,1,34)
part.... |
query:
Create an unanchored purple Plastic Block part sized 12x6x4 at position 12,18,-26 in Roblox Luau.
solution:
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(12,6,4)
part.Position = Vector3.new(... |
task:
Create a TextLabel saying "Game Over" with Ubuntu font with background Color3.fromRGB(128,0,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.5,0,0.08,0)
elem.... |
prompt:
Make a blue 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(0,0,255)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspa... |
start:
Create a TextLabel saying "Resume" with LuckiestGuy font with background Color3.fromRGB(50,200,50) 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,200,0.1,... |
input:
Create a yellow marble block at (-10,20,10) size (2,4,6) in Roblox.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Marble
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(2,4,6)
part.Position = Vector3.new(-10,20,10)
part.Anchored = true
par... |
query:
Create an anchored teal Plastic Block part sized 1x2x8 at position -20,15,-31 in Roblox Luau.
result:
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(1,2,8)
part.Position = Vector3.new(-20,15,... |
prompt:
Make a white CorrodedMetal part with a PointLight effect attached in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Material = Enum.Material.CorrodedMetal
part.Color = Color3.new(1,1,1)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspa... |
begin:
Create an unanchored cyan Wood Block part sized 10x6x6 at position -31,5,-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,255)
part.Size = Vector3.new(10,6,6)
part.Position = Vector3.new(-31,5,-9)
p... |
question:
Create a TextLabel saying "Pause" with Oswald font with background Color3.fromRGB(255,128,0) 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)
elem... |
prompt:
Create an anchored orange Plastic Block part sized 4x6x4 at position -4,70,37 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,6,4)
part.Position = Vector3.new(-... |
begin:
Tween Color with Sine InOut easing, 0.5s duration, 0 repeats, reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0, true, 0)
local goal = {Color = Color3.fromRGB(25... |
begin:
Create an anchored blue Wood Block part sized 2x2x2 at position -27,32,-33 in Roblox Luau.
answer:
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(2,2,2)
part.Position = Vector3.new(-27,32,-33)
par... |
input:
Build a system that Play a sound with volume 0.1, pitch 1.0, looped=false.
end:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID
sound.Volume = 0.1
sound.PlaybackSpeed = 1.0
sound.Looped = false
sound.Parent = workspace
sound:Play()
-- Clean up when done... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.