text
stringlengths
54
19.6k
query: Create an unanchored yellow Plastic Block part sized 2x2x2 at position 40,9,20 in Roblox Luau. end: 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(2,2,2) part.Position = Vector3.new(40,9,20) ...
input: Create an unanchored cyan Wood Block part sized 1x4x10 at position 27,61,34 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,10) part.Position = Vector3.new(27,61,34) part...
prompt: Create a lime fabric block at (0,25,0) size (8,1,8) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Fabric part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(8,1,8) part.Position = Vector3.new(0,25,0) part.Anchored = false part.Par...
query: Create an anchored cyan Wood Block part sized 1x2x4 at position 10,38,29 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(1,2,4) part.Position = Vector3.new(10,38,29) ...
input_text: Create an anchored black Plastic Block part sized 4x2x6 at position 17,6,43 in Roblox Luau. response: 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,2,6) part.Position = Vector3.new(17,6,43) p...
user: Create a TextLabel saying "Start" with Creepster font with background Color3.fromRGB(128,0,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.3,0,0,40) elem.Po...
task: Create a TextLabel saying "Exit" with Roboto font with background Color3.fromRGB(50,50,80) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,150,0.1,0) elem.Position ...
prompt: Tween Position with Linear Out easing, 0.5s duration, infinite repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, false, 0) local goal = {Position = V...
task: Create an anchored yellow Plastic Block part sized 1x6x10 at position 33,36,-19 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(1,6,10) part.Position = Vector3.new(33,36...
prompt: Create an unanchored yellow Wood Block part sized 12x2x2 at position -45,82,-32 in Roblox Luau. solution: 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(12,2,2) part.Position = Vector3.new(-45,...
begin: Create a TextLabel saying "Delete" with Nunito 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(1,0,0,50) elem.Position ...
query: Tween a part's size to (19, 2, 1) over 0.8 seconds. response: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector3.new(19, 2, 1) } local tw...
start: Create an unanchored white Plastic Block part sized 10x2x8 at position -41,11,-30 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(10,2,8) part.Position = Vector3.new(-41,11,-30) p...
task: Tween Color with Sine Out easing, 0.5s duration, 2 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 2, true, 0) local goal = {Color = Color3.fromRGB(255,0,0)} lo...
query: Create an unanchored red Plastic Block part sized 4x2x1 at position -19,29,-42 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(4,2,1) part.Position = Vector3.new(-19,29,-...
input: Create a TextLabel saying "Settings" with Oswald font with background Color3.fromRGB(50,200,50) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,150,0,40) elem...
input: Tween CFrame with Quint InOut 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.Quint, Enum.EasingDirection.InOut, 0, true, 0) local goal = {CFrame = part.CFrame*CFram...
user: Tween Color with Sine InOut easing, 0.25s duration, infinite repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Color = Color3.f...
prompt: Show me how to What is the difference between WaitForChild and FindFirstChild. model: -- FindFirstChild: Immediately checks if a child exists (returns nil if not found) local part = workspace:FindFirstChild("MyPart") if part then print("Found:", part.Name) else print("Not found") end -- FindFirstChild...
input: Create a TextButton saying "Game Over" with FredokaOne font with background Color3.fromRGB(0,120,255) in Roblox GUI. model: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0.08,0) ...
instruction: Create an anchored cyan Wood Block part sized 4x6x2 at position 43,10,-9 in Roblox Luau. response: 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(4,6,2) part.Position = Vector3.new(43,10,-...
start: Script a ball with cobblestone material colored teal at (20,1,-5) size (2,6,4) in Roblox. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(2,6,4) part.Position = Vector3.new(20,1,-...
question: Script for a black brick unionoperation at position (36, 68, -8) with size (12, 17, 13), anchored=true. response: local part = Instance.new("UnionOperation") part.Size = Vector3.new(12, 17, 13) part.Position = Vector3.new(36, 68, -8) part.Color = Color3.fromRGB(0, 0, 0) part.Material = Enum.Material.Brick pa...
instruction: Tween a part's Size with Circular In easing over 1s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Circular, Enum.EasingDirection.In) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Cre...
input: Create a TextButton saying "Play" with Nunito font with background Color3.fromRGB(0,120,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.5,0,0.1,0) elem....
input_text: Create an unanchored red Wood Block part sized 12x6x10 at position -9,56,2 in Roblox Luau. answer: 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(12,6,10) part.Position = Vector3.new(-9,56,2)...
start: Help me Connect two parts with a RodConstraint. finish: 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 constra...
query: Create a TextLabel saying "Settings" with FredokaOne font with background Color3.fromRGB(50,200,50) 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....
input_text: Script a cylinder with neon material colored gold at (10,15,10) size (8,6,2) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(8,6,2) part.Position = Vector3.new(10,15,10)...
question: Show me how to Use Instance Attributes to store custom data on parts. model: -- Setting attributes local part = workspace:WaitForChild("MyPart") part:SetAttribute("Health", 100) part:SetAttribute("Team", "Red") part:SetAttribute("IsActive", true) part:SetAttribute("Damage", 25.5) -- Getting attributes loca...
query: Create an unanchored black Plastic Block part sized 6x4x6 at position 49,8,48 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(6,4,6) part.Position = Vector3.new(49,8,48) part...
task: Tween Transparency with Elastic In easing, 0.5s duration, 0 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 0, true, 0) local goal = {Transparency = 0.8} loca...
input_text: Script a ball with concrete material colored lime at (20,1,5) size (4,1,6) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(4,1,6) part.Position = Vector3.new(20,1,5) pa...
start: Tween CFrame with Back In easing, 1.5s duration, 0 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Back, Enum.EasingDirection.In, 0, true, 0) local goal = {CFrame = part.CFrame*CFrame.new(...
question: Create an anchored gold Plastic Block part sized 8x2x2 at position 21,93,-45 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(8,2,2) part.Position = Vector3.new(21,93,-4...
start: Give me a script for an Instance of type SurfaceGui and configure its properties. solution: local instance = Instance.new("SurfaceGui") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
query: Create an anchored blue Plastic Block part sized 2x6x4 at position -11,33,-21 in Roblox Luau. result: 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(2,6,4) part.Position = Vector3.new(-11,33,-2...
task: Tween CFrame with Bounce In easing, 0.75s duration, 3 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 3, true, 0) local goal = {CFrame = part.CFrame*CFrame.n...
user: Create an anchored yellow Plastic Block part sized 10x4x10 at position 1,86,-38 in Roblox Luau. output: 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,4,10) part.Position = Vector3.new(1,86...
prompt: Create an unanchored orange Wood Block part sized 8x1x2 at position 38,10,-41 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(8,1,2) part.Position = Vector3.new(38,10,-41...
user: Tween Transparency with Sine In easing, 0.75s duration, 2 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 2, false, 0) local goal = {Transparency = 0.8} loc...
input: Create a magenta neon part with Smoke effect in Roblox finish: local part = Instance.new("Part") part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new("Smok...
question: Create an unanchored pink Plastic Block part sized 8x1x10 at position 36,67,29 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,100,200) part.Size = Vector3.new(8,1,10) part.Position = Vector3...
start: Create an anchored cyan Wood Block part sized 2x6x1 at position 39,18,43 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(2,6,1) part.Position = Vector3.new(39,18,43) part.A...
start: Create an anchored yellow Plastic Block part sized 10x6x8 at position -17,84,-4 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,6,8) part.Position = Vector3.new(-17,...
input: Tween a part's Position with Sine In easing over 5s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.In) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService:Create(part...
user: Tween Transparency with Cubic In easing, 2.5s duration, 2 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 2, true, 0) local goal = {Transparency = 0.8} local t...
instruction: Create a TextLabel saying "Ready?" with Oswald font with background Color3.fromRGB(50,50,80) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0,50...
user: Create a red glass block at (-10,1,20) size (8,6,6) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(8,6,6) part.Position = Vector3.new(-10,1,20) part.Anchored = true part.Parent ...
question: Create an unanchored black Wood Block part sized 12x6x8 at position -49,29,-9 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(12,6,8) part.Position = Vector3.new(-49,29,-9) par...
prompt: Tween a part's Position with Quart In easing over 3s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quart, Enum.EasingDirection.In) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService:C...
prompt: Create a TextBox saying "Click Me" top-right 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("TextBox") elem...
task: Create an unanchored teal Plastic Block part sized 8x4x10 at position -23,7,32 in Roblox Luau. response: 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,4,10) part.Position = Vector3.new(-23,...
instruction: Make a cyan DiamondPlate part with a Fire effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = wor...
instruction: Tween a part's Size with Linear In easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.In) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Cre...
input: Tween a part's Color with Quint Out easing over 2s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create...
prompt: Create a TextLabel saying "Buy" with RobotoMono 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.3,0,0,60) elem.P...
prompt: Create a lime corrodedmetal part with PointLight effect in Roblox answer: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx...
prompt: Create an unanchored yellow Wood Block part sized 12x1x6 at position 14,91,42 in Roblox Luau. completion: 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(12,1,6) part.Position = Vector3.new(14,9...
prompt: Create a RemoteFunction called "GetLeaderboard" that returns data from the server to the client. completion: -- Server Script local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteFunction = Instance.new("RemoteFunction") remoteFunction.Name = "GetLeaderboard" remoteFunction.Parent = Repl...
task: Create a TextLabel saying "Back" with Oswald 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("TextLabel") elem.Size = UDim2.new(0.2,0,0,50) elem.Positi...
begin: Create an unanchored brown Wood Block part sized 10x6x8 at position -48,15,-26 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(10,6,8) part.Position = Vector3.new(-48...
instruction: Create a green neon part with Fire effect in Roblox output_text: local part = Instance.new("Part") part.Material = Enum.Material.Neon 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 = workspace local fx = Instance.new...
user: Create a TextLabel saying "Play" with LuckiestGuy font with background Color3.fromRGB(50,50,80) in Roblox GUI. solution: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0,60) elem....
prompt: Create an unanchored white Wood Block part sized 12x6x6 at position 25,54,31 in Roblox Luau. finish: 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(12,6,6) part.Position = Vector3.new(25,54,31) part.An...
query: Spawn a gray slate ball part at (-5,25,-5) size (8,4,1) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(8,4,1) part.Position = Vector3.new(-5,25,-5) part.Anchored = false par...
input: Create an anchored gray Wood Block part sized 6x6x6 at position 26,99,-45 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(6,6,6) part.Position = Vector3.new(26,99,-45) p...
question: Create an anchored gray Wood Block part sized 1x2x2 at position 5,91,47 in Roblox Luau. finish: 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,2,2) part.Position = Vector3.new(5,91,47) pa...
begin: Create a TextButton saying "Save" with RobotoMono font with background Color3.fromRGB(0,120,255) 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.2,0,0.1,0) elem...
query: Script a block with plastic material colored brown at (20,1,0) size (4,2,4) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,2,4) part.Position = Vector3.new(20,1,0) part.A...
prompt: Create a TextLabel saying "Game Over" with LuckiestGuy 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,50) ...
input: Tween Position with Elastic InOut easing, 0.75s duration, 1 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 1, false, 0) local goal = {Position = Ve...
begin: Spawn a pink pebble cylinder part at (0,5,0) size (8,1,1) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(8,1,1) part.Position = Vector3.new(0,5,0) part.Anchored = fal...
begin: Tween CFrame with Exponential In easing, 3s duration, 2 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 2, true, 0) local goal = {CFrame = part.CFrame*C...
input: Create a TextButton saying "Buy" with RobotoMono 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.08,0) elem.Po...
input: Create a TextButton saying "Click Me" with Nunito font with background Color3.fromRGB(0,0,0) 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.3,0,0,60) elem.P...
start: Tween Reflectance with Exponential In easing, 0.25s duration, 2 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 2, true, 0) local goal = {Reflectan...
task: Write a Roblox script to When a player touches a part, kill the player. output: local part = script.Parent local debounce = {} part.Touched:Connect(function(hit) local character = hit.Parent local humanoid = character and character:FindFirstChildOfClass("Humanoid") local player = game:GetService("Pl...
input: Create an anchored brown Plastic Block part sized 4x2x8 at position 0,93,22 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,2,8) part.Position = Vector3.new(0,93...
begin: Create an anchored black Plastic Block part sized 12x2x2 at position -31,100,-26 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(12,2,2) part.Position = Vector3.new(-31,10...
input_text: Make a script that an Instance of type WeldConstraint and configure its properties. response: local instance = Instance.new("WeldConstraint") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
start: Create a TextBox saying "Play" bottom-center 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("TextBox") elem....
start: Create an anchored orange Wood Block part sized 6x2x10 at position 42,48,18 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,2,10) part.Position = Vector3.new(42,48,18) p...
start: Create a blue diamondplate ball at (-5,15,20) 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(0,0,255) part.Size = Vector3.new(8,1,2) part.Position = Vector3.new(-5,15,20) part.Anchored =...
start: Spawn a green sand ball part at (0,10,20) size (4,2,6) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Sand part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,2,6) part.Position = Vector3.new(0,10,20) part.Anchored = false part.Paren...
begin: Tween Transparency with Back InOut easing, 3s duration, 3 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Transparency = 0.8} lo...
start: Create an unanchored red Plastic Block part sized 2x2x8 at position 26,60,17 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(2,2,8) part.Position = Vector3.new(26,60,17) ...
instruction: Tween Transparency with Quad InOut easing, 0.25s duration, 0 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Transpare...
task: Create an anchored green Wood Block part sized 8x4x2 at position 41,19,16 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(8,4,2) part.Position = Vector3.new(41,19,16) part.Ancho...
input_text: Create a TextBox saying "Exit" 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") ...
input_text: Create a TextLabel saying "Resume" with Roboto font with background Color3.fromRGB(30,30,40) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0,60) ...
input: Create an unanchored purple Wood Block part sized 1x2x10 at position -49,14,19 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(1,2,10) part.Position = Vector3.new(-49,14...
user: Create an anchored yellow Wood Block part sized 6x6x10 at position -34,15,-37 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(6,6,10) part.Position = Vector3.new(-34,15,-37...
task: Create an anchored red Wood Block part sized 8x4x10 at position -43,79,-9 in Roblox Luau. response: 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,10) part.Position = Vector3.new(-43,79,-9) par...
begin: Tween a part's Transparency with Circular Out easing over 0.5s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.Out) local goal = {Transparency = 0.8} local tween = TweenService:...
task: Create an anchored cyan Wood Block part sized 1x1x2 at position 26,31,-6 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(1,1,2) part.Position = Vector3.new(26,31,-6) part.A...
start: Create a Luau script that will Give the player a ForceField that lasts 8 seconds. response: local Players = game:GetService("Players") local function giveForceField(player, duration) local character = player.Character if not character then return end local existingFF = character:FindFirstChild...
user: Tween a part's Transparency with Exponential In easing over 0.5s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In) local goal = {Transparency = 0.8} local tween = TweenSe...
query: Create an unanchored red Plastic Block part sized 4x4x10 at position -43,52,43 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,0,0) part.Size = Vector3.new(4,4,10) part.Position = Vector3.new(-4...
question: Create an anchored white Plastic Block part sized 10x4x6 at position 2,22,-27 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(10,4,6) part.Position = Vector3.new(2,22,-2...