text stringlengths 54 19.6k |
|---|
input:
Make a gold Wood part with a Highlight effect attached in Roblox Luau.
finish:
local part = Instance.new("Part")
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = Ins... |
question:
Can you write code to a part that destroys itself after 3 seconds.
response:
local part = Instance.new("Part")
part.Position = Vector3.new(0, 10, 0)
part.Anchored = true
part.Parent = workspace
task.delay(3, function()
part:Destroy()
end) |
query:
Tween Transparency with Exponential Out easing, 0.75s duration, 2 repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out, 2, true, 0)
local goal = {Transparency ... |
begin:
Create a TextButton saying "Settings" top-right in Roblox GUI
finish:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local elem = Instance.new("TextButton")... |
instruction:
Tween a part's Transparency with Sine InOut easing over 1s in Roblox
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local goal = {Transparency = 0.8}
local tween = TweenService... |
query:
Tween Size with Cubic Out easing, 0.25s duration, 0 repeats, reversing in Roblox.
completion:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 0, true, 0)
local goal = {Size = Vector3.new(8,8,8)}... |
task:
Write client-side code to fire a RemoteEvent called "ScoreUpdate" to the server.
output_text:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("ScoreUpdate")
local data = {
action = "request",
timestamp = os.clock()
}
remoteEvent:FireServ... |
user:
Create a TextLabel saying "Ready?" with LuckiestGuy 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("TextLabel")
elem.Size = UDim2.new(0.3,0,0,60)
elem.... |
query:
Tween Reflectance with Linear In easing, 2.5s duration, infinite repeats, non-reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, false, 0)
local goal = {Reflectance ... |
task:
Tween a part's Reflectance with Circular Out easing over 0.5s in Roblox
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.Out)
local goal = {Reflectance = 0.9}
local tween = TweenService:Creat... |
query:
Spawn a lime grass cylinder part at (20,10,0) size (6,1,1) in Roblox.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Grass
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(6,1,1)
part.Position = Vector3.new(20,10,0)
part.Anchored = fal... |
user:
Create a red brick ball at (10,5,10) size (6,2,4) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Brick
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(6,2,4)
part.Position = Vector3.new(10,5,10)
part.Anchored = true
part.Parent ... |
begin:
Create an explosion with blast pressure 10 and radius 50 at a part's position.
solution:
local part = workspace:WaitForChild("ExplosionPart")
local explosion = Instance.new("Explosion")
explosion.Position = part.Position
explosion.BlastPressure = 10
explosion.BlastRadius = 50
explosion.DestroyJointRadiusPercen... |
input_text:
Make a block that is green and fabric at (-5,25,-5) size (4,6,6) in Roblox.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Fabric
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(4,6,6)
part.Position = Vector3.new(-5,25,-5)
part.Anchored = ... |
user:
Create an unanchored gold Wood Block part sized 6x2x2 at position 50,36,21 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(6,2,2)
part.Position = Vector3.new(50,36,21)
part.... |
prompt:
Tween CFrame with Sine Out easing, 0.5s duration, 1 repeats, non-reversing in Roblox.
result:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 1, false, 0)
local goal = {CFrame = part.CFrame*CFram... |
input_text:
Tween Position with Exponential In easing, 1.5s duration, 0 repeats, non-reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 0, false, 0)
local goal = {Pos... |
begin:
Tween Position with Cubic InOut easing, 2.5s duration, 3 repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 3, false, 0)
local goal = {Position = Vector3.new... |
prompt:
Give me a script for a BillboardGui that shows the player's name above their head.
finish:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local head = character:WaitForChild("Head")
local bi... |
task:
Tween Transparency with Quint Out easing, 2.5s duration, 2 repeats, reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 2, true, 0)
local goal = {Transparency = 0.8}
loc... |
start:
Create an unanchored gray Wood Block part sized 1x4x1 at position -50,79,-44 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(1,4,1)
part.Position = Vector3.new(-50,79,-4... |
input_text:
Create a global leaderboard using OrderedDataStore for top players by Coins.
finish:
local DataStoreService = game:GetService("DataStoreService")
local orderedStore = DataStoreService:GetOrderedDataStore("CoinsLeaderboard")
local function getTopPlayers(count)
local success, pages = pcall(function()
... |
input_text:
Create an anchored red Wood Block part sized 8x4x8 at position -31,40,2 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(8,4,8)
part.Position = Vector3.new(-31,40,2)
par... |
question:
Tween Transparency with Circular In easing, 2s duration, 2 repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 2, true, 0)
local goal = {Transparency = 0.8}
lo... |
task:
Create an unanchored yellow Plastic Block part sized 10x2x2 at position 0,64,-27 in Roblox Luau.
result:
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(10,2,2)
part.Position = Vector3.new(0,64... |
query:
Tween CFrame with Circular In easing, 3s duration, infinite repeats, reversing in Roblox.
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(3, Enum.EasingStyle.Circular, Enum.EasingDirection.In, -1, true, 0)
local goal = {CFrame = part.CFr... |
user:
Write server code that listens for the "ChatEvent" RemoteEvent and validates the sender.
result:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("ChatEvent")
remoteEvent.OnServerEvent:Connect(function(player, data)
if not player or not player... |
user:
I need to How do you get a reference to the PhysicsService service in Roblox.
end:
local PhysicsService = game:GetService("PhysicsService") |
start:
Create an anchored orange Wood Block part sized 1x1x10 at position -20,72,0 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(1,1,10)
part.Position = Vector3.new(-20,72,0)
p... |
instruction:
Create a TextLabel saying "Back" with Michroma 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("TextLabel")
elem.Size = UDim2.new(0.5,0,0.08,0)
... |
begin:
Tween Position with Bounce Out easing, 0.75s duration, infinite repeats, reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, -1, true, 0)
local goal = {Position = Vector3.... |
prompt:
Tween Position with Quad InOut easing, 0.5s duration, infinite repeats, non-reversing in Roblox.
end:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, -1, false, 0)
local goal = {Position = Vect... |
begin:
Create a white metal ball at (0,50,-10) size (6,6,1) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Metal
part.Color = Color3.new(1,1,1)
part.Size = Vector3.new(6,6,1)
part.Position = Vector3.new(0,50,-10)
part.Anchored = true
part.Parent = w... |
task:
Create a TextLabel saying "Pause" with Michroma font with background Color3.fromRGB(128,0,255) 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(1,0,0,50)
elem.Position... |
user:
Tween CFrame with Bounce Out easing, 0.5s duration, 0 repeats, reversing in Roblox.
answer:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, true, 0)
local goal = {CFrame = part.CFrame*CFrame.n... |
user:
Create an unanchored gold Wood Block part sized 10x2x6 at position 46,82,35 in Roblox Luau.
answer:
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,2,6)
part.Position = Vector3.new(46,82,35)
pa... |
task:
Create an anchored green Wood Block part sized 4x2x1 at position -11,83,25 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(4,2,1)
part.Position = Vector3.new(-11,83,25)
p... |
prompt:
Create an anchored blue Wood Block part sized 8x1x2 at position 10,84,15 in Roblox Luau.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,0,255)
part.Size = Vector3.new(8,1,2)
part.Position = Vector3.new(10,84,15)
part... |
instruction:
Script a cylinder with wood material colored lime at (20,5,5) size (6,4,6) in Roblox.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(6,4,6)
part.Position = Vector3.new(20,5... |
task:
Create an anchored cyan Wood Block part sized 1x4x1 at position -23,49,24 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(1,4,1)
part.Position = Vector3.new(-23,49,24)
part.An... |
start:
Create an anchored yellow Plastic Block part sized 6x4x4 at position -9,79,-10 in Roblox Luau.
completion:
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(6,4,4)
part.Position = Vector3.new(-9... |
input:
Tween Position with Sine In easing, 4s duration, 1 repeats, non-reversing in Roblox.
solution:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(4, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 1, false, 0)
local goal = {Position = Vector3.new(10,5,0... |
input:
Tween Size with Sine In easing, 4s duration, infinite 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, -1, true, 0)
local goal = {Size = Vector3.new(8,8,8)}
loc... |
start:
Spawn a blue plastic ball part at (-5,5,10) size (6,1,2) in Roblox.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,0,255)
part.Size = Vector3.new(6,1,2)
part.Position = Vector3.new(-5,5,10)
part.Anchored = true
part.Pare... |
input_text:
Create an unanchored brown Wood Block part sized 8x1x8 at position -35,70,45 in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(8,1,8)
part.Position = Vector3.new(-35,... |
instruction:
Create an unanchored gray Plastic Block part sized 8x2x8 at position -24,56,-18 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,128,128)
part.Size = Vector3.new(8,2,8)
part.Position = Vect... |
instruction:
Tween a part's Position with Bounce InOut easing over 5s in Roblox
output_text:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut)
local goal = {Position = Vector3.new(10,5,0)}
local tween = ... |
begin:
Create an anchored gold Plastic Block part sized 1x2x1 at position -11,22,-17 in Roblox Luau.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(1,2,1)
part.Position = Vector3.new(-11,22,-17... |
begin:
Create a TextLabel saying "OK" with GothamBold font with background Color3.fromRGB(50,200,50) 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.Pos... |
input_text:
Make a cyan Wood part with a Fire effect attached in Roblox Luau.
end:
local part = Instance.new("Part")
part.Material = Enum.Material.Wood
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
local fx = Instan... |
begin:
What's the code to Give the player a ForceField that lasts 13 seconds.
result:
local Players = game:GetService("Players")
local function giveForceField(player, duration)
local character = player.Character
if not character then return end
local existingFF = character:FindFirstChildOfClass("Forc... |
question:
Make a green DiamondPlate part with a Highlight effect attached in Roblox Luau.
result:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = worksp... |
instruction:
Make a blue CorrodedMetal part with a Fire effect attached in Roblox Luau.
end:
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 = workspace
... |
prompt:
Create an unanchored yellow Plastic Block part sized 8x6x2 at position 18,35,21 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(8,6,2)
part.Position = Vector3.new(18,3... |
instruction:
Make a pink DiamondPlate part with a Sparkles effect attached in Roblox Luau.
end:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
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 = work... |
instruction:
Create an unanchored green Wood Block part sized 4x1x1 at position -14,49,21 in Roblox Luau.
answer:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(0,255,0)
part.Size = Vector3.new(4,1,1)
part.Position = Vector3.new(-14,49,... |
input_text:
Create an unanchored black Plastic Block part sized 4x6x10 at position 48,71,45 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(4,6,10)
part.Position = Vector3.new(48... |
begin:
Tween Reflectance with Bounce In easing, 0.25s duration, 3 repeats, reversing in Roblox.
output:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(0.25, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 3, true, 0)
local goal = {Reflectance = 0.9}
loca... |
prompt:
Create a TextButton saying "Retry" with Michroma font with background Color3.fromRGB(128,0,255) in Roblox GUI.
solution:
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local elem = Instance.new("TextButton")
elem.Size = UDim2.new(0,200,0.1,0)
e... |
input:
Create a ScreenGui with a TextLabel that says "Loading..." using font Cartoon at size 18.
response:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomGui"
screenGui... |
question:
Create a gray woodplanks cylinder at (-5,1,0) size (4,6,2) in Roblox.
model:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.WoodPlanks
part.Color = Color3.fromRGB(128,128,128)
part.Size = Vector3.new(4,6,2)
part.Position = Vector3.new(-5,1,0)
part.Anchored... |
instruction:
Create a TextButton saying "Game Over" with Ubuntu 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... |
begin:
Spawn a lime diamondplate cylinder part at (-5,10,10) size (2,2,1) in Roblox.
output:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(0,255,128)
part.Size = Vector3.new(2,2,1)
part.Position = Vector3.new(-5,10,10)
part.... |
query:
Create a cyan sand block at (10,10,10) size (4,1,4) in Roblox.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Sand
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(4,1,4)
part.Position = Vector3.new(10,10,10)
part.Anchored = false
part... |
task:
Make a white Plastic part with a Fire 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 = Instan... |
instruction:
Spawn a cyan pebble block part at (20,20,5) size (6,4,6) in Roblox.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Pebble
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(6,4,6)
part.Position = Vector3.new(20,20,5)
part.Anchored = false
... |
task:
Make a black Concrete part with a Smoke effect attached in Roblox Luau.
response:
local part = Instance.new("Part")
part.Material = Enum.Material.Concrete
part.Color = Color3.new(0,0,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = Insta... |
start:
Create a TextButton saying "Buy" with Bangers font with background Color3.fromRGB(0,120,255) 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.5,0,0.08,0)
elem.P... |
prompt:
Script a ball with slate material colored teal at (5,1,0) size (8,2,4) in Roblox.
end:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Slate
part.Color = Color3.fromRGB(0,128,128)
part.Size = Vector3.new(8,2,4)
part.Position = Vector3.new(5,1,0)
part.Anchored = t... |
input_text:
Create an unanchored blue Plastic Block part sized 1x1x10 at position -9,44,47 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(1,1,10)
part.Position = Vector3.new(-9,... |
task:
Make a orange Slate part with a Smoke effect attached in Roblox Luau.
response:
local part = Instance.new("Part")
part.Material = Enum.Material.Slate
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = In... |
instruction:
Tween Reflectance with Circular InOut easing, 1s duration, infinite repeats, reversing in Roblox.
model:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(1, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, -1, true, 0)
local goal = {Reflec... |
question:
Make a gold Wood part with a Fire effect attached in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,215,0)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(0,5,0)
part.Anchored = true
part.Parent = workspace
local fx = Ins... |
question:
Create a TextButton saying "Loading..." with Bangers 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.5,0,0,40)... |
user:
Create an anchored orange Wood Block part sized 1x4x4 at position -47,56,-49 in Roblox Luau.
solution:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(255,128,0)
part.Size = Vector3.new(1,4,4)
part.Position = Vector3.new(-47,56,-49... |
input_text:
Create a brown smoothplastic part with Fire effect in Roblox
answer:
local part = Instance.new("Part")
part.Material = Enum.Material.SmoothPlastic
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
local fx ... |
question:
Make a ball that is magenta and diamondplate at (-10,20,-10) size (8,1,2) in Roblox.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.DiamondPlate
part.Color = Color3.fromRGB(255,0,255)
part.Size = Vector3.new(8,1,2)
part.Position = Vector3.new(-10,2... |
begin:
Create an anchored brown Wood Block part sized 1x4x4 at position 14,75,42 in Roblox Luau.
result:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Wood
part.Color = Color3.fromRGB(139,69,19)
part.Size = Vector3.new(1,4,4)
part.Position = Vector3.new(14,75,42)
part... |
prompt:
Create a TextLabel saying "Cancel" with GothamBold font with background Color3.fromRGB(0,120,255) 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,150,0.1,0)
el... |
question:
Make a purple Slate part with a Highlight effect attached in Roblox Luau.
output:
local part = Instance.new("Part")
part.Material = Enum.Material.Slate
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 f... |
task:
Create a TextLabel saying "Buy" with Ubuntu font with background Color3.fromRGB(30,30,40) 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(1,0,0,50)
elem.Position =... |
input:
Create an anchored teal Plastic Block part sized 8x6x1 at position -9,8,45 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(8,6,1)
part.Position = Vector3.new(-9,8,45)
part... |
input_text:
Create a TextLabel saying "Exit" with Nunito 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.5,0,0,50)
e... |
start:
Create a TextLabel saying "Loading..." with SourceSansBold font with background Color3.fromRGB(0,0,0) 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,150,0,60)
... |
instruction:
Create an unanchored red Plastic Block part sized 8x6x10 at position 48,36,-6 in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(255,0,0)
part.Size = Vector3.new(8,6,10)
part.Position = Vector3.ne... |
instruction:
Create an unanchored red Plastic Block part sized 12x4x2 at position -33,20,-21 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(12,4,2)
part.Position = Vector3.ne... |
start:
Create an anchored gold Wood Block part sized 1x4x4 at position 35,41,15 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(1,4,4)
part.Position = Vector3.new(35,41,15)
part.... |
start:
Create an unanchored cyan Plastic Block part sized 4x4x4 at position 40,84,-28 in Roblox Luau.
output_text:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Block
part.Material = Enum.Material.Plastic
part.Color = Color3.fromRGB(0,255,255)
part.Size = Vector3.new(4,4,4)
part.Position = Vector3.new(4... |
input:
Make a teal DiamondPlate part with a Smoke effect attached in Roblox Luau.
completion:
local part = Instance.new("Part")
part.Material = Enum.Material.DiamondPlate
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 = workspac... |
start:
Create an unanchored orange Plastic Block part sized 1x6x8 at position 12,19,23 in Roblox Luau.
response:
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,6,8)
part.Position = Vector3.new(12,... |
question:
Create an anchored purple Plastic Block part sized 8x2x6 at position -37,18,-12 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(8,2,6)
part.Position = Vector3.n... |
user:
Create an unanchored white Plastic Block part sized 12x4x10 at position -30,92,44 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(12,4,10)
part.Position = Vector3.new(-30,92,4... |
instruction:
Make a cylinder that is yellow and forcefield at (20,50,-10) size (4,6,6) in Roblox.
response:
local part = Instance.new("Part")
part.Shape = Enum.PartType.Cylinder
part.Material = Enum.Material.ForceField
part.Color = Color3.fromRGB(255,255,0)
part.Size = Vector3.new(4,6,6)
part.Position = Vector3.new(20... |
user:
Create an unanchored purple Plastic Block part sized 2x4x6 at position 9,13,42 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(2,4,6)
part.Position = Vector3.new(9,13,42... |
instruction:
Apply a BodyVelocity of (-24, 60, -20) to a part.
end:
local part = workspace:WaitForChild("PhysicsPart")
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(-24, 60, -20)
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocity.P = 1250
bodyVelo... |
input:
Tween a part's color to RGB(187, 203, 160) over 2.1 seconds.
response:
local TweenService = game:GetService("TweenService")
local part = workspace:WaitForChild("ColorPart")
local tweenInfo = TweenInfo.new(2.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local goal = {
Color = Color3.fromRGB(187, 2... |
question:
Tween Transparency with Back Out easing, 2.5s duration, 2 repeats, non-reversing in Roblox.
response:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 2, false, 0)
local goal = {Transparency = 0... |
question:
Tween a part's Transparency with Back InOut easing over 2s in Roblox
finish:
local TweenService = game:GetService("TweenService")
local part = workspace.MyPart
local info = TweenInfo.new(2, Enum.EasingStyle.Back, Enum.EasingDirection.InOut)
local goal = {Transparency = 0.8}
local tween = TweenService:Create(... |
user:
Tween Position with Quart InOut 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.Quart, Enum.EasingDirection.InOut, 0, true, 0)
local goal = {Position = Vector3.new(10,5,0)}
... |
instruction:
Create an unanchored red Wood Block part sized 1x6x8 at position 40,7,6 in Roblox Luau.
end:
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(1,6,8)
part.Position = Vector3.new(40,7,6)
part.An... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.