text
stringlengths
54
19.6k
instruction: How do I a clickable TextButton that says "Resume" and prints a message when clicked. model: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local but...
task: Create an anchored orange Plastic Block part sized 6x6x2 at position -3,21,-18 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(6,6,2) part.Position = Vector3.new(-3,21...
query: Create an anchored green Plastic Block part sized 1x2x8 at position -44,43,-19 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(-44,43,-...
task: Tween Reflectance with Exponential In easing, 5s duration, 2 repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 2, false, 0) local goal = {Reflectance = 0.9}...
begin: Create an unanchored green Wood Block part sized 2x4x4 at position -28,78,-19 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(2,4,4) part.Position = Vector3.new(-28,78,-19) ...
question: Detect Q key press to sprint in Roblox model: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Q then print("Q pressed - sprint!") -- Add your sprint code he...
task: Create an anchored brown Wood Block part sized 2x4x2 at position 10,5,44 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(2,4,2) part.Position = Vector3.new(10,5,44) part....
prompt: Create an anchored blue Wood Block part sized 2x1x2 at position 33,87,50 in Roblox Luau. response: 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(2,1,2) part.Position = Vector3.new(33,87,50) part...
user: Tween CFrame with Sine InOut easing, 0.25s duration, 1 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 1, false, 0) local goal = {CFrame = part.CFrame*C...
query: Create a TextButton saying "Undo" with PatrickHand font with background Color3.fromRGB(40,40,40) 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) ...
input: Create an anchored green Wood Block part sized 6x4x1 at position 6,81,29 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(6,4,1) part.Position = Vector3.new(6,81,29) par...
instruction: Tween Reflectance with Linear In easing, 2.5s duration, 2 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 2, true, 0) local goal = {Reflectance = ...
input: Create a TextButton saying "Back" with FredokaOne font with background Color3.fromRGB(40,40,40) 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(0.2,0,0.1,0) el...
query: Make a black DiamondPlate part with a Smoke effect attached in Roblox Luau. model: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate 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 =...
prompt: Create an anchored gray Plastic Block part sized 2x6x2 at position -28,83,12 in Roblox Luau. end: 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,6,2) part.Position = Vector3.new(-28,83,1...
input: Create a TextButton saying "Next" 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,150,0,50) elem.Pos...
task: Script a cylinder with diamondplate material colored red at (0,15,5) size (8,1,4) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(8,1,4) part.Position = Vector3.new(0,1...
query: Create an anchored brown Wood Block part sized 4x6x4 at position 50,47,4 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(4,6,4) part.Position = Vector3.new(50,47,4) part...
prompt: Create an unanchored yellow Plastic Block part sized 2x6x4 at position -35,67,-31 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(2,6,4) part.Position = Vector3.new(...
user: Tween a part's color to RGB(81, 15, 73) over 2.6 seconds. result: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(2.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(81, 15, 73) ...
instruction: Create a TextLabel saying "Settings" bottom-center in Roblox GUI output: 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("Tex...
question: Create an anchored yellow Wood Block part sized 1x4x10 at position 16,46,27 in Roblox Luau. response: 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,10) part.Position = Vector3.new(16,46,...
task: How do I an Instance of type Smoke and configure its properties. output_text: local instance = Instance.new("Smoke") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
user: Create a TextLabel saying "Exit" with LuckiestGuy 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.3,0,0,60) elem...
question: Create an unanchored white Wood Block part sized 6x4x1 at position 11,87,1 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(1,1,1) part.Size = Vector3.new(6,4,1) part.Position = Vector3.new(11,87,1) part.Ancho...
instruction: Tween a part's Reflectance with Sine In easing over 1s in Roblox output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In) local goal = {Reflectance = 0.9} local tween = TweenService:Create(part,...
input_text: Tween Transparency with Sine In easing, 0.75s duration, 1 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 1, false, 0) local goal = {Transparency...
start: Make a ball that is gray and smoothplastic at (-5,25,0) size (2,6,2) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(2,6,2) part.Position = Vector3.new(-5,25,0) part....
user: Create an anchored brown Plastic Block part sized 8x4x10 at position -9,72,33 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(8,4,10) part.Position = Vector3.new(-9...
input_text: Create an unanchored green Wood Block part sized 12x1x4 at position -14,90,-26 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(12,1,4) part.Position = Vector3.new(-14...
query: Create an anchored gold Wood Block part sized 2x1x1 at position -39,92,-39 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(2,1,1) part.Position = Vector3.new(-39,92,-39) p...
input: Create an unanchored purple Wood Block part sized 10x6x10 at position 7,17,31 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(10,6,10) part.Position = Vector3.new(7,17,3...
instruction: Create a TextLabel saying "OK" with Bangers 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,200,0,60) e...
prompt: Create an unanchored pink Plastic Block part sized 10x6x8 at position -29,9,-45 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,6,8) part.Position = Vector3.n...
task: Create a TextLabel saying "Undo" with PatrickHand font with background Color3.fromRGB(200,50,50) 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,150,0.1,0) elem....
input_text: Script a cylinder with woodplanks material colored teal at (20,1,10) size (8,2,2) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.WoodPlanks part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(8,2,2) part.Position = Vect...
task: Tween Color with Quint Out easing, 1s duration, 1 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 1, false, 0) local goal = {Color = Color3.fromRGB(255,0,...
prompt: Tween CFrame with Elastic In easing, 2.5s duration, infinite repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, -1, true, 0) local goal = {CFrame = part.CFrame*C...
query: Create a TextLabel saying "Exit" with LuckiestGuy font with background Color3.fromRGB(128,0,255) 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(1,0,0,40) elem....
input_text: Create an unanchored gray Plastic Block part sized 6x6x8 at position 31,35,16 in Roblox Luau. completion: 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(6,6,8) part.Position = Vector3....
begin: Make a block that is teal and brick at (10,50,20) size (1,6,1) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(1,6,1) part.Position = Vector3.new(10,50,20) part.Anchored = tru...
prompt: Code a script that an Instance of type Texture and configure its properties. result: local instance = Instance.new("Texture") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
instruction: Create a part that is maroon, transparency 0.75, CanCollide=true, Reflectance=0.5. completion: local part = Instance.new("Part") part.Color = Color3.fromRGB(128, 0, 0) part.Transparency = 0.75 part.CanCollide = true part.Reflectance = 0.5 part.Anchored = true part.Parent = workspace
task: Create an unanchored red Wood Block part sized 6x2x1 at position -46,96,-30 in Roblox Luau. end: 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(6,2,1) part.Position = Vector3.new(-46,96,-30) part.A...
begin: Create an anchored purple Plastic Block part sized 1x4x1 at position 46,100,-43 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(1,4,1) part.Position = Vector3.new(46,10...
input: Create an unanchored gray Wood Block part sized 1x4x4 at position 28,9,17 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,128,128) part.Size = Vector3.new(1,4,4) part.Position = Vector3.new(28,9,17...
input_text: Tween a part's Color with Exponential InOut easing over 2s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut) local goal = {Color = Color3.fromRGB(255,0,0)} local tween ...
user: Create an unanchored gray Wood Block part sized 6x2x10 at position -29,95,-18 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(6,2,10) part.Position = Vector3.new(-29,95,-1...
instruction: Tween Color with Quad InOut easing, 1.5s duration, infinite repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Color = Color3....
task: Create an unanchored yellow Plastic Block part sized 8x1x2 at position -48,57,-10 in Roblox Luau. completion: 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,1,2) part.Position = Vector3.new(...
instruction: Create a TextButton saying "No" with LuckiestGuy 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("TextButton") elem.Size = UDim2.new(0.5,0,...
input_text: Create an anchored pink Plastic Block part sized 8x4x10 at position -7,93,41 in Roblox Luau. end: 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,4,10) part.Position = Vector3.new(-7,...
begin: Tween Size with Linear In easing, 0.25s duration, 0 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0) local goal = {Size = Vector3.new(8,8,8)}...
question: Create an anchored pink Wood Block part sized 4x6x1 at position -21,13,35 in Roblox Luau. finish: 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,6,1) part.Position = Vector3.new(-21,13,35...
user: Create an unanchored brown Plastic Block part sized 6x2x6 at position 42,5,8 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,2,6) part.Position = Vector3.new(42,5,...
instruction: Create an unanchored pink Wood Block part sized 12x1x4 at position -37,71,-1 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,100,200) part.Size = Vector3.new(12,1,4) part.Position = Vector3.n...
question: Create an unanchored purple Wood Block part sized 1x1x8 at position -19,59,32 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(1,1,8) part.Position = Vector3.new(-19,59,32)...
instruction: Create an anchored blue Wood Block part sized 1x1x2 at position 13,47,16 in Roblox Luau. model: 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(1,1,2) part.Position = Vector3.new(13,47,16) pa...
question: Create an unanchored purple Plastic Block part sized 10x1x4 at position 24,52,18 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(10,1,4) part.Position = Vector3.new(2...
input_text: Tween a part's Position with Sine In easing over 1s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService...
input_text: Create a Luau script that will Use TeleportService to teleport a player to another place/game. solution: local TeleportService = game:GetService("TeleportService") local Players = game:GetService("Players") local PLACE_ID = 0 -- Replace with your destination Place ID local function teleportPlayer(player)...
input: Create an unanchored yellow Wood Block part sized 1x1x6 at position 1,90,-48 in Roblox Luau. response: 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,1,6) part.Position = Vector3.new(1,90,-48)...
question: Create an anchored purple Plastic Block part sized 12x4x1 at position 36,18,-10 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(12,4,1) part.Position = Vector3.new(36...
prompt: Make a black CorrodedMetal part with a SpotLight effect attached in Roblox Luau. response: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 ...
instruction: Create a part that is white, transparency 1, CanCollide=false, Reflectance=0. response: local part = Instance.new("Part") part.Color = Color3.fromRGB(255, 255, 255) part.Transparency = 1 part.CanCollide = false part.Reflectance = 0 part.Anchored = true part.Parent = workspace
user: Create a TextButton saying "Shop" top-left 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("TextButton") elem....
input_text: Create a TextLabel saying "Click Me" with FredokaOne font with background Color3.fromRGB(50,200,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.5,0...
begin: Create an anchored brown Wood Block part sized 8x6x8 at position -45,78,-37 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(8,6,8) part.Position = Vector3.new(-45,78,-37) ...
question: Create an unanchored red Wood Block part sized 10x4x8 at position -33,93,21 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,0,0) part.Size = Vector3.new(10,4,8) part.Position = Vector3.new(-33,9...
input: Make a ball that is gray and metal at (10,5,0) size (8,6,8) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Metal part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(8,6,8) part.Position = Vector3.new(10,5,0) part.Anchored = false p...
question: Tween a part's Reflectance with Elastic In easing over 2s in Roblox model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Elastic, Enum.EasingDirection.In) local goal = {Reflectance = 0.9} local tween = TweenService:Create(par...
question: Create an unanchored brown Plastic Block part sized 2x2x6 at position 3,23,-30 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(2,2,6) part.Position = Vector3.new(3...
instruction: Tween Reflectance with Cubic Out easing, 1s duration, 1 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 1, false, 0) local goal = {Reflectance = 0....
query: Create a TextButton saying "No" with Ubuntu font with background Color3.fromRGB(50,50,80) 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(1,0,0,50) elem.Position...
query: Tween Size with Elastic InOut easing, 3s duration, 2 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 2, false, 0) local goal = {Size = Vector3.new(8,8,8...
prompt: Create a TextLabel saying "Ready?" with Michroma font with background Color3.fromRGB(0,120,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,150,0.1,0) elem.Po...
task: Tween Reflectance with Quint InOut easing, 1.5s duration, infinite repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Reflectan...
user: Tween a part's CFrame with Exponential Out easing over 5s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local ...
user: Apply a VectorForce of (289, 598, 356) to a part using an Attachment. output: local part = workspace:WaitForChild("ForcePart") local attachment = Instance.new("Attachment") attachment.Parent = part local vectorForce = Instance.new("VectorForce") vectorForce.Force = Vector3.new(289, 598, 356) vectorForce.Attach...
input: Create an explosion with blast pressure 10 and radius 10 at a part's position. solution: local part = workspace:WaitForChild("ExplosionPart") local explosion = Instance.new("Explosion") explosion.Position = part.Position explosion.BlastPressure = 10 explosion.BlastRadius = 10 explosion.DestroyJointRadiusPercen...
input_text: Make a red Concrete part with a Fire effect attached in Roblox Luau. model: local part = Instance.new("Part") part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,0,0) 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 TextLabel saying "Welcome!" with PatrickHand font with background Color3.fromRGB(0,120,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,150,0.08...
user: Create a cyan wood block at (0,15,-5) size (1,6,1) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(1,6,1) part.Position = Vector3.new(0,15,-5) part.Anchored = true part.Parent =...
start: Create a TextLabel saying "Continue" with Ubuntu 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(1,0,0,60) ele...
instruction: Create an unanchored teal Plastic Block part sized 6x6x1 at position -17,79,47 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(6,6,1) part.Position = Vector3.new(-...
input_text: Create an anchored purple Plastic Block part sized 2x1x2 at position 3,72,17 in Roblox Luau. finish: 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(2,1,2) part.Position = Vector3.new(3,7...
begin: Write Roblox Luau code to a heal particle effect attached to a part. end: local part = workspace:WaitForChild("EffectPart") local particles = Instance.new("ParticleEmitter") particles.Color = ColorSequence.new(Color3.fromRGB(0, 255, 100)) particles.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5),...
question: Tween a part's Color with Back In easing over 3s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Back, Enum.EasingDirection.In) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create(...
question: Teleport the player's character to position (-43, 86, -41). answer: local Players = game:GetService("Players") local function teleportPlayer(player, position) local character = player.Character if character then local rootPart = character:FindFirstChild("HumanoidRootPart") if rootPar...
user: Tween a part's color to RGB(187, 185, 196) over 2.9 seconds. response: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(2.9, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(187, 18...
task: Make a blue Slate part with a Smoke effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Slate 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 = Instance.ne...
begin: Create an anchored yellow Plastic Block part sized 6x1x6 at position 47,52,-4 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(6,1,6) part.Position = Vector3.new(47,52,-...
query: Create a magenta foil block at (-5,1,-10) size (1,2,8) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(-5,1,-10) part.Anchored = false part.Pa...
prompt: Create an unanchored pink Wood Block part sized 12x6x10 at position -43,92,-17 in Roblox Luau. result: 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,6,10) part.Position = Vector3.new(-43,...
begin: Tween a part to position (13, 43, 7) over 1.0 seconds using Sine easing (Out). model: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("MovingPart") local tweenInfo = TweenInfo.new( 1.0, Enum.EasingStyle.Sine, Enum.EasingDirection.Out ) local goal = { P...
input: Create a TextButton saying "No" with GothamBold 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.2,0,0,60) elem....
question: Create a TextLabel saying "Back" with RobotoMono font with background Color3.fromRGB(50,50,80) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0.08,...
input_text: Tween Reflectance with Bounce In easing, 0.25s duration, infinite repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, -1, true, 0) local goal = {Reflectance =...
input_text: Create an unanchored green Wood Block part sized 10x6x8 at position 34,21,-48 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(10,6,8) part.Position = Vector3.new(34,2...
task: Spawn a gold cobblestone cylinder part at (20,15,0) size (1,2,2) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(1,2,2) part.Position = Vector3.new(20,15,0) part.A...