text
stringlengths
54
19.6k
start: Create an unanchored pink Wood Block part sized 4x1x6 at position 32,84,34 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(4,1,6) part.Position = Vector3.new(32,84,34) pa...
begin: Make a block that is lime and glass at (20,1,20) size (4,2,1) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(4,2,1) part.Position = Vector3.new(20,1,20) part.Anchored = true ...
user: Create an anchored black Wood Block part sized 2x2x6 at position 20,66,-26 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,2,6) part.Position = Vector3.new(20,66,-26) part.Anch...
query: Tween Color with Exponential InOut 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.Exponential, Enum.EasingDirection.InOut, 2, false, 0) local goal = {Color ...
query: Create an unanchored cyan Wood Block part sized 2x1x8 at position -10,16,-40 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(2,1,8) part.Position = Vector3.new(-10,16,-40)...
input_text: Create a magenta concrete cylinder at (-10,5,20) size (4,1,2) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,1,2) part.Position = Vector3.new(-10,5,20) part.Anch...
task: Create a lime wood part with Fire effect in Roblox answer: local part = Instance.new("Part") part.Material = Enum.Material.Wood 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 = Instance.new("Fire") fx...
input: Make a cyan CorrodedMetal part with a Smoke effect attached in Roblox Luau. result: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace ...
input: Detect Up key press to reload in Roblox response: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Up then print("Up pressed - reload!") -- Add your reload code...
task: Create an anchored brown Wood Block part sized 4x2x2 at position -3,85,-32 in Roblox Luau. answer: 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(4,2,2) part.Position = Vector3.new(-3,85,-32) par...
instruction: Detect Equals key press to crouch in Roblox output: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Equals then print("Equals pressed - crouch!") -- Add ...
input: Create an unanchored gray Plastic Block part sized 10x6x2 at position 35,40,-30 in Roblox Luau. solution: 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(10,6,2) part.Position = Vector3.new(...
begin: Create an unanchored white Wood Block part sized 10x6x1 at position -28,38,-5 in Roblox Luau. response: 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(10,6,1) part.Position = Vector3.new(-28,38,-5) part...
input_text: Create an unanchored gray Wood Block part sized 8x6x2 at position 28,33,-6 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(8,6,2) part.Position = Vector3.new(28,33,...
question: Create an anchored green Wood Block part sized 2x2x2 at position -27,57,30 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(2,2,2) part.Position = Vector3.new(-27,57,30) part...
question: Create an anchored yellow Wood Block part sized 4x4x6 at position -19,95,34 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(4,4,6) part.Position = Vector3.new(-19,95,...
begin: Tween a part's Transparency with Quart InOut easing over 2s in Roblox finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut) local goal = {Transparency = 0.8} local tween = TweenService:Create(p...
start: Tween a part's CFrame with Circular InOut easing over 1s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local t...
user: Write Roblox Luau code to Use raycasting to detect if the player is on the ground. result: local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local function isOnGround(character) local rootPart = character:FindFirstChild("HumanoidR...
task: Make a white Plastic part with a Sparkles effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = In...
task: Spawn a pink sand ball part at (5,15,-5) size (2,6,1) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Sand part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(2,6,1) part.Position = Vector3.new(5,15,-5) part.Anchored = true part.Parent ...
user: Create a purple grass cylinder at (-10,10,5) size (6,2,1) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Grass part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(6,2,1) part.Position = Vector3.new(-10,10,5) part.Anchored = true pa...
start: Create a TextButton saying "Yes" with Nunito 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.Positi...
input: Create an anchored gray Plastic Block part sized 8x2x10 at position 28,98,8 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(8,2,10) part.Position = Vector3.new(28,9...
begin: Create a rounded Frame with corner radius 24 and a stroke thickness of 1. response: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Instance.n...
begin: Create a TextButton saying "Game Over" top-right 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("TextBu...
begin: Create a TextButton saying "Cancel" with Oswald 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("TextButton") elem.Size = UDim2.new(0.5,0,0,60) elem.Pos...
query: Create a lime corrodedmetal part with Sparkles effect in Roblox finish: 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 = ...
task: Create a rounded Frame with corner radius 4 and a stroke thickness of 2. 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 = Instance.n...
instruction: Make a cyan Plastic part with a PointLight effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace loca...
input: Create an unanchored black Wood Block part sized 12x1x1 at position 50,90,41 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(12,1,1) part.Position = Vector3.new(50,90,41) part.Anch...
user: Help me client code to invoke the "GetServerTime" RemoteFunction and handle the response. output_text: -- LocalScript local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteFunction = ReplicatedStorage:WaitForChild("GetServerTime") local success, result = pcall(function() return remoteFu...
instruction: Create a TextLabel saying "Game Over" with FredokaOne font with background Color3.fromRGB(200,50,50) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,2...
instruction: Create a silver woodplanks cornerwedgepart at position (17, 20, -43) with size (19, 16, 17), anchored=true. finish: local part = Instance.new("CornerWedgePart") part.Size = Vector3.new(19, 16, 17) part.Position = Vector3.new(17, 20, -43) part.Color = Color3.fromRGB(192, 192, 192) part.Material = Enum.Mate...
user: Create an unanchored green Wood Block part sized 8x2x4 at position 31,47,-45 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(8,2,4) part.Position = Vector3.new(31,47,-45) p...
input: Create a TextButton saying "Continue" with PatrickHand font with background Color3.fromRGB(50,50,80) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,40) el...
input_text: Create an anchored black Plastic Block part sized 1x2x10 at position -49,16,48 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(1,2,10) part.Position = Vector3.new(-49...
input_text: Tween CFrame with Linear In easing, 4s duration, 1 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 1, false, 0) local goal = {CFrame = part.CFrame*CFr...
user: Tween a part's Position with Quint Out easing over 3s in Roblox finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService:Creat...
task: Create an anchored white Wood Block part sized 4x1x6 at position -15,72,-6 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(4,1,6) part.Position = Vector3.new(-15,72,-6) part.Anchor...
task: Create a TextButton saying "Pause" with Oswald 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("TextButton") elem.Size = UDim2.new(0,200,0,60) elem....
begin: Create an anchored orange Wood Block part sized 6x1x2 at position -7,83,-48 in Roblox Luau. finish: 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,1,2) part.Position = Vector3.new(-7,83,-48) p...
instruction: Create a projectile weapon that fires a ball at speed 100 dealing 20 damage on hit. result: local tool = script.Parent local damage = 20 local speed = 100 local debounce = false tool.Activated:Connect(function() if debounce then return end debounce = true local character = tool.Parent ...
input_text: Tween Reflectance with Circular Out easing, 0.75s duration, 1 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, 1, true, 0) local goal = {Reflectance =...
begin: Create a TextButton saying "Next" with SourceSansBold font with background Color3.fromRGB(200,50,50) 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,150,0,50) ...
start: Create an anchored gold Plastic Block part sized 1x2x10 at position -30,31,-36 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(1,2,10) part.Position = Vector3.new(-30,31,-...
instruction: Tween a part's Size with Circular In easing over 0.5s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.In) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Cr...
question: Tween Color with Exponential In easing, 3s duration, infinite repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, -1, true, 0) local goal = {Color = Color3.fr...
query: I need to Tween a part's color to RGB(133, 228, 109) over 3.0 seconds. answer: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(3.0, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRG...
begin: Create an unanchored white Plastic Block part sized 12x4x6 at position 20,48,-26 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(12,4,6) part.Position = Vector3.new(20,48,-26) p...
instruction: Create a ProximityPrompt on a door part that says "Open Door" with hold duration 0.1s and max distance 10. result: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Open Door" prompt.ObjectText = "Door" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDurati...
begin: Create a ProximityPrompt on a switch part that says "Activate Switch" with hold duration 1.0s and max distance 5. response: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Activate Switch" prompt.ObjectText = "Switch" prompt.KeyboardKeyCode = Enum.KeyCode.F prompt...
input_text: Create an anchored brown Wood Block part sized 10x1x2 at position 0,92,45 in Roblox Luau. answer: 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,1,2) part.Position = Vector3.new(0,92,45)...
question: Create a TextLabel saying "Delete" with PatrickHand 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("TextLabel") elem.Size = UDim2.new(0.5,0,0...
prompt: Create an unanchored blue Plastic Block part sized 2x4x2 at position 38,61,32 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,4,2) part.Position = Vector3.new(38,61,32...
instruction: Create a TextLabel saying "Next" with PatrickHand 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.2,0,0,50) e...
question: Create a TextButton saying "Pause" with FredokaOne font with background Color3.fromRGB(50,200,50) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0.1,0)...
begin: Create an anchored white Wood Block part sized 6x2x8 at position 43,52,10 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,2,8) part.Position = Vector3.new(43,52,10) part.Anchore...
question: Tween Color with Quint In easing, 3s duration, 2 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 2, false, 0) local goal = {Color = Color3.fromRGB(2...
task: Create an anchored teal Plastic Block part sized 2x2x8 at position 44,85,-44 in Roblox Luau. finish: 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(2,2,8) part.Position = Vector3.new(44,85,-44...
question: Create an unanchored pink Wood Block part sized 12x2x8 at position -35,40,22 in Roblox Luau. output: 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(12,2,8) part.Position = Vector3.new(-35,4...
user: Create an anchored purple Plastic Block part sized 4x4x10 at position 33,84,47 in Roblox Luau. output: 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(4,4,10) part.Position = Vector3.new(33,84,...
query: Create an anchored white Plastic Block part sized 12x1x1 at position 6,81,-34 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,1,1) part.Position = Vector3.new(6,81,-34) part...
task: Create a TextLabel saying "Yes" with GothamBold font with background Color3.fromRGB(128,0,255) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0,40) elem...
begin: Create an unanchored yellow Wood Block part sized 2x6x4 at position 11,76,-34 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(2,6,4) part.Position = Vector3.new(11,76,-34)...
task: Create an anchored yellow Wood Block part sized 8x1x1 at position -34,20,-6 in Roblox Luau. finish: 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,1,1) part.Position = Vector3.new(-34,20,-6) pa...
instruction: Create a Frame with a UIListLayout (padding 8) containing 5 buttons. response: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Instance....
prompt: Create an anchored brown Wood Block part sized 4x2x6 at position -25,24,-49 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(4,2,6) part.Position = Vector3.new(-25,24,-49)...
task: Tween Transparency with Sine InOut easing, 2s duration, 3 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Transparency = 0.8} local...
begin: Create a TextLabel saying "Yes" with Bangers 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(1,0,0,60) elem.Posi...
start: How do you get a reference to the CollectionService service in Roblox? response: local CollectionService = game:GetService("CollectionService")
input_text: Create a TextButton saying "Buy" with PatrickHand font with background Color3.fromRGB(0,120,255) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,200,0,60)...
instruction: Create a TextButton saying "Loading..." bottom-center in Roblox GUI finish: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local elem = Instance.new("...
input: Tween Reflectance with Back Out easing, 2.5s duration, infinite repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, -1, false, 0) local goal = {Reflectance = ...
input_text: Tween Position with Cubic InOut easing, 2.5s duration, 2 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Position = Vector3....
user: Create an unanchored brown Wood Block part sized 10x6x2 at position -25,34,40 in Roblox Luau. answer: 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,2) part.Position = Vector3.new(-25,34,40)...
input_text: Tween Transparency with Exponential InOut easing, 0.75s duration, 3 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 3, false, 0) local goal...
input: Create an anchored green Plastic Block part sized 8x6x10 at position -41,38,50 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(8,6,10) part.Position = Vector3.new(-41,38,...
question: Create an unanchored yellow Plastic Block part sized 6x6x8 at position -29,68,30 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(6,6,8) part.Position = Vector3.new...
prompt: Tween a part's Size with Linear Out easing over 3s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(p...
question: Create an unanchored cyan Wood Block part sized 8x6x10 at position -41,10,14 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,255) part.Size = Vector3.new(8,6,10) part.Position = Vector3.new(-41...
task: Create a TextButton saying "Retry" with Nunito font with background Color3.fromRGB(200,50,50) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,40) elem.P...
query: Create an anchored cyan Plastic Block part sized 2x6x10 at position -37,97,3 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(2,6,10) part.Position = Vector3.new(-37,9...
user: Create an unanchored black Plastic Block part sized 8x6x2 at position -7,89,-36 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(8,6,2) part.Position = Vector3.new(-7,89,-36) p...
start: Create a TextLabel saying "Close" with Michroma font with background Color3.fromRGB(255,128,0) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0,50) ele...
start: Create an anchored gold Wood Block part sized 8x1x1 at position -13,94,-43 in Roblox Luau. completion: 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(8,1,1) part.Position = Vector3.new(-13,94,-4...
start: Tween CFrame with Sine Out easing, 3s duration, 0 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0) local goal = {CFrame = part.CFrame*CFrame.new...
input: Create a teal granite part with Smoke effect in Roblox result: local part = Instance.new("Part") part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new("S...
input: Apply a VectorForce of (76, 593, 98) to a part using an Attachment. response: local part = workspace:WaitForChild("ForcePart") local attachment = Instance.new("Attachment") attachment.Parent = part local vectorForce = Instance.new("VectorForce") vectorForce.Force = Vector3.new(76, 593, 98) vectorForce.Attachm...
task: Tween Transparency with Elastic Out easing, 4s duration, 1 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 1, false, 0) local goal = {Transparency = 0.8} ...
start: Create an anchored yellow Wood Block part sized 8x1x2 at position 48,88,-20 in Roblox Luau. end: 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,1,2) part.Position = Vector3.new(48,88,-20) part...
prompt: Tween Size with Quint In easing, 2s duration, infinite repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.In, -1, true, 0) local goal = {Size = Vector3.new(8,8,8)} ...
query: Spawn a gold corrodedmetal block part at (0,50,5) size (4,6,1) in Roblox. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(4,6,1) part.Position = Vector3.new(0,50,5) part.Anchor...
question: Create an anchored brown Wood Block part sized 12x2x6 at position -47,64,-22 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(12,2,6) part.Position = Vector3.new(-47,6...
instruction: Create a TextButton saying "Start" with Michroma 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(1,0,0,60) ...
task: Create a TextButton saying "Close" with FredokaOne font with background Color3.fromRGB(0,0,0) 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,50) ele...
begin: Create a ScreenGui with a TextLabel that says "You Win!" using font Bodoni at size 64. answer: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" screenGui.Pare...
start: Create an unanchored cyan Plastic Block part sized 12x4x6 at position 46,66,-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(12,4,6) part.Position = Vector3.new(46,6...
input_text: Create an anchored purple Wood Block part sized 10x1x2 at position 39,95,10 in Roblox Luau. response: 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(10,1,2) part.Position = Vector3.new(39,9...
instruction: Create a gold granite part with PointLight effect in Roblox completion: local part = Instance.new("Part") part.Material = Enum.Material.Granite 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 = ...