text
stringlengths
54
19.6k
input: Create an unanchored brown Plastic Block part sized 2x1x2 at position -20,28,25 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(2,1,2) part.Position = Vector3.new(-20,2...
begin: Make a script that a script that clones a part from ServerStorage and places it at a random position in the workspace. answer: local ServerStorage = game:GetService("ServerStorage") local template = ServerStorage:WaitForChild("TemplatePart") local clone = template:Clone() clone.Position = Vector3.new( math...
query: Create an unanchored purple Plastic Block part sized 6x6x6 at position 5,58,21 in Roblox Luau. model: 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(6,6,6) part.Position = Vector3.new(5,58,21...
query: Tween Color with Back InOut easing, 3s duration, 1 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 1, true, 0) local goal = {Color = Color3.fromRGB(255,0,0)} ...
input_text: Create an unanchored yellow Wood Block part sized 8x4x4 at position -39,7,-2 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(8,4,4) part.Position = Vector3.new(-3...
begin: How do I Connect two parts with a SpringConstraint. answer: 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 con...
task: Create a TextLabel saying "Submit" with Nunito font with background Color3.fromRGB(128,0,255) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,150,0.1,0) elem.P...
start: Tween Reflectance with Quad Out easing, 4s duration, 1 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0) local goal = {Reflectance = 0.9} local tw...
task: Make a cylinder that is gold and glass at (5,25,0) size (2,4,6) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(2,4,6) part.Position = Vector3.new(5,25,0) part.Anchored = tr...
begin: Create an unanchored purple Plastic Block part sized 8x1x1 at position -1,2,-13 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(8,1,1) part.Position = Vector3.new(-...
query: Spawn a green forcefield block part at (10,25,5) size (2,6,8) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.ForceField part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(2,6,8) part.Position = Vector3.new(10,25,5) part.Anchored = fa...
question: Create a TextLabel saying "Score: 0" with FredokaOne font with background Color3.fromRGB(40,40,40) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.5,0,0,50) ...
question: Create an anchored red Plastic Block part sized 4x2x4 at position 25,29,-50 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,2,4) part.Position = Vector3.new(25,...
instruction: Create an anchored black Plastic Block part sized 1x6x2 at position -25,47,-44 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,6,2) part.Position = Vector3.new(-25,47,-...
input_text: Spawn a cyan cobblestone block part at (5,20,-5) size (6,6,4) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(6,6,4) part.Position = Vector3.new(5,20,-5) part.Ancho...
input_text: Create a TextLabel saying "Undo" with Oswald 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,200,0,40) elem....
task: Create an anchored orange Plastic Block part sized 4x6x10 at position -17,28,-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,128,0) part.Size = Vector3.new(4,6,10) part.Position = Vector3.new(-17,28,...
user: Create an anchored white Plastic Block part sized 12x6x6 at position 2,25,-42 in Roblox Luau. finish: 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,6,6) part.Position = Vector3.new(2,25,-42) part....
begin: Make a gold CorrodedMetal part with a Sparkles effect attached in Roblox Luau. output_text: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 = wo...
task: Create an anchored orange Wood Block part sized 12x4x8 at position -49,64,37 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(12,4,8) part.Position = Vector3.new(-49,64,37) ...
query: Create a TextButton saying "Cancel" with GothamBold 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("TextButton") elem.Size = UDim2.new(0.2,0,0,40) ele...
prompt: Create an unanchored red Wood Block part sized 12x2x10 at position 41,29,-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,0,0) part.Size = Vector3.new(12,2,10) part.Position = Vector3.new(41,29,-21) ...
input: Create an unanchored orange Wood Block part sized 8x2x2 at position -34,29,-4 in Roblox Luau. output: 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,2,2) part.Position = Vector3.new(-34,29,-4)...
question: Tween a part's Color with Back Out easing over 3s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Creat...
begin: Create a TextLabel saying "Play" with Creepster 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("TextLabel") elem.Size = UDim2.new(0,200,0,50) elem.Posi...
task: Script a block with foil material colored cyan at (0,20,20) size (1,4,6) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(1,4,6) part.Position = Vector3.new(0,20,20) part.Anchore...
input_text: Spawn a gold ice block part at (20,25,-5) size (4,2,6) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Ice part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(4,2,6) part.Position = Vector3.new(20,25,-5) part.Anchored = false part....
input_text: Tween a part's Color with Circular Out easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Circular, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = Twee...
user: Help me a simple cutscene camera that moves between waypoints. solution: local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local waypoints = { CFrame.new(0, 20, 50) * CFrame.Angles(math.r...
start: Create an anchored black Wood Block part sized 6x1x6 at position -28,62,-2 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(6,1,6) part.Position = Vector3.new(-28,62,-2) part.Ancho...
input_text: Create a TextButton saying "Close" with PatrickHand font with background Color3.fromRGB(30,30,40) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0,60) e...
input: Create a ProximityPrompt on a door part that says "Open Door" with hold duration 0.8s and max distance 10. output_text: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Open Door" prompt.ObjectText = "Door" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDuratio...
input_text: Create an anchored green Plastic Block part sized 8x1x4 at position 9,75,20 in Roblox Luau. result: 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(8,1,4) part.Position = Vector3.new(9,75,2...
begin: Create an anchored red Plastic Block part sized 8x4x4 at position 29,96,-31 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(8,4,4) part.Position = Vector3.new(29,96,...
question: Script a ball with neon material colored gold at (10,10,10) size (6,4,1) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,4,1) part.Position = Vector3.new(10,10,10) par...
begin: Create an unanchored blue Wood Block part sized 10x4x4 at position -19,23,29 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(10,4,4) part.Position = Vector3.new(-19,23,29) p...
question: How do I Tween a part's size to (1, 12, 18) over 2.5 seconds. end: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(2.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector3.new(1, 12, 18) } ...
input: Create a TextLabel saying "Delete" with Michroma font with background Color3.fromRGB(30,30,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.3,0,0,60) elem....
prompt: Create a ScreenGui with a TextLabel that says "You Win!" using font SciFi at size 32. output: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" screenGui.Pare...
query: Create an unanchored gray Plastic Block part sized 8x6x10 at position 8,93,-26 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,6,10) part.Position = Vector3.ne...
prompt: Create a TextButton saying "Next" with Bangers font with background Color3.fromRGB(0,0,0) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0,50) elem.Posit...
begin: Script a cylinder with sand material colored purple at (0,10,-5) size (4,4,8) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Sand part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(4,4,8) part.Position = Vector3.new(0,10,-5) par...
input: Create an anchored blue Wood Block part sized 8x1x8 at position 42,60,-7 in Roblox Luau. completion: 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,8) part.Position = Vector3.new(42,60,-7) par...
task: Create a gold plastic part with Smoke effect in Roblox completion: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 = Instance.new...
instruction: Tween Size with Circular In easing, 3s duration, 2 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 2, true, 0) local goal = {Size = Vector3.new(8,8,8)}...
task: Create an anchored orange Wood Block part sized 12x6x8 at position -44,63,-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,128,0) part.Size = Vector3.new(12,6,8) part.Position = Vector3.new(-44,6...
begin: Script a ball with slate material colored brown at (10,10,-10) size (6,4,4) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,4,4) part.Position = Vector3.new(10,10,-10) part.A...
begin: Script a block with smoothplastic material colored gold at (-5,10,10) size (6,2,8) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,2,8) part.Position = Vector3.new(-...
begin: Create a TextLabel saying "Welcome!" with Oswald font with background Color3.fromRGB(50,50,80) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0.08,0) ele...
input: Script for Lock the camera to first person mode. output_text: local Players = game:GetService("Players") local player = Players.LocalPlayer -- Force first person player.CameraMode = Enum.CameraMode.LockFirstPerson player.CameraMinZoomDistance = 0.5 player.CameraMaxZoomDistance = 0.5
task: Tween CFrame with Linear InOut easing, 5s duration, infinite repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, true, 0) local goal = {CFrame = part.CFrame*...
user: Create an anchored black Wood Block part sized 1x2x10 at position 21,96,12 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,2,10) part.Position = Vector3.new(21,96,12) part.Anchore...
input_text: Create an unanchored red Wood Block part sized 12x4x1 at position -4,5,-15 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(12,4,1) part.Position = Vector3.new(-4,5,-15)...
input: Create an anchored orange Plastic Block part sized 1x2x8 at position -6,12,6 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(-6,...
start: Create a TextButton saying "Resume" with RobotoMono font with background Color3.fromRGB(0,0,0) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.2,0,0.1,0) elem....
prompt: Create an anchored purple Wood Block part sized 4x1x6 at position 45,18,-35 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(4,1,6) part.Position = Vector3.new(45,18,...
start: Create a TextButton saying "Welcome!" with LuckiestGuy font with background Color3.fromRGB(255,128,0) in Roblox GUI. solution: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,50)...
input: Tween a part to position (-4, 10, 22) over 2.8 seconds using Quint easing (Out). output_text: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("MovingPart") local tweenInfo = TweenInfo.new( 2.8, Enum.EasingStyle.Quint, Enum.EasingDirection.Out ) local goal ...
begin: Create an unanchored brown Wood Block part sized 6x6x2 at position 0,21,32 in Roblox Luau. response: 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,6,2) part.Position = Vector3.new(0,21,32) pa...
start: Create an unanchored purple Plastic Block part sized 1x4x4 at position 23,77,48 in Roblox Luau. model: 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(1,4,4) part.Position = Vector3.new(23,77,...
question: Create an anchored purple Wood Block part sized 6x6x2 at position -23,88,33 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(6,6,2) part.Position = Vector3.new(-23,88,33...
query: Create an anchored cyan Plastic Block part sized 8x2x4 at position -45,38,33 in Roblox Luau. result: 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(8,2,4) part.Position = Vector3.new(-45,38,3...
prompt: Tween Size with Bounce InOut easing, 0.5s duration, 0 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Size = Vector3.new(8,8,8)} l...
instruction: Create an anchored white Plastic Block part sized 6x6x6 at position 28,1,47 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(6,6,6) part.Position = Vector3.new(28,1,47) ...
input_text: Create a lime fabric wedgepart at position (-48, 14, -4) with size (20, 11, 16), anchored=false. completion: local part = Instance.new("WedgePart") part.Size = Vector3.new(20, 11, 16) part.Position = Vector3.new(-48, 14, -4) part.Color = Color3.fromRGB(0, 255, 0) part.Material = Enum.Material.Fabric part.A...
begin: Tween Color with Cubic InOut easing, 2.5s duration, 1 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 1, false, 0) local goal = {Color = Color3.fromR...
query: Create an unanchored red Plastic Block part sized 1x6x6 at position -30,60,-2 in Roblox Luau. answer: 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,6) part.Position = Vector3.new(-30,60,-2...
begin: Create a TextLabel saying "Continue" with Bangers 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) elem.P...
input_text: Create an unanchored green Wood Block part sized 1x6x8 at position -13,26,-31 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,6,8) part.Position = Vector3.new(-13,26,-...
question: Script a ball with metal material colored yellow at (20,15,20) size (8,1,2) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Metal part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(8,1,2) part.Position = Vector3.new(20,15,20) pa...
start: Create an anchored blue Plastic Block part sized 6x4x10 at position -14,85,1 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(6,4,10) part.Position = Vector3.new(-14,85,...
user: Create an unanchored cyan Plastic Block part sized 12x2x6 at position -46,71,-17 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(12,2,6) part.Position = Vector3.new(-4...
query: Create an unanchored gray Plastic Block part sized 4x6x2 at position 12,50,-42 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(4,6,2) part.Position = Vector3.new...
instruction: Implement a way to Detect when a player dies and respawn them after 10 seconds. output_text: local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") ...
input: Tween a part's size to (7, 5, 8) over 3.3 seconds. completion: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(3.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector3.new(7, 5, 8) } local tw...
query: Create an anchored pink Wood Block part sized 2x4x8 at position 28,88,6 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(2,4,8) part.Position = Vector3.new(28,88,6) part.A...
user: Add a SunRaysEffect post-processing effect to the game's Lighting. model: local Lighting = game:GetService("Lighting") local effect = Instance.new("SunRaysEffect") effect.Intensity = 0.1 effect.Spread = 0.5 effect.Parent = Lighting
prompt: Help me Set the player's WalkSpeed to 50 and JumpPower to 50. model: local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.WalkSpeed = 50 ...
query: Create an anchored green Wood Block part sized 2x6x4 at position 47,49,4 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(2,6,4) part.Position = Vector3.new(47,49,4) part...
start: Create an anchored white Wood Block part sized 6x4x10 at position 26,90,17 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(6,4,10) part.Position = Vector3.new(26,90,17) part.Ancho...
prompt: Create an anchored yellow Wood Block part sized 2x2x6 at position 37,71,2 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(2,2,6) part.Position = Vector3.new(37,71,2) ...
prompt: Create an anchored brown Wood Block part sized 12x6x8 at position 42,45,41 in Roblox Luau. model: 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(12,6,8) part.Position = Vector3.new(42,45,41) pa...
input: Create an explosion with blast pressure 100 and radius 30 at a part's position. solution: local part = workspace:WaitForChild("ExplosionPart") local explosion = Instance.new("Explosion") explosion.Position = part.Position explosion.BlastPressure = 100 explosion.BlastRadius = 30 explosion.DestroyJointRadiusPerc...
input_text: Create a TextLabel saying "Shop" with GothamBold 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.2,0,0,50) el...
task: Tween Position with Quint In easing, 3s duration, 0 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 0, false, 0) local goal = {Position = Vector3.new(10,5,0)...
input: Tween Color with Quad Out easing, 4s duration, infinite repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, -1, false, 0) local goal = {Color = Color3.fromRGB...
start: Tween a part's color to RGB(167, 151, 156) over 1.6 seconds. finish: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(1.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(167, 151...
input: Create an anchored pink Plastic Block part sized 2x1x8 at position -37,10,-7 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(2,1,8) part.Position = Vector3.new(-37,10...
task: Create a ProximityPrompt on a npc part that says "Talk to NPC" with hold duration 0.6s and max distance 15. completion: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Talk to NPC" prompt.ObjectText = "NPC" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDuratio...
begin: Tween Color with Cubic In easing, 2s duration, 2 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 2, false, 0) local goal = {Color = Color3.fromRGB(255,0,0)}...
task: Tween Size with Quart Out easing, 0.75s duration, 2 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 2, false, 0) local goal = {Size = Vector3.new(8,8,8...
user: Create a Staff tool that deals 25 damage when activated. output: local tool = script.Parent local damage = 25 local debounce = false local cooldown = 0.5 tool.Activated:Connect(function() if debounce then return end debounce = true local character = tool.Parent local humanoid = character:Fi...
question: Create an anchored white Wood Block part sized 2x2x8 at position 30,8,23 in Roblox Luau. solution: 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(2,2,8) part.Position = Vector3.new(30,8,23) part.Anch...
input: Play a sound with volume 0.2, pitch 2.0, looped=true. finish: local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID sound.Volume = 0.2 sound.PlaybackSpeed = 2.0 sound.Looped = true sound.Parent = workspace sound:Play() -- Sound will loop continuously
input: Create an anchored pink Plastic Block part sized 4x1x10 at position -40,51,41 in Roblox Luau. output: 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(4,1,10) part.Position = Vector3.new(-40,...
question: Create an anchored yellow Wood Block part sized 6x4x4 at position -50,46,40 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,4,4) part.Position = Vector3.new(-50,46,40...
user: Make a brown Concrete part with a Fire effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 = Ins...
input: Create an unanchored black Plastic Block part sized 2x6x2 at position 42,9,34 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,6,2) part.Position = Vector3.new(42,9,34) part.A...
user: Create a green diamondplate cylinder at (20,10,-5) size (1,4,4) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,4,4) part.Position = Vector3.new(20,10,-5) part.Anchored ...
task: Create an anchored orange Wood Block part sized 4x6x8 at position -14,3,32 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(4,6,8) part.Position = Vector3.new(-14,3,32) part...