text stringlengths 54 19.6k |
|---|
query:
Create an unanchored cyan Wood Block part sized 1x2x6 at position -30,48,-45 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(1,2,6)
part.Position = Vector3.new(-30,48,-45)
... |
query:
Create an anchored cyan Plastic Block part sized 6x6x8 at position -39,45,-22 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,255)
part.Size = Vector3.new(6,6,8)
part.Position = Vector3.new(-39,45,... |
start:
Use GetDescendants to get all descendants in player.Character in Roblox
output_text:
local result = for _, child in player.Character:GetDescendants() do
if child:IsA("Part") then
print(child.Name)
end
end
if typeof(result) ~= "table" then
if result then print("Found:", result.Name) end
end |
prompt:
Tween Color with Exponential InOut easing, 1.5s duration, 2 repeats, reversing in Roblox.
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 2, true, 0)
local goal = {Color = Color3... |
prompt:
Create an anchored cyan Plastic Block part sized 1x1x4 at position -17,60,-44 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(1,1,4)
part.Position = Vector3.new(-17,60... |
begin:
Create a TextLabel saying "No" with PatrickHand font with background Color3.fromRGB(50,50,80) 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.3,0,0,60)
elem.Pos... |
input:
Create an unanchored black Plastic Block part sized 4x1x10 at position -49,27,33 in Roblox Luau.
solution:
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(4,1,10)
part.Position = Vector3.new(-49,27,33... |
query:
Create a orange smoothplastic ball at (-10,50,-5) size (2,2,1) in Roblox.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.SmoothPlastic
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(2,2,1)
part.Position = Vector3.new(-10,50,-5)
part.A... |
question:
Create an unanchored black Wood Block part sized 10x4x2 at position 49,85,-1 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(10,4,2)
part.Position = Vector3.new(49,85,-1)
par... |
user:
Create an unanchored orange Wood Block part sized 6x4x10 at position -10,19,46 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(6,4,10)
part.Position = Vector3.new(-10,19,46... |
instruction:
Make a script that Tween a part's color to RGB(187, 185, 196) over 2.9 seconds.
model:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("ColorPart")
local tweenInfo = TweenInfo.new(2.9, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local goal = {
Color =... |
input_text:
Create an anchored gold Wood Block part sized 10x1x10 at position -44,83,39 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(10,1,10)
part.Position = Vector3.new(-44,83... |
user:
I need to a script that clones a part from ServerStorage and places it at a random position in the workspace.
response:
local ServerStorage = game:GetService("ServerStorage")
local template = ServerStorage:WaitForChild("TemplatePart")
local clone = template:Clone()
clone.Position = Vector3.new(
math.random(... |
instruction:
Create a ScreenGui with a TextLabel that says "Time: 0:00" using font GothamBold at size 64.
response:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
... |
task:
Spawn a red glass cylinder part at (-10,25,20) size (4,2,8) in Roblox.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Glass
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(4,2,8)
part.Position = Vector3.new(-10,25,20)
part.Anchored = true
par... |
begin:
Create a TextButton saying "Close" bottom-center 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"... |
input:
Create an unanchored green Wood Block part sized 10x1x2 at position 32,44,-2 in Roblox Luau.
solution:
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,1,2)
part.Position = Vector3.new(32,44,-2)
... |
begin:
Create an anchored gray Plastic Block part sized 4x2x6 at position 37,39,1 in Roblox Luau.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(4,2,6)
part.Position = Vector3.new(37,39,1)
... |
input_text:
Create an anchored red Plastic Block part sized 1x6x10 at position 37,42,48 in Roblox Luau.
end:
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,6,10)
part.Position = Vector3.new(37,42,48... |
query:
Show me how to a sparkle particle effect attached to a part.
completion:
local part = workspace:WaitForChild("EffectPart")
local particles = Instance.new("ParticleEmitter")
particles.Color = ColorSequence.new(Color3.fromRGB(255, 255, 100))
particles.Size = NumberSequence.new(0.5)
particles.Lifetime = NumberRan... |
task:
Write Roblox Luau code to a tween that loops 10 times.
response:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("LoopPart")
local tweenInfo = TweenInfo.new(
1, -- Duration
Enum.EasingStyle.Sine, -- EasingStyle
Enum.Easi... |
input_text:
Create an unanchored green Plastic Block part sized 12x6x1 at position 32,23,49 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(12,6,1)
part.Position = Vector3.n... |
begin:
Implement a way to a tween that loops 5 times and reverses.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("LoopPart")
local tweenInfo = TweenInfo.new(
1, -- Duration
Enum.EasingStyle.Sine, -- EasingStyle
... |
prompt:
Create an unanchored red Plastic Block part sized 10x4x4 at position 36,96,-28 in Roblox Luau.
solution:
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,4,4)
part.Position = Vector3.new(36,9... |
prompt:
Tween Reflectance with Quart InOut easing, 2s duration, 3 repeats, non-reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Reflectance = 0.9}
... |
begin:
Tween Color with Linear InOut easing, 0.5s duration, 3 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Color = Color3.fro... |
start:
Create an anchored white Plastic Block part sized 6x4x8 at position 13,95,-25 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,4,8)
part.Position = Vector3.new(13,95,-25)
... |
input:
Create a lime grass block at (-10,10,-10) size (8,1,2) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Grass
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(8,1,2)
part.Position = Vector3.new(-10,10,-10)
part.Anchored = true
pa... |
question:
Tween Transparency with Quad In easing, 2.5s duration, 0 repeats, reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 0, true, 0)
local goal = {Transparency = 0.8}
local... |
start:
Tween Reflectance with Bounce In easing, 0.75s duration, 0 repeats, non-reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 0, false, 0)
local goal = {Reflectance = 0.9}... |
task:
Tween a part to position (29, 6, 23) over 0.6 seconds using Sine easing (In).
end:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("MovingPart")
local tweenInfo = TweenInfo.new(
0.6,
Enum.EasingStyle.Sine,
Enum.EasingDirection.In
)
local goal = {
Positi... |
begin:
Create an unanchored purple Plastic Block part sized 8x2x4 at position 26,79,-25 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(8,2,4)
part.Position = Vector3.new(26... |
user:
Create an unanchored teal Plastic Block part sized 4x4x8 at position 22,16,-49 in Roblox Luau.
end:
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(4,4,8)
part.Position = Vector3.new(22,16,-49)... |
query:
Create an anchored brown Plastic Block part sized 10x4x8 at position -36,37,-47 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(10,4,8)
part.Position = Vector3.new(-3... |
task:
Create an unanchored purple Plastic Block part sized 2x6x4 at position -13,20,-25 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(2,6,4)
part.Position = Vector3.new(-13,... |
question:
Create an anchored gold Plastic Block part sized 8x4x1 at position 10,87,-3 in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(8,4,1)
part.Position = Vector3.new(10,8... |
input_text:
Create an anchored gold Wood Block part sized 4x6x10 at position 12,2,-11 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(4,6,10)
part.Position = Vector3.new(12,... |
input_text:
Tween a part's Reflectance 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 = {Reflectance = 0.9}
local tween = TweenService... |
instruction:
Create an unanchored blue Plastic Block part sized 12x4x2 at position 21,47,-39 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,0,255)
part.Size = Vector3.new(12,4,2)
part.Position = Vector3.... |
task:
Tween Transparency with Bounce In easing, 0.75s duration, 1 repeats, non-reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 1, false, 0)
local goal = {Transparency =... |
prompt:
Create a TextButton saying "Undo" with FredokaOne font with background Color3.fromRGB(255,128,0) in Roblox GUI.
output:
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)
e... |
user:
Create an anchored red Plastic Block part sized 12x4x8 at position 19,60,3 in Roblox Luau.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(12,4,8)
part.Position = Vector3.new(19,60,3)
par... |
prompt:
Create an unanchored gray Plastic Block part sized 6x2x4 at position -42,26,4 in Roblox Luau.
result:
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(6,2,4)
part.Position = Vector3.new(-42,... |
query:
Make a block that is lime and wood at (20,10,0) size (6,1,2) in Roblox.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(6,1,2)
part.Position = Vector3.new(20,10,0)
part.Anchored = true
par... |
query:
Create an anchored blue Wood Block part sized 8x6x4 at position -47,24,-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,0,255)
part.Size = Vector3.new(8,6,4)
part.Position = Vector3.new(-47,24,-25)
part.A... |
start:
Create a smooth third-person camera that follows the player.
output_text:
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
player.Ch... |
start:
Create a TextButton saying "Score: 0" with Nunito font with background Color3.fromRGB(0,120,255) 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.2,0,0.1,0)
ele... |
instruction:
Tween Position with Elastic Out easing, 0.75s duration, infinite repeats, non-reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, -1, false, 0)
local goal = {Pos... |
prompt:
Make a purple Concrete part with a PointLight effect attached in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Material = Enum.Material.Concrete
part.Color = Color3.fromRGB(128,0,255)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspac... |
instruction:
Tween a part's CFrame with Bounce In easing over 2s in Roblox
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Bounce, Enum.EasingDirection.In)
local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)}
local tween = Tw... |
task:
Create a TextButton saying "Buy" with Oswald font with background Color3.fromRGB(50,50,80) in Roblox GUI.
model:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(1,0,0,50)
elem.Position ... |
instruction:
Create a TextButton saying "Buy" bottom-center in Roblox GUI
response:
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("TextB... |
start:
Create a TextButton saying "Buy" with PatrickHand font with background Color3.fromRGB(50,200,50) 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.3,0,0,60)
elem.... |
input_text:
What's the code to Apply a BodyVelocity of (-49, 37, 14) to a part.
output:
local part = workspace:WaitForChild("PhysicsPart")
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(-49, 37, 14)
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocit... |
input:
Create an unanchored purple Plastic Block part sized 10x6x8 at position 20,21,-8 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(10,6,8)
part.Position = Vector3.new(20,21,... |
instruction:
Tween Position with Quint InOut easing, 5s duration, 3 repeats, non-reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Position = Vector... |
task:
Make a white Plastic part with a Highlight effect attached in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Material = Enum.Material.Plastic
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 = workspace
local fx = I... |
question:
Script a ball with glass material colored black at (20,50,20) size (4,2,6) in Roblox.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Glass
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(4,2,6)
part.Position = Vector3.new(20,50,20)
part.Anchored... |
instruction:
Fade a part to invisible over 2.1 seconds using a tween.
model:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("FadePart")
local tweenInfo = TweenInfo.new(2.1, Enum.EasingStyle.Linear)
local goal = {
Transparency = 1
}
local tween = TweenService:Create(par... |
query:
Tween Size with Linear InOut easing, 1s duration, infinite repeats, non-reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, false, 0)
local goal = {Size = Vector3.new... |
instruction:
Create a navy corrodedmetal wedgepart at position (41, 39, 1) with size (7, 18, 7), anchored=false.
result:
local part = Instance.new("WedgePart")
part.Size = Vector3.new(7, 18, 7)
part.Position = Vector3.new(41, 39, 1)
part.Color = Color3.fromRGB(0, 0, 128)
part.Material = Enum.Material.CorrodedMetal
par... |
prompt:
Script a cylinder with plastic material colored lime at (5,1,-5) size (8,1,4) in Roblox.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(8,1,4)
part.Position = Vector3.new(5,1,-5)
... |
input:
Tween Color with Quint In easing, 0.25s duration, 0 repeats, reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 0, true, 0)
local goal = {Color = Color3.fromRGB(255,0,0)... |
query:
Spawn a cyan smoothplastic ball part at (5,5,5) size (1,1,8) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.SmoothPlastic
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(1,1,8)
part.Position = Vector3.new(5,5,5)
part.Anchored... |
query:
Tween Reflectance with Back 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.Back, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Reflectance = 0.9}
loc... |
user:
Create an anchored yellow Wood Block part sized 10x4x1 at position 18,93,-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,255,0)
part.Size = Vector3.new(10,4,1)
part.Position = Vector3.new(18,93,-31)
p... |
begin:
Tween a part's Color with Quart Out easing over 3s in Roblox
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
local goal = {Color = Color3.fromRGB(255,0,0)}
local tween = TweenService:Create... |
task:
Create a TextButton saying "Shop" with SourceSansBold font with background Color3.fromRGB(50,200,50) 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,4... |
user:
Create an anchored pink Wood Block part sized 10x2x8 at position 16,30,-11 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(10,2,8)
part.Position = Vector3.new(16,30,-11)
par... |
start:
Tween Color with Back In easing, 5s duration, 1 repeats, non-reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Back, Enum.EasingDirection.In, 1, false, 0)
local goal = {Color = Color3.fromRGB(255,0,0)}
lo... |
task:
Create an anchored black Wood Block part sized 2x6x10 at position -13,51,42 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,6,10)
part.Position = Vector3.new(-13,51,42)
part.An... |
instruction:
Create an anchored purple Plastic Block part sized 8x6x8 at position 2,87,13 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(8,6,8)
part.Position = Vector3.new(2,... |
prompt:
Create a TextLabel saying "Retry" with Nunito font with background Color3.fromRGB(40,40,40) 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.3,0,0.08,0)
elem.Po... |
prompt:
Create an unanchored gray Plastic Block part sized 1x4x4 at position -2,88,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,128,128)
part.Size = Vector3.new(1,4,4)
part.Position = Vector3.new(-2,8... |
input:
Tween Position with Bounce InOut 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.Bounce, Enum.EasingDirection.InOut, 2, true, 0)
local goal = {Position = Vector3.n... |
input:
Create a TextButton saying "Cancel" with FredokaOne font with background Color3.fromRGB(50,200,50) 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(1,0,0,50)
elem... |
prompt:
Create a pink forcefield ball at (-10,20,5) size (6,2,1) in Roblox.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.ForceField
part.Color = Color3.fromRGB(255,100,200)
part.Size = Vector3.new(6,2,1)
part.Position = Vector3.new(-10,20,5)
part.Anchored = fal... |
input:
Spawn a teal glass cylinder part at (-5,10,-5) size (6,6,6) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Glass
part.Color = Color3.fromRGB(0,128,128)
part.Size = Vector3.new(6,6,6)
part.Position = Vector3.new(-5,10,-5)
part.Anchored = f... |
begin:
Create an anchored black Wood Block part sized 2x6x4 at position 50,54,-17 in Roblox Luau.
completion:
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,6,4)
part.Position = Vector3.new(50,54,-17)
part.A... |
user:
Create a TextLabel saying "Ready?" with Roboto font with background Color3.fromRGB(50,50,80) in Roblox GUI.
answer:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextLabel")
elem.Size = UDim2.new(0.3,0,0,60)
elem.Posit... |
begin:
Spawn a cyan slate ball part at (10,15,-10) size (1,1,6) in Roblox.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Slate
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(1,1,6)
part.Position = Vector3.new(10,15,-10)
part.Anchored = true
part.... |
question:
Detect when the player presses the Z key using UserInputService.
result:
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.Z then
print("Z key ... |
question:
Make a teal Plastic part with a SpotLight effect attached in Roblox Luau.
output_text:
local part = Instance.new("Part")
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,128,128)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
... |
prompt:
Create an unanchored purple Wood Block part sized 2x4x10 at position 3,71,13 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(2,4,10)
part.Position = Vector3.new(3,71,13)
... |
prompt:
Create an anchored brown Wood Block part sized 6x1x2 at position 0,66,-26 in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(6,1,2)
part.Position = Vector3.new(0,66,-26)
par... |
instruction:
Create an unanchored blue Plastic Block part sized 12x4x10 at position -37,87,-21 in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,0,255)
part.Size = Vector3.new(12,4,10)
part.Position = Vector3... |
query:
Create an anchored white Wood Block part sized 8x2x1 at position 9,91,-19 in Roblox Luau.
result:
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(8,2,1)
part.Position = Vector3.new(9,91,-19)
part.Anchore... |
instruction:
Tween Reflectance with Back InOut easing, 0.75s duration, 0 repeats, non-reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 0, false, 0)
local goal = {Reflectanc... |
start:
Create an unanchored red Wood Block part sized 4x2x4 at position -48,4,19 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(4,2,4)
part.Position = Vector3.new(-48,4,19)
part.A... |
input:
Create a TextLabel saying "Start" with Roboto font with background Color3.fromRGB(40,40,40) 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.08,0)
elem.P... |
task:
Tween Reflectance with Quint In 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.Quint, Enum.EasingDirection.In, 0, true, 0)
local goal = {Reflectance = 0.9}
local tween... |
prompt:
Create a TextButton saying "Retry" with Bangers 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("TextButton")
elem.Size = UDim2.new(0.3,0,0,40)
elem.Positio... |
prompt:
Create a TextButton saying "Yes" with PatrickHand font with background Color3.fromRGB(50,50,80) 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,200,0,50)
elem... |
begin:
Detect Return key press to fire a weapon in Roblox
solution:
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.Return then
print("Return pressed - fire a weapon!")... |
user:
Create an unanchored blue Wood Block part sized 6x2x8 at position 24,6,9 in Roblox Luau.
model:
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(6,2,8)
part.Position = Vector3.new(24,6,9)
part.Anchor... |
instruction:
Create a TextLabel saying "Welcome!" with Creepster font with background Color3.fromRGB(200,50,50) 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.1,... |
query:
Tween Transparency with Back Out easing, 5s duration, 1 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 1, true, 0)
local goal = {Transparency = 0.8}
local tween =... |
start:
Create a TextLabel saying "Buy" with PatrickHand font with background Color3.fromRGB(0,120,255) 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.2,0,0,50)
el... |
query:
Create a rounded Frame with corner radius 8 and a stroke thickness of 1.
output:
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(... |
prompt:
Create an unanchored red Wood Block part sized 4x1x6 at position -46,69,-8 in Roblox Luau.
output:
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,6)
part.Position = Vector3.new(-46,69,-8)
par... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.