text
stringlengths
54
19.6k
task: Spawn a green slate block part at (5,50,0) size (4,6,8) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,6,8) part.Position = Vector3.new(5,50,0) part.Anchored = false part.Parent ...
prompt: Tween CFrame with Quart InOut easing, 2.5s duration, 2 repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 2, false, 0) local goal = {CFrame = part.CFrame*CF...
input_text: Create a TextLabel saying "Ready?" with Bangers 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.3,0,0,60) elem.P...
user: Tween CFrame with Cubic Out easing, 0.75s duration, 2 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 2, true, 0) local goal = {CFrame = part.CFrame*CFrame.n...
instruction: Make a white Concrete part with a Sparkles effect attached in Roblox Luau. solution: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 ...
prompt: Create an anchored cyan Plastic Block part sized 4x6x2 at position -47,49,-32 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,6,2) part.Position = Vector3.new(-47,49...
prompt: Create a TextLabel saying "Save" with LuckiestGuy font with background Color3.fromRGB(30,30,40) 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,150,0.1,0) elem....
query: Tween Reflectance with Back Out easing, 2.5s duration, 2 repeats, non-reversing in Roblox. completion: 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 = {Reflectance = 0.9}...
start: Tween Position with Quint Out easing, 1.5s duration, 1 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 1, false, 0) local goal = {Position = Vector3....
begin: Tween Transparency with Bounce InOut easing, 0.75s duration, 1 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 1, true, 0) local goal = {Transparency =...
query: Make a cylinder that is green and cobblestone at (20,5,5) size (1,2,2) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,2,2) part.Position = Vector3.new(20,5,5) part.A...
prompt: Create a TextButton saying "Shop" with RobotoMono font with background Color3.fromRGB(255,128,0) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.3,0,0,50) ele...
instruction: Tween Size with Bounce InOut easing, 0.5s duration, 3 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Size = Vector...
query: Create a TextButton saying "Yes" with RobotoMono font with background Color3.fromRGB(0,120,255) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,50) elem....
user: Create an anchored pink Plastic Block part sized 10x2x10 at position -50,58,-15 in Roblox Luau. completion: 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(10,2,10) part.Position = Vector3.ne...
input: Tween Transparency with Linear InOut easing, 1.5s duration, 2 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Transparency = 0...
input: Create a TextLabel saying "Game Over" with GothamBold font with background Color3.fromRGB(255,128,0) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,150,0.1,0) ...
prompt: Create an anchored green Wood Block part sized 10x4x6 at position 26,41,-11 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(10,4,6) part.Position = Vector3.new(26,41,-11)...
prompt: Create an unanchored blue Wood Block part sized 10x4x2 at position 0,79,-28 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(10,4,2) part.Position = Vector3.new(0,79,-28...
input_text: Make a purple DiamondPlate part with a Fire effect attached in Roblox Luau. finish: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate 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 = worksp...
input_text: Can you write code to Tween a part's size to (3, 3, 10) over 1.9 seconds. result: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(1.9, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector3....
input: Create a TextLabel saying "Click Me" with Ubuntu 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.3,0,0,40) elem.Pos...
start: Tween Transparency with Quint InOut easing, 0.75s duration, infinite repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, -1, false, 0) local goal = {T...
prompt: Create a rounded Frame with corner radius 16 and a stroke thickness of 1. completion: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Instanc...
query: Create an anchored red Plastic Block part sized 12x6x4 at position 3,69,45 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(12,6,4) part.Position = Vector3.new(3,69,45) pa...
question: Spawn a green granite ball part at (-10,10,20) size (8,2,1) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(8,2,1) part.Position = Vector3.new(-10,10,20) part.Anchored ...
instruction: Use FindFirstChild to find by name in workspace in Roblox output_text: local result = workspace:FindFirstChild("MyObject") if typeof(result) ~= "table" then if result then print("Found:", result.Name) end end
instruction: Create an unanchored gold Wood Block part sized 1x2x8 at position 15,55,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,215,0) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(15,55,2)...
input: Create an anchored brown Wood Block part sized 10x2x1 at position -47,81,-8 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(10,2,1) part.Position = Vector3.new(-47,81,-8) ...
task: Detect Z key press to use an ability in Roblox result: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Z then print("Z pressed - use an ability!") -- Add your u...
user: Create an anchored teal Plastic Block part sized 4x6x4 at position -2,17,5 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(4,6,4) part.Position = Vector3.new(-2,17,5...
question: Create an unanchored cyan Wood Block part sized 12x4x4 at position 28,92,-3 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(12,4,4) part.Position = Vector3.new(28,92,-3) p...
task: Create an anchored white Plastic Block part sized 8x2x1 at position -10,89,-49 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(8,2,1) part.Position = Vector3.new(-10,89,-49) part.A...
task: Create a orange sand part with Sparkles effect in Roblox result: local part = Instance.new("Part") part.Material = Enum.Material.Sand 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 = Instance.new("Spa...
begin: Tween Transparency with Sine InOut easing, 2s duration, 2 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Transparency = 0.8} local twe...
input_text: Create a TextButton saying "No" with Bangers font with background Color3.fromRGB(40,40,40) in Roblox GUI. solution: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.3,0,0.08,0) e...
user: Set the player's maximum health to 100 and fully heal them. output_text: local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.MaxHealth = 100 ...
begin: Create a black grass part with Highlight effect in Roblox answer: local part = Instance.new("Part") part.Material = Enum.Material.Grass 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 = Instance.new("Highligh...
user: Tween Position with Circular Out easing, 1.5s duration, 0 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, 0, true, 0) local goal = {Position = Vector3....
input_text: Create an anchored gray Plastic Block part sized 2x1x2 at position -10,71,-49 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(2,1,2) part.Position = Vector3.new(...
task: Spawn a cyan granite cylinder part at (10,5,-5) size (8,2,6) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(8,2,6) part.Position = Vector3.new(10,5,-5) part.Anchored = fal...
start: Create a TextLabel saying "Start" with Roboto 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,200,0.1,0) elem.Pos...
task: Tween a part's Size with Linear Out easing over 1s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(par...
instruction: Create an unanchored orange Wood Block part sized 2x1x10 at position 30,10,-24 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(2,1,10) part.Position = Vector3.new(30...
begin: Tween Color with Cubic InOut easing, 0.75s duration, infinite repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Color = Color3.fr...
task: Tween a part's Color with Sine In easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.In) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create(...
user: Create a ProximityPrompt on a coin part that says "Collect Coin" with hold duration 0.7s and max distance 10. output: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Collect Coin" prompt.ObjectText = "Coin" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDuratio...
start: Create an unanchored cyan Plastic Block part sized 6x4x4 at position 24,33,-50 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(6,4,4) part.Position = Vector3.new(24,33,-50...
question: Tween Color with Exponential Out easing, 1.5s duration, 3 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.Out, 3, false, 0) local goal = {Color ...
user: Make a gold Wood part with a Smoke effect attached in Roblox Luau. completion: 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 = Inst...
begin: Create a TextLabel saying "Score: 0" with Bangers 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("TextLabel") elem.Size = UDim2.new(0.5,0,0,50) elem.Posi...
query: Create a pink slate part with Sparkles effect in Roblox model: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new("S...
prompt: Create an anchored gold Wood Block part sized 10x2x2 at position 47,30,-31 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(10,2,2) part.Position = Vector3.new(47,30,...
input: Tween Reflectance with Elastic InOut 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.Elastic, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Reflectance = 0.9} loc...
question: Create a ScreenGui with a TextLabel that says "Press Play" using font Garamond at size 32. completion: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" scr...
prompt: Set the player's maximum health to 200 and fully heal them. finish: local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.MaxHealth = 200 ...
question: Create a TextButton saying "Settings" with Bangers 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("TextButton") elem.Size = UDim2.new(0,150,0.08,0) e...
prompt: Tween Color with Exponential InOut easing, 5s duration, infinite repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Col...
prompt: Create an anchored teal Plastic Block part sized 1x4x6 at position -15,85,20 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(1,4,6) part.Position = Vector3.new(-15,85,2...
input: Tween a part's Position with Elastic InOut easing over 3s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut) local goal = {Position = Vector3.new(10,5,0)} local tween = Tween...
query: Tween a part's Position with Circular In easing over 2s in Roblox finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Circular, Enum.EasingDirection.In) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService:...
input: Create a TextLabel saying "Menu" with Roboto font with background Color3.fromRGB(50,50,80) 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.3,0,0,60) elem.Po...
input: Make a blue Plastic part with a Smoke effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 local fx = Instan...
input_text: Make a teal CorrodedMetal part with a Smoke effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 = w...
question: Create a TextButton saying "Welcome!" with Michroma font with background Color3.fromRGB(0,0,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(1,0,0.08,0) elem...
task: Create an anchored red Wood Block part sized 4x2x2 at position 16,44,46 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(4,2,2) part.Position = Vector3.new(16,44,46) part....
instruction: Spawn a gold brick block part at (20,10,-5) size (2,4,1) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(2,4,1) part.Position = Vector3.new(20,10,-5) part.Anchored = t...
task: Create a lime neon block at (10,15,10) size (1,2,6) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(1,2,6) part.Position = Vector3.new(10,15,10) part.Anchored = false part.Paren...
task: Create an anchored brown Wood Block part sized 1x6x2 at position 11,33,15 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,6,2) part.Position = Vector3.new(11,33,15) part....
input: Create an anchored pink Plastic Block part sized 1x4x4 at position -27,78,-10 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(1,4,4) part.Position = Vector3.new(-27,7...
begin: Create an unanchored green Plastic Block part sized 4x6x10 at position 14,72,35 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,6,10) part.Position = Vector3.new(14,72,35)...
instruction: Create a TextButton saying "Undo" with Roboto 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("TextButton") elem.Size = UDim2.new(0.3,0,0.1,0) ...
input_text: Create an anchored green Wood Block part sized 4x6x10 at position 46,94,-39 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(4,6,10) part.Position = Vector3.new(46,94,-39) ...
start: Write a Roblox script to a navy ice part at position (41, 40, -23) with size (3, 7, 19), anchored=false. output_text: local part = Instance.new("Part") part.Size = Vector3.new(3, 7, 19) part.Position = Vector3.new(41, 40, -23) part.Color = Color3.fromRGB(0, 0, 128) part.Material = Enum.Material.Ice part.Anchore...
query: Show me how to an enemy/NPC spawning system that spawns enemies at random spawn points on a timer. output_text: local ServerStorage = game:GetService("ServerStorage") local spawnFolder = workspace:WaitForChild("SpawnPoints") local enemyTemplate = ServerStorage:WaitForChild("Enemy") local MAX_ENEMIES = 10 loca...
query: Create a TextBox saying "Click Me" top-left in Roblox GUI solution: 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...
begin: Create a teal slate meshpart at position (22, 12, -41) with size (1, 15, 20), anchored=true. response: local part = Instance.new("MeshPart") part.Size = Vector3.new(1, 15, 20) part.Position = Vector3.new(22, 12, -41) part.Color = Color3.fromRGB(0, 128, 128) part.Material = Enum.Material.Slate part.Anchored = tr...
task: Create an unanchored gray Wood Block part sized 4x2x1 at position -9,72,11 in Roblox Luau. completion: 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(4,2,1) part.Position = Vector3.new(-9,72,11...
query: Create an anchored black Plastic Block part sized 8x1x6 at position 20,52,-17 in Roblox Luau. finish: 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(8,1,6) part.Position = Vector3.new(20,52,-17) part...
question: Create an anchored red Wood Block part sized 1x4x8 at position 36,21,-28 in Roblox Luau. completion: 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,4,8) part.Position = Vector3.new(36,21,-28)...
begin: Create an anchored purple Plastic Block part sized 6x6x4 at position -37,17,-39 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,4) part.Position = Vector3.new(-37,17...
user: Teleport the player's character to position (-24, 41, 80). output_text: local Players = game:GetService("Players") local function teleportPlayer(player, position) local character = player.Character if character then local rootPart = character:FindFirstChild("HumanoidRootPart") if rootPar...
input_text: Tween a part's Color with Circular InOut easing over 5s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = Twee...
prompt: Create an anchored cyan Wood Block part sized 4x2x4 at position -17,78,46 in Roblox Luau. finish: 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,2,4) part.Position = Vector3.new(-17,78,46) pa...
input_text: Tween a part's Transparency with Quint In easing over 3s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quint, Enum.EasingDirection.In) local goal = {Transparency = 0.8} local tween = TweenService:Create(...
user: Create an unanchored red Wood Block part sized 10x4x2 at position -6,81,-23 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(10,4,2) part.Position = Vector3.new(-6,81,-23) par...
start: Create an anchored yellow Wood Block part sized 1x4x1 at position 14,39,-4 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(1,4,1) part.Position = Vector3.new(14,39,-4)...
instruction: Create a TextBox saying "Start" 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") el...
question: Tween a part's Size with Linear In easing over 3s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create...
question: Tween Transparency with Circular InOut easing, 5s duration, infinite repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, -1, false, 0) local goal = {...
instruction: Create an anchored purple Plastic Block part sized 12x1x10 at position 23,14,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,0,255) part.Size = Vector3.new(12,1,10) part.Position = Vect...
input_text: Create a TextButton saying "Save" with Roboto font with background Color3.fromRGB(255,128,0) 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.08,0) e...
instruction: Tween Position with Bounce Out easing, 5s duration, 0 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, true, 0) local goal = {Position = Vector3.new(1...
begin: Create an anchored black Plastic Block part sized 10x6x4 at position 16,87,28 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(10,6,4) part.Position = Vector3.new(16,87,28) pa...
instruction: Create an unanchored red Wood Block part sized 10x6x1 at position 37,44,31 in Roblox Luau. completion: 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(10,6,1) part.Position = Vector3.new(37,4...
user: Create an anchored gold Plastic Block part sized 6x6x1 at position 14,100,43 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,6,1) part.Position = Vector3.new(14,100,...
start: Create a TextButton saying "Pause" with Oswald font with background Color3.fromRGB(0,120,255) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,200,0,40) el...
instruction: Create an anchored orange Plastic Block part sized 12x4x4 at position -30,13,-19 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(12,4,4) part.Position = Vector3...
prompt: Create an anchored cyan Plastic Block part sized 4x6x10 at position -24,97,19 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,6,10) part.Position = Vector3.new(...
user: Tween Color with Cubic InOut easing, 2s duration, 3 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Color = Color3.fromRGB...