text
stringlengths
54
19.6k
input_text: Create a TextLabel saying "Start" with FredokaOne 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("TextLabel") elem.Size = UDim2.new(0.5,0,0,60...
user: Create a TextLabel saying "Score: 0" with RobotoMono font with background Color3.fromRGB(128,0,255) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0.1,0) elem....
start: Create a orange wood ball at (-10,5,-10) size (2,4,6) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(2,4,6) part.Position = Vector3.new(-10,5,-10) part.Anchored = false par...
begin: Tween Color with Linear Out easing, 2.5s duration, 2 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 2, true, 0) local goal = {Color = Color3.fromRGB(25...
task: Create an unanchored cyan Wood Block part sized 2x6x8 at position -9,57,-28 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(2,6,8) part.Position = Vector3.new(-9,57,-28) pa...
instruction: Create an anchored pink Plastic Block part sized 1x6x2 at position 7,2,-17 in Roblox Luau. solution: 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,6,2) part.Position = Vector3.new(...
start: Create an unanchored purple Wood Block part sized 4x6x10 at position 38,60,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(128,0,255) part.Size = Vector3.new(4,6,10) part.Position = Vector3.new(38,6...
input_text: Create an unanchored blue Wood Block part sized 10x2x10 at position 44,12,-14 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,2,10) part.Position = Vector3.new(44,12...
question: Create a ProximityPrompt on a teleporter part that says "Use Teleporter" with hold duration 1.7s and max distance 5. completion: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Use Teleporter" prompt.ObjectText = "Teleporter" prompt.KeyboardKeyCode = Enum.KeyCo...
prompt: Spawn a magenta marble block part at (-5,1,-5) size (2,1,2) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Marble part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(2,1,2) part.Position = Vector3.new(-5,1,-5) part.Anchored = true ...
question: Script a cylinder with cobblestone material colored lime at (-10,10,20) size (8,4,8) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(8,4,8) part.Position = Vec...
question: Create an unanchored blue Wood Block part sized 4x4x6 at position -26,69,-2 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(4,4,6) part.Position = Vector3.new(-26,69,-2) ...
start: Create an anchored cyan Wood Block part sized 4x6x1 at position -5,11,45 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(4,6,1) part.Position = Vector3.new(-5,11,45) p...
input: Create a ProximityPrompt on a teleporter part that says "Use Teleporter" with hold duration 1.3s and max distance 7. finish: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Use Teleporter" prompt.ObjectText = "Teleporter" prompt.KeyboardKeyCode = Enum.KeyCode.F pr...
input_text: Tween Size with Linear InOut easing, 5s duration, 2 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Size = Vector3.new(8,8,8)}...
query: Tween a part's Reflectance with Quart In easing over 5s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quart, Enum.EasingDirection.In) local goal = {Reflectance = 0.9} local tween = TweenService:Create(part, info, ...
user: Tween Position with Cubic Out easing, 2.5s duration, 0 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 0, false, 0) local goal = {Position = Vector3.new(10...
begin: Create a TextLabel saying "Help" with GothamBold font with background Color3.fromRGB(255,128,0) 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.2,0,0,60) elem...
prompt: Create an anchored yellow Wood Block part sized 2x6x1 at position -10,97,-1 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(2,6,1) part.Position = Vector3.new(-10,97,-1) ...
input: Create an unanchored red Plastic Block part sized 1x1x10 at position 21,26,41 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(1,1,10) part.Position = Vector3.new(21,26,...
input_text: Create an anchored gold Plastic Block part sized 6x2x10 at position 10,16,-18 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(6,2,10) part.Position = Vector3.new(10,1...
start: Tween Size with Quad In easing, 0.5s duration, 0 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 0, false, 0) local goal = {Size = Vector3.new(8,8,8)} lo...
query: Create an unanchored pink Plastic Block part sized 8x2x6 at position -42,44,-15 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(8,2,6) part.Position = Vector3.new(-42...
query: Set the player's maximum health to 50 and fully heal them. result: local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.MaxHealth = 50 hu...
question: Create an unanchored brown Wood Block part sized 4x4x10 at position 12,99,20 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(4,4,10) part.Position = Vector3.new(12,99,20...
user: Tween a part's Color with Exponential In easing over 0.5s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = Twee...
begin: Create an unanchored red Plastic Block part sized 6x1x6 at position -14,55,39 in Roblox Luau. finish: 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(6,1,6) part.Position = Vector3.new(-14,55,39...
input: Tween Transparency with Quad In easing, 1.5s duration, 1 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 1, true, 0) local goal = {Transparency = 0.8} local ...
instruction: Create an unanchored gray Wood Block part sized 1x2x6 at position -11,69,39 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(1,2,6) part.Position = Vector3.new(-11,...
question: Create an anchored orange Plastic Block part sized 4x4x6 at position 45,51,-13 in Roblox Luau. finish: 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,4,6) part.Position = Vector3.new(45,...
task: Give the player a ForceField that lasts 8 seconds. completion: local Players = game:GetService("Players") local function giveForceField(player, duration) local character = player.Character if not character then return end local existingFF = character:FindFirstChildOfClass("ForceField") if e...
input: Write a Roblox script to Use DataStore UpdateAsync to safely increment a player's coins. solution: local DataStoreService = game:GetService("DataStoreService") local dataStore = DataStoreService:GetDataStore("PlayerCoins") local function addCoins(userId, amount) local success, newValue = pcall(function() ...
question: Tween a part's Reflectance with Circular Out 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.Out) local goal = {Reflectance = 0.9} local tween = TweenService:Creat...
input_text: Make a purple Slate part with a SpotLight effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local...
begin: Create an unanchored gold Plastic Block part sized 8x1x8 at position 47,41,-35 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(8,1,8) part.Position = Vector3.new(47...
input: Create an anchored gray Wood Block part sized 2x4x8 at position -38,64,-26 in Roblox Luau. model: 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(2,4,8) part.Position = Vector3.new(-38,64,-26) ...
instruction: Tween a part's Position with Back InOut easing over 1s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.InOut) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenSe...
instruction: Tween a part's color to RGB(216, 56, 147) over 1.1 seconds. end: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(1.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(216, 5...
start: Create an unanchored green Wood Block part sized 1x2x10 at position -18,13,26 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,2,10) part.Position = Vector3.new(-18,13,26) ...
prompt: Create an anchored black Plastic Block part sized 12x4x4 at position -1,63,10 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(12,4,4) part.Position = Vector3.new(-1,63,10) p...
instruction: Tween Color with Back Out easing, 1.5s duration, infinite repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, -1, true, 0) local goal = {Color = Color3.from...
input: What's the code to a ProximityPrompt on a npc part that says "Talk to NPC" with hold duration 1.7s and max distance 5. answer: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Talk to NPC" prompt.ObjectText = "NPC" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.Hol...
begin: Tween a part's Transparency with Bounce InOut easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut) local goal = {Transparency = 0.8} local tween = TweenService:Cr...
instruction: Create an anchored gray Plastic Block part sized 2x4x10 at position -17,23,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(128,128,128) part.Size = Vector3.new(2,4,10) part.Position = Vector...
input: Make a block that is gray and cobblestone at (5,25,-10) size (2,4,2) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(2,4,2) part.Position = Vector3.new(5,25,-10) part....
input_text: Make a teal Plastic part with a Smoke effect attached in Roblox Luau. result: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 f...
query: Create an unanchored cyan Plastic Block part sized 4x4x6 at position 40,15,47 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,255) part.Size = Vector3.new(4,4,6) part.Position = Vector3.new(40,15,4...
start: Tween CFrame with Linear In easing, 2s duration, 0 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, true, 0) local goal = {CFrame = part.CFrame*CFrame.new(...
prompt: Create an unanchored orange Plastic Block part sized 6x4x1 at position -6,67,16 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(6,4,1) part.Position = Vector3.new...
question: Create an unanchored orange Plastic Block part sized 8x2x6 at position 44,80,-19 in Roblox Luau. model: 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(8,2,6) part.Position = Vector3.new(44...
query: Make a block that is purple and cobblestone at (-5,20,5) size (8,6,8) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(8,6,8) part.Position = Vector3.new(-5,20,5) part.An...
input_text: Create an anchored black Plastic Block part sized 8x1x4 at position 10,74,45 in Roblox Luau. completion: 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,4) part.Position = Vector3.new(10,74,4...
query: Create an anchored blue Wood Block part sized 4x1x2 at position -27,1,-4 in Roblox Luau. result: 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(4,1,2) part.Position = Vector3.new(-27,1,-4) part.An...
begin: Tween Reflectance with Elastic Out easing, 2s duration, 0 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 0, false, 0) local goal = {Reflectance = 0.9} l...
question: Create an unanchored purple Wood Block part sized 12x4x8 at position 28,53,-37 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(12,4,8) part.Position = Vector3.new(...
input_text: Tween CFrame with Sine In easing, 2.5s duration, infinite repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In, -1, true, 0) local goal = {CFrame = part.CFrame*...
question: Create an unanchored black Wood Block part sized 6x2x2 at position 33,26,-5 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,2,2) part.Position = Vector3.new(33,26,-5) part.An...
question: Create a lime forcefield part with Highlight effect in Roblox response: local part = Instance.new("Part") part.Material = Enum.Material.ForceField 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 = ...
instruction: Create an unanchored gray Plastic Block part sized 10x6x1 at position 32,12,-48 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,1) part.Position = Vector...
question: Write Roblox Luau code to a part that is gray, transparency 0.75, CanCollide=true, Reflectance=0.5. output_text: local part = Instance.new("Part") part.Color = Color3.fromRGB(128, 128, 128) part.Transparency = 0.75 part.CanCollide = true part.Reflectance = 0.5 part.Anchored = true part.Parent = workspace
user: Create an anchored orange Wood Block part sized 10x1x8 at position 0,51,-38 in Roblox Luau. response: 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(10,1,8) part.Position = Vector3.new(0,51,-38) ...
begin: Tween Transparency with Back InOut easing, 4s duration, 2 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Transparency = 0.8} local ...
user: Create a ProximityPrompt on a sign part that says "Read Sign" with hold duration 0.7s and max distance 15. model: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Read Sign" prompt.ObjectText = "Sign" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDuration = 0.7...
input_text: Create an unanchored orange Wood Block part sized 4x1x6 at position -3,81,-42 in Roblox Luau. response: 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,1,6) part.Position = Vector3.new(-3,...
question: Create a TextLabel saying "Back" with Nunito font with background Color3.fromRGB(200,50,50) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0.08,0) ele...
instruction: Tween a part's size to (5, 12, 17) over 2.5 seconds. result: 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(5, 12, 17) } lo...
input: Tween Color with Back In easing, 1s duration, 3 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.In, 3, false, 0) local goal = {Color = Color3.fromRGB(255,0,0)} l...
input: Create an unanchored pink Plastic Block part sized 12x1x1 at position 5,88,-33 in Roblox Luau. answer: 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(12,1,1) part.Position = Vector3.new(5,8...
prompt: Create a TextButton saying "Resume" with Michroma 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(1,0,0,60) elem.Posi...
task: Create a gold glass wedgepart at position (-49, 87, 42) with size (17, 9, 18), anchored=true. solution: local part = Instance.new("WedgePart") part.Size = Vector3.new(17, 9, 18) part.Position = Vector3.new(-49, 87, 42) part.Color = Color3.fromRGB(255, 215, 0) part.Material = Enum.Material.Glass part.Anchored = t...
task: Tween Size with Bounce InOut easing, 5s duration, infinite repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Size = Vector3...
query: Create an anchored cyan Plastic Block part sized 6x2x8 at position 7,23,37 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(6,2,8) part.Position = Vector3.new(7,23,37) p...
begin: Create an anchored brown Wood Block part sized 6x4x8 at position -24,94,28 in Roblox Luau. completion: 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,4,8) part.Position = Vector3.new(-24,94,28...
question: Create a TextButton saying "Shop" with RobotoMono 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,150,0.1,0) e...
begin: Tween a part's size to (6, 6, 11) over 3.8 seconds. result: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(3.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector3.new(6, 6, 11) } local twee...
query: Create a TextButton saying "Start" with Nunito 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(0.2,0,0.08,0) elem.Posit...
input: Tween a part's Reflectance with Quart InOut easing over 2s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut) local goal = {Reflectance = 0.9} local tween = TweenService:Create(par...
user: Tween Color with Linear Out easing, 2.5s duration, 1 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 1, true, 0) local goal = {Color = Color3.fromRGB(255,0,0...
prompt: Create a TextLabel saying "Settings" top-left in Roblox GUI end: 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("TextLabel") elem...
begin: Create a TextLabel saying "Submit" with Bangers font with background Color3.fromRGB(128,0,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(1,0,0.1,0) ele...
user: Create a TextButton saying "Buy" with Oswald font with background Color3.fromRGB(200,50,50) 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(1,0,0.08,0) elem.Posit...
question: Write Roblox Luau code to a DataStore system that saves a full player profile table with multiple stats and inventory. result: local DataStoreService = game:GetService("DataStoreService") local Players = game:GetService("Players") local dataStore = DataStoreService:GetDataStore("PlayerProfiles") local DEFA...
question: Create an unanchored gray Plastic Block part sized 10x1x6 at position 8,54,-29 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,1,6) part.Position = Vector3.ne...
prompt: Make a pink Plastic part with a Sparkles effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 ...
start: Create an unanchored yellow Plastic Block part sized 8x6x10 at position 2,43,41 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,255,0) part.Size = Vector3.new(8,6,10) part.Position = Vector3.new...
query: Script a block with forcefield material colored brown at (5,25,20) size (6,2,2) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.ForceField part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,2,2) part.Position = Vector3.new(5,25,20...
start: Create an unanchored blue Plastic Block part sized 1x4x6 at position 24,4,-11 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(1,4,6) part.Position = Vector3.new(24,4,-11)...
prompt: Create a TextLabel saying "Next" with Creepster font with background Color3.fromRGB(255,128,0) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0,40) elem.P...
question: Create an anchored white Wood Block part sized 4x6x2 at position 30,88,-29 in Roblox Luau. completion: 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,6,2) part.Position = Vector3.new(30,88,-29) par...
input_text: Tween Position with Elastic In easing, 4s duration, 3 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 3, true, 0) local goal = {Position = Vector3.n...
begin: Tween Position with Circular In easing, 0.5s duration, 1 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 1, true, 0) local goal = {Position = Vector3.new(10...
prompt: Use RunService.Heartbeat to create a smooth rotation animation on a part. end: local RunService = game:GetService("RunService") local part = workspace:WaitForChild("SpinPart") local rotationSpeed = 90 -- degrees per second RunService.Heartbeat:Connect(function(deltaTime) part.CFrame = part.CFrame * CFram...
start: Tween a part's Reflectance with Quint InOut easing over 5s in Roblox model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut) local goal = {Reflectance = 0.9} local tween = TweenService:Create(part...
instruction: Tween Position with Back In easing, 1s duration, 2 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.In, 2, true, 0) local goal = {Position = Vector3.new(10,5,0)...
query: Create an unanchored brown Wood Block part sized 4x4x6 at position 33,99,15 in Roblox Luau. finish: 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,4,6) part.Position = Vector3.new(33,99,15) pa...
user: Create an unanchored teal Plastic Block part sized 10x6x6 at position -10,76,42 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(10,6,6) part.Position = Vector3.new(-10,7...
instruction: Create an anchored cyan Plastic Block part sized 8x4x1 at position 37,55,-37 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,4,1) part.Position = Vector3.new(37...
task: Create a TextButton saying "Settings" with Oswald 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(1,0,0,60) elem.P...
instruction: Create a yellow glass ball at (-10,5,-5) size (6,6,8) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(6,6,8) part.Position = Vector3.new(-10,5,-5) part.Anchored = true ...
input: Create an anchored yellow Plastic Block part sized 4x6x10 at position 24,46,-44 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(4,6,10) part.Position = Vector3.new(24,4...