text
stringlengths
54
19.6k
input_text: Create an unanchored blue Plastic Block part sized 1x6x4 at position -6,69,4 in Roblox Luau. end: 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,6,4) part.Position = Vector3.new(-6,69,4)...
input: Create an anchored red Wood Block part sized 10x1x4 at position 11,4,2 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(10,1,4) part.Position = Vector3.new(11,4,2) part.Ancho...
query: Create an unanchored blue Wood Block part sized 1x1x6 at position 3,69,7 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(1,1,6) part.Position = Vector3.new(3,69,7) part.Anch...
begin: Spawn a magenta brick block part at (-5,25,-10) size (4,1,2) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,1,2) part.Position = Vector3.new(-5,25,-10) part.Anchored = ...
task: Make a cylinder that is brown and ice at (10,50,20) size (2,6,1) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Ice part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(2,6,1) part.Position = Vector3.new(10,50,20) part.Anchored =...
user: Create a TextButton saying "Close" with RobotoMono font with background Color3.fromRGB(30,30,40) 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.2,0,0,40) elem....
task: Create an unanchored cyan Wood Block part sized 2x1x2 at position 18,32,49 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,255) part.Size = Vector3.new(2,1,2) part.Position = Vector3.new(18,32,49) pa...
start: Create a TextButton saying "Exit" with FredokaOne font with background Color3.fromRGB(40,40,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.3,0,0,40) elem.P...
question: Tween CFrame with Quad In easing, 1.5s duration, 2 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 2, false, 0) local goal = {CFrame = part.CFrame*CFr...
query: Create a TextLabel saying "Submit" with Roboto font with background Color3.fromRGB(0,0,0) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(1,0,0.1,0) elem.Position...
task: Build a system that Apply a BodyVelocity of (-43, 77, -46) to a part. model: local part = workspace:WaitForChild("PhysicsPart") local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(-43, 77, -46) bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bodyVelocity.P ...
user: Create a TextLabel saying "Game Over" with PatrickHand 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,200,0.08,0) el...
input: Tween Transparency with Sine In easing, 2s duration, infinite repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.In, -1, false, 0) local goal = {Transparency = ...
instruction: Create a TextButton saying "Click Me" with Ubuntu font with background Color3.fromRGB(128,0,255) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,150,0,50...
input_text: Create an ImageLabel inside a ScreenGui with a Roblox asset image. completion: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local imageLabel = Insta...
user: Create an unanchored red Plastic Block part sized 10x2x8 at position 42,39,14 in Roblox Luau. model: 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(10,2,8) part.Position = Vector3.new(42,39,14) ...
begin: Create an anchored yellow Wood Block part sized 2x4x2 at position -2,29,-2 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,255,0) part.Size = Vector3.new(2,4,2) part.Position = Vector3.new(-2,29,-2...
input: Create a green metal ball at (10,25,-10) size (1,2,2) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Metal part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,2,2) part.Position = Vector3.new(10,25,-10) part.Anchored = false part.Par...
question: Tween Color with Elastic Out easing, 0.25s duration, 1 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 1, true, 0) local goal = {Color = Color3.fromRGB(...
task: Create a black brick block at (10,5,-5) size (2,6,8) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Brick part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,6,8) part.Position = Vector3.new(10,5,-5) part.Anchored = true part.Parent = ...
task: Tween CFrame with Quint In easing, 1s duration, infinite repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.In, -1, true, 0) local goal = {CFrame = part.CFrame*CFrame.new(...
question: Tween a part's Transparency with Circular InOut easing over 0.5s in Roblox finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut) local goal = {Transparency = 0.8} local tween = TweenSer...
prompt: Make a block that is gray and ice at (-10,5,5) size (8,4,6) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Ice part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(8,4,6) part.Position = Vector3.new(-10,5,5) part.Anchored = tr...
input_text: Create a TextLabel saying "Back" with Nunito font with background Color3.fromRGB(128,0,255) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0,40) elem....
query: Create a TextButton saying "Delete" with Nunito 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(1,0,0.08,0) elem....
question: Create a TextLabel saying "Settings" with LuckiestGuy 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,...
user: Create an unanchored orange Plastic Block part sized 10x4x1 at position -17,23,-47 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(10,4,1) part.Position = Vector3.new(-1...
task: Create an unanchored orange Plastic Block part sized 6x1x8 at position 15,27,-31 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(6,1,8) part.Position = Vector3.new(...
question: Create an unanchored white Wood Block part sized 6x1x10 at position -49,21,3 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(6,1,10) part.Position = Vector3.new(-49,21,3) p...
user: Tween Color with Back InOut easing, 5s duration, infinite repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Color = Color3.fromRG...
user: Script a block with woodplanks material colored green at (10,15,20) size (1,1,4) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.WoodPlanks part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,1,4) part.Position = Vector3.new(10,15,20)...
input: Tween Reflectance with Quad Out easing, 3s duration, infinite repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, -1, false, 0) local goal = {Reflectance = 0.9} ...
user: Create an anchored black Wood Block part sized 4x4x1 at position -32,67,-14 in Roblox Luau. end: 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(4,4,1) part.Position = Vector3.new(-32,67,-14) part.Anchore...
query: Tween CFrame with Cubic In easing, 1.5s duration, 3 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 3, true, 0) local goal = {CFrame = part.CFrame*CFrame.ne...
instruction: Tween Color with Quint In easing, 2.5s duration, 0 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 0, false, 0) local goal = {Color = Color3.fromRGB...
query: Create a TextButton saying "Shop" top-right in Roblox GUI completion: 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")...
query: Create a TextLabel saying "Continue" with SourceSansBold 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("TextLabel") elem.Size = UDim2.new(0.5,0,0,40...
user: Spawn a black diamondplate block part at (20,50,-10) size (2,4,6) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.DiamondPlate part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,4,6) part.Position = Vector3.new(20,50,-10) part.Anchored = f...
user: Create an unanchored cyan Plastic Block part sized 8x6x4 at position 5,41,-48 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(8,6,4) part.Position = Vector3.new(5,41,-48...
query: Create a cyan plastic block at (10,15,5) size (8,1,2) in Roblox. 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(8,1,2) part.Position = Vector3.new(10,15,5) part.Anchored = false part....
user: Create a ProximityPrompt on a door part that says "Open Door" with hold duration 1.0s and max distance 10. output: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Open Door" prompt.ObjectText = "Door" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDuration = 1....
start: Create an anchored white Plastic Block part sized 8x6x10 at position -23,33,10 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(8,6,10) part.Position = Vector3.new(-23,33,10) part....
question: Tween CFrame with Quint In easing, 1s duration, 2 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 2, true, 0) local goal = {CFrame = part.CFrame*CFrame.new...
begin: Tween Size with Elastic In easing, 3s duration, 1 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 1, false, 0) local goal = {Size = Vector3.new(8,8,8)} ...
query: Make a purple Wood part with a SpotLight effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Wood 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 fx = Inst...
user: Create a ScreenGui with a TextLabel that says "Welcome!" using font Fantasy at size 24. response: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" screenGui.Pa...
begin: Create an unanchored blue Wood Block part sized 2x6x1 at position 24,73,-8 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,6,1) part.Position = Vector3.new(24,73,-8) par...
question: Create a TextLabel saying "Shop" with Roboto font with background Color3.fromRGB(50,50,80) in Roblox GUI. finish: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0.08,0) elem.P...
input_text: Tween a part's Size with Sine Out easing over 2s in Roblox model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(part...
input: Create an unanchored orange Wood Block part sized 6x1x4 at position 10,13,3 in Roblox Luau. model: 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,4) part.Position = Vector3.new(10,13,3) part...
input: Create an unanchored blue Wood Block part sized 6x1x4 at position 41,64,10 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(6,1,4) part.Position = Vector3.new(41,64,10) par...
start: Create an unanchored black Wood Block part sized 2x1x2 at position 37,13,-1 in Roblox Luau. output: 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,1,2) part.Position = Vector3.new(37,13,-1) part.Ancho...
query: Create an unanchored purple Wood Block part sized 4x2x1 at position 34,75,-41 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(4,2,1) part.Position = Vector3.new(34,75,-4...
prompt: Create a TextButton saying "Play" with Roboto 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(1,0,0,60) elem.Position...
start: Create an anchored cyan Wood Block part sized 2x1x1 at position 7,54,-21 in Roblox Luau. output: 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,1) part.Position = Vector3.new(7,54,-21) part....
start: Create a TextButton saying "Shop" with Michroma 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,200,0,40) elem.P...
input: Tween Color with Back Out easing, 1.5s duration, 2 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 2, true, 0) local goal = {Color = Color3.fromRGB(255,0...
start: Tween Size with Quad InOut easing, 3s duration, 0 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Size = Vector3.new(8,8,8...
task: Create an unanchored blue Plastic Block part sized 6x6x10 at position 47,7,-24 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(6,6,10) part.Position = Vector3.new(47,7,-24) p...
question: How do I use Roblox Terrain to generate landscapes? solution: -- Fill a region with terrain material local terrain = workspace.Terrain -- Fill a block region local regionStart = Vector3.new(-100, 0, -100) local regionEnd = Vector3.new(100, 10, 100) local region = Region3.new(regionStart, regionEnd) region =...
instruction: Create a gray glass part with PointLight effect in Roblox response: local part = Instance.new("Part") part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Inst...
input: Create a TextButton saying "Click Me" with FredokaOne 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(0.5,0,0.1,0) ...
begin: Make a green Wood part with a Highlight effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = ...
start: Cast a ray from the player's camera in the look direction for 100 studs. completion: local Players = game:GetService("Players") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local mouse = player:GetMouse() local function castRay() local origin = camera.CFrame.Position local ...
query: Tween Reflectance with Quart In easing, 0.5s duration, infinite repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In, -1, true, 0) local goal = {Reflectance = 0.9} ...
user: Make a pink Concrete part with a SpotLight effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 l...
start: Tween Reflectance with Linear Out easing, 0.25s duration, infinite repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, false, 0) local goal = {Reflecta...
user: Tween Size with Quart Out easing, 5s duration, infinite repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, -1, true, 0) local goal = {Size = Vector3.new(8,8,8)...
start: Create an unanchored cyan Wood Block part sized 2x4x2 at position 39,72,-20 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,4,2) part.Position = Vector3.new(39,72,-20) p...
question: Tween Position with Cubic In easing, 0.25s duration, 3 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 3, true, 0) local goal = {Position = Vector3.new(...
input: Create an anchored white Plastic Block part sized 1x2x8 at position 3,43,42 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(3,43,42) part.Anc...
prompt: Tween a part's Color with Sine Out easing over 5s in Roblox output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create(...
instruction: Create a teal cobblestone cornerwedgepart at position (2, 62, 11) with size (3, 8, 6), anchored=true. end: local part = Instance.new("CornerWedgePart") part.Size = Vector3.new(3, 8, 6) part.Position = Vector3.new(2, 62, 11) part.Color = Color3.fromRGB(0, 128, 128) part.Material = Enum.Material.Cobblestone...
user: Create an unanchored orange Plastic Block part sized 1x2x6 at position -12,5,7 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(1,2,6) part.Position = Vector3.new(-12...
user: Tween CFrame with Back InOut easing, 1s duration, 1 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 1, false, 0) local goal = {CFrame = part.CFrame*CFrame....
start: Create a TextLabel saying "Settings" with Michroma font with background Color3.fromRGB(128,0,255) in Roblox GUI. model: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0.1,0) elem...
begin: Spawn a pink concrete block part at (5,50,-5) size (1,1,4) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(1,1,4) part.Position = Vector3.new(5,50,-5) part.Anchored = t...
instruction: Create an unanchored pink Plastic Block part sized 1x6x10 at position -29,53,13 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(1,6,10) part.Position = Vector3.new...
instruction: Tween Size with Quad In easing, 3s duration, 2 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 2, true, 0) local goal = {Size = Vector3.new(8,8,8)} local...
start: Make a ball that is orange and slate at (10,50,20) size (1,1,6) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(1,1,6) part.Position = Vector3.new(10,50,20) part.Anchored = t...
start: Make a gray DiamondPlate part with a PointLight effect attached in Roblox Luau. solution: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = wor...
question: Create an anchored pink Plastic Block part sized 10x2x4 at position -32,41,41 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(10,2,4) part.Position = Vector3.new(-...
prompt: Tween Reflectance with Quart In easing, 1s duration, 3 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 3, true, 0) local goal = {Reflectance = 0.9} local t...
prompt: Create an unanchored gray Plastic Block part sized 12x4x6 at position 10,91,18 in Roblox Luau. finish: 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(12,4,6) part.Position = Vector3.new(10...
question: Show me how to a ScrollingFrame that contains multiple TextLabels as a list. answer: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local scrollFrame = ...
begin: Create a ScreenGui with a TextLabel that says "Press Play" using font GothamBold at size 64. output_text: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" scr...
start: Create a TextLabel saying "Back" with Oswald font with background Color3.fromRGB(40,40,40) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0,50) elem.Positi...
user: Tween Reflectance with Bounce InOut easing, 0.75s duration, 3 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Reflectance = 0.9}...
instruction: Create a pink ice ball at (20,1,0) size (4,4,6) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Ice part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,4,6) part.Position = Vector3.new(20,1,0) part.Anchored = true part.Parent =...
start: Script for a camera shake effect for explosions or impacts. result: local RunService = game:GetService("RunService") local camera = workspace.CurrentCamera local shakeData = { intensity = 0, duration = 0, elapsed = 0, active = false } local function shakeCamera(intensity, duration) shakeDa...
start: Make a script that a fire particle effect attached to a part. output_text: local part = workspace:WaitForChild("EffectPart") local particles = Instance.new("ParticleEmitter") particles.Color = ColorSequence.new(Color3.fromRGB(255, 100, 0), Color3.fromRGB(255, 0, 0)) particles.Size = NumberSequence.new({NumberS...
start: Create a TextLabel saying "Undo" with GothamBold 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("TextLabel") elem.Size = UDim2.new(0.3,0,0.1,0) elem....
user: Create an anchored gold Plastic Block part sized 6x1x6 at position -28,91,-12 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,1,6) part.Position = Vector3.new(-28,91,-12)...
input: Make a block that is teal and foil at (-5,20,0) size (8,2,6) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(8,2,6) part.Position = Vector3.new(-5,20,0) part.Anchored = false pa...
start: Create a TextButton saying "Exit" with Michroma font with background Color3.fromRGB(200,50,50) 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(1,0,0.08,0) e...
instruction: Create a TextLabel saying "Shop" with Oswald font with background Color3.fromRGB(50,50,80) in Roblox GUI. finish: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.5,0,0.08,0) ele...
input: Create an unanchored green Plastic Block part sized 2x1x10 at position -42,17,-15 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(2,1,10) part.Position = Vector3.new(-42,...
input: Create a TextLabel saying "Save" with FredokaOne 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.08,0) elem...
start: Tween Position with Exponential In easing, 0.25s duration, 2 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 2, true, 0) local goal = {Position = Vector...
input: Create a TextLabel saying "Yes" with RobotoMono 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("TextLabel") elem.Size = UDim2.new(0.5,0,0.1,0) elem.Posit...