text
stringlengths
54
19.6k
prompt: Script a cylinder with metal material colored yellow at (0,1,5) size (2,6,2) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Metal part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(2,6,2) part.Position = Vector3.new(0,1,5) part...
user: Tween CFrame with Elastic In easing, 3s duration, 0 repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 0, true, 0) local goal = {CFrame = part.CFrame*CFrame.new(0...
task: Create a TextLabel saying "Help" with RobotoMono font with background Color3.fromRGB(50,200,50) 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.Po...
prompt: Create a TextLabel saying "Ready?" with LuckiestGuy font with background Color3.fromRGB(30,30,40) 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(1,0,0,60) ele...
input: Write Roblox Luau code to a ScreenGui with a TextLabel that says "Round 1" using font GothamBold at size 32. output_text: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name =...
task: Code a script that a gray foil unionoperation at position (34, 15, 42) with size (11, 20, 11), anchored=false. completion: local part = Instance.new("UnionOperation") part.Size = Vector3.new(11, 20, 11) part.Position = Vector3.new(34, 15, 42) part.Color = Color3.fromRGB(128, 128, 128) part.Material = Enum.Materi...
task: Create a ProximityPrompt on a item part that says "Pick Up Item" with hold duration 0.9s and max distance 10. output_text: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Pick Up Item" prompt.ObjectText = "Item" prompt.KeyboardKeyCode = Enum.KeyCode.F prompt.HoldDu...
query: Tween CFrame with Cubic In easing, 0.25s duration, 0 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 0, false, 0) local goal = {CFrame = part.CFrame*CFra...
task: Create an anchored pink Plastic Block part sized 2x4x2 at position -31,7,-4 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,100,200) part.Size = Vector3.new(2,4,2) part.Position = Vector3.new(-31...
input_text: Tween Color with Quad Out easing, 0.5s duration, 2 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 2, true, 0) local goal = {Color = Color3.fromRGB(2...
input: Create a TextLabel saying "Pause" with GothamBold 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("TextLabel") elem.Size = UDim2.new(0,200,0.08,0...
query: Create an anchored green Plastic Block part sized 8x4x2 at position -14,33,42 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(8,4,2) part.Position = Vector3.new(-14,3...
task: Tween Transparency with Sine InOut 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.Sine, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Transparency = 0.8} l...
prompt: Create an unanchored brown Wood Block part sized 8x2x2 at position -36,81,9 in Roblox Luau. response: 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,2,2) part.Position = Vector3.new(-36,81,9)...
instruction: Tween Reflectance with Exponential In easing, 0.75s duration, 2 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 2, false, 0) local goal =...
begin: Create an unanchored purple Plastic Block part sized 6x2x2 at position 38,93,-40 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(6,2,2) part.Position = Vector3.new...
task: Create an unanchored pink Plastic Block part sized 4x1x6 at position -1,67,3 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(4,1,6) part.Position = Vector3.new(-1,...
user: Create a TextLabel saying "Submit" with Michroma font with background Color3.fromRGB(30,30,40) 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.5,0,0,40) elem.Pos...
query: Create a TextLabel saying "Welcome!" with GothamBold font with background Color3.fromRGB(50,200,50) 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,50) elem....
prompt: Create an anchored black Wood Block part sized 1x6x8 at position -14,58,-30 in Roblox Luau. finish: 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(1,6,8) part.Position = Vector3.new(-14,58,-30) part.An...
question: Create a TextButton saying "Resume" with LuckiestGuy 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("TextButton") elem.Size = UDim2.new(0,150,0,...
task: Create an unanchored cyan Wood Block part sized 4x4x1 at position -50,63,-47 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,255) part.Size = Vector3.new(4,4,1) part.Position = Vector3.new(-50,63,-47) ...
prompt: Create a cyan diamondplate ball at (5,15,-5) size (4,1,8) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,1,8) part.Position = Vector3.new(5,15,-5) part.Anchored = true ...
begin: Tween Color with Bounce In easing, 4s duration, 1 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 1, true, 0) local goal = {Color = Color3.fromRGB(255,0,0...
input_text: Make a green Concrete part with a Smoke effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 lo...
query: Create an anchored white Wood Block part sized 2x6x1 at position -26,84,28 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(2,6,1) part.Position = Vector3.new(-26,84,28) part.Anchor...
input_text: Create an anchored green Wood Block part sized 6x6x10 at position 37,44,-10 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,0) part.Size = Vector3.new(6,6,10) part.Position = Vector3.new(37,4...
query: Create an unanchored yellow Wood Block part sized 8x6x2 at position -15,45,41 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(8,6,2) part.Position = Vector3.new(-15,45,41) ...
task: Create an anchored white Plastic Block part sized 1x2x1 at position 6,22,-21 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,1) part.Position = Vector3.new(6,22,-21) part.An...
input: Create an unanchored brown Wood Block part sized 8x1x4 at position 48,81,26 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,1,4) part.Position = Vector3.new(48,81,26) pa...
instruction: Spawn a teal plastic block part at (0,50,-5) size (6,1,8) in Roblox. answer: 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,1,8) part.Position = Vector3.new(0,50,-5) part.Anchored = f...
user: Make a orange CorrodedMetal part with a SpotLight effect attached in Roblox Luau. response: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = wor...
input_text: Create a TextLabel saying "Continue" 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,150,...
instruction: Create a gold pebble cylinder at (-5,1,0) size (4,2,8) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(4,2,8) part.Position = Vector3.new(-5,1,0) part.Anchored = tru...
input_text: What's the code to Use RunService.Heartbeat to create a smooth rotation animation on a part. solution: local RunService = game:GetService("RunService") local part = workspace:WaitForChild("SpinPart") local rotationSpeed = 90 -- degrees per second RunService.Heartbeat:Connect(function(deltaTime) part....
question: Create a black ice part with Fire effect in Roblox output: local part = Instance.new("Part") part.Material = Enum.Material.Ice part.Color = Color3.new(0,0,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new("Fire") fx.Heat...
query: Create a green fabric cylinder at (5,5,5) size (8,4,2) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Fabric part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(8,4,2) part.Position = Vector3.new(5,5,5) part.Anchored = false part...
instruction: Create a teal woodplanks cornerwedgepart at position (-26, 37, -23) with size (18, 16, 5), anchored=true. solution: local part = Instance.new("CornerWedgePart") part.Size = Vector3.new(18, 16, 5) part.Position = Vector3.new(-26, 37, -23) part.Color = Color3.fromRGB(0, 128, 128) part.Material = Enum.Materi...
instruction: Create an unanchored brown Plastic Block part sized 6x6x1 at position -16,20,-30 in Roblox Luau. finish: 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,6,1) part.Position = Vector3.ne...
query: Build a system that When a player touches a part, give the player 10 coins. model: local part = script.Parent local debounce = {} part.Touched:Connect(function(hit) local character = hit.Parent local humanoid = character and character:FindFirstChildOfClass("Humanoid") local player = game:GetService...
question: Create an unanchored brown Plastic Block part sized 8x2x8 at position 28,34,-4 in Roblox Luau. finish: 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,2,8) part.Position = Vector3.new(28,...
input_text: Tween Transparency with Linear Out easing, 3s duration, 0 repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0) local goal = {Transparency = 0.8}...
question: Create an unanchored pink Wood Block part sized 12x4x6 at position -15,79,20 in Roblox Luau. completion: 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,4,6) part.Position = Vector3.new(-...
question: Tween CFrame with Circular Out easing, 0.25s duration, 3 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, 3, true, 0) local goal = {CFrame = part.CFram...
query: Tween a part's CFrame with Bounce Out easing over 3s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = Tw...
query: Tween a part's color to RGB(197, 173, 95) over 1.7 seconds. solution: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(1.7, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(197, 17...
task: Create a TextButton saying "Undo" with RobotoMono font with background Color3.fromRGB(40,40,40) in Roblox GUI. solution: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,150,0.1,0) ele...
query: Create a TextLabel saying "Submit" with GothamBold font with background Color3.fromRGB(40,40,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,60) elem.Pos...
input: Make a white Wood part with a PointLight effect attached in Roblox Luau. output: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.new(1,1,1) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance....
query: Tween Position with Circular In easing, 1.5s duration, 3 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 3, false, 0) local goal = {Position = Vector3....
input: Make a purple CorrodedMetal part with a PointLight effect attached in Roblox Luau. finish: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 = wor...
begin: Create a green glass block at (-10,20,-10) size (6,2,2) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(6,2,2) part.Position = Vector3.new(-10,20,-10) part.Anchored = true part....
input_text: Script a ball with woodplanks material colored teal at (20,50,20) size (4,2,6) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.WoodPlanks part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(4,2,6) part.Position = Vector3.new(...
prompt: Create an anchored gold Plastic Block part sized 6x4x1 at position -42,39,35 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,215,0) part.Size = Vector3.new(6,4,1) part.Position = Vector3.new(-4...
prompt: Create an unanchored orange Wood Block part sized 10x6x6 at position -38,39,44 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,128,0) part.Size = Vector3.new(10,6,6) part.Position = Vector3.new(-3...
task: Tween Size with Circular InOut easing, 4s duration, 3 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Size = Vector3.new(8,8,8)} loc...
instruction: Tween a part's Color with Sine Out easing over 3s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Creat...
instruction: Create a TextLabel saying "Submit" with FredokaOne 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.3,0,0,50...
query: Tween CFrame with Sine InOut easing, 0.5s duration, 3 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 3, true, 0) local goal = {CFrame = part.CFrame*CFrame....
instruction: Create an unanchored green Plastic Block part sized 4x4x4 at position -6,56,-36 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new...
start: Create a brown slate meshpart at position (-6, 8, -19) with size (17, 9, 5), anchored=false. completion: local part = Instance.new("MeshPart") part.Size = Vector3.new(17, 9, 5) part.Position = Vector3.new(-6, 8, -19) part.Color = Color3.fromRGB(139, 69, 19) part.Material = Enum.Material.Slate part.Anchored = fa...
query: Create an unanchored orange Wood Block part sized 8x6x8 at position 17,78,13 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(8,6,8) part.Position = Vector3.new(17,78,13)...
query: Create a TextButton saying "Exit" with Nunito 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.08,0) elem.P...
begin: Write a Roblox script to Fire a RemoteEvent to all connected players from the server. finish: local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("BroadcastEvent") local function broadcastToAll(message) remoteEvent:FireAllClients({ messa...
prompt: Create an unanchored brown Wood Block part sized 8x2x8 at position -39,94,27 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(8,2,8) part.Position = Vector3.new(-39,94...
task: Create an unanchored black Plastic Block part sized 10x6x1 at position -22,20,-7 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(10,6,1) part.Position = Vector3.new(-22,20,-7) pa...
query: Create an unanchored white Plastic Block part sized 1x6x2 at position -40,28,7 in Roblox Luau. answer: 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,6,2) part.Position = Vector3.new(-40,28,7) part...
query: Tween Color with Exponential InOut easing, 4s duration, 0 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Color = Color3.fromRGB...
start: Create an anchored cyan Plastic Block part sized 8x4x8 at position -46,12,-41 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(8,4,8) part.Position = Vector3.new(-46,12,...
user: Tween Position with Quart In easing, 5s duration, 1 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 1, true, 0) local goal = {Position = Vector3.new(10,5,0)} local ...
task: Tween Reflectance with Back Out easing, 2s duration, 1 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 1, false, 0) local goal = {Reflectance = 0.9} local ...
user: Tween Position with Cubic InOut easing, 5s duration, 0 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Position = Vector3....
input_text: Create a TextButton saying "Click Me" with SourceSansBold font with background Color3.fromRGB(255,128,0) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,1...
user: Tween Transparency with Quint InOut easing, 5s duration, 3 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Transparency = 0.8} ...
instruction: Make a cylinder that is gold and smoothplastic at (-10,15,-10) size (8,6,1) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(8,6,1) part.Position = Vector3.n...
input: Create a TextLabel saying "Help" with GothamBold font with background Color3.fromRGB(30,30,40) 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,50) elem.Po...
question: Tween Position with Back Out easing, 0.5s duration, 0 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 0, true, 0) local goal = {Position = Vector3.new(...
input_text: Make a brown Slate part with a Sparkles effect attached in Roblox Luau. output: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local f...
query: Apply a VectorForce of (247, 1450, 249) to a part using an Attachment. response: local part = workspace:WaitForChild("ForcePart") local attachment = Instance.new("Attachment") attachment.Parent = part local vectorForce = Instance.new("VectorForce") vectorForce.Force = Vector3.new(247, 1450, 249) vectorForce.A...
task: Tween CFrame with Circular In easing, 2.5s duration, 1 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 1, true, 0) local goal = {CFrame = part.CFrame*C...
start: Create an anchored red Wood Block part sized 2x1x10 at position -8,18,-35 in Roblox Luau. response: 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(2,1,10) part.Position = Vector3.new(-8,18,-35) pa...
question: Tween Transparency with Elastic InOut easing, 0.25s duration, 0 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Transp...
task: Create an anchored teal Plastic Block part sized 8x1x6 at position 8,64,-36 in Roblox Luau. end: 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(8,1,6) part.Position = Vector3.new(8,64,-36) par...
task: Create a TextLabel saying "Buy" with Oswald 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,50) elem.Positio...
instruction: Create a TextLabel saying "Retry" with GothamBold font with background Color3.fromRGB(30,30,40) 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.1,0)...
input_text: Create an unanchored gray Plastic Block part sized 1x2x4 at position 13,97,2 in Roblox Luau. result: 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(1,2,4) part.Position = Vector3.new(1...
input_text: Make a cyan CorrodedMetal part with a Sparkles effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent ...
query: Create an anchored green Wood Block part sized 10x6x2 at position -31,92,-24 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(10,6,2) part.Position = Vector3.new(-31,92,-24) ...
query: Tween a part's CFrame with Circular In easing over 5s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Circular, Enum.EasingDirection.In) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween =...
begin: Detect when a player climbs in Roblox output: local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.StateChanged:Connect(function(old, new) if new == Enum.Huma...
task: Create an anchored black Wood Block part sized 8x4x4 at position -26,100,-37 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(8,4,4) part.Position = Vector3.new(-26,100,-37) part.Ancho...
input_text: Create a part that is green, transparency 1, CanCollide=false, Reflectance=0. output_text: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 255, 0) part.Transparency = 1 part.CanCollide = false part.Reflectance = 0 part.Anchored = true part.Parent = workspace
begin: Make a cylinder that is teal and smoothplastic at (-5,50,-5) size (2,6,8) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(2,6,8) part.Position = Vector3.new(-5,50,-...
input: Create an unanchored black Plastic Block part sized 8x2x8 at position -36,86,2 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(8,2,8) part.Position = Vector3.new(-36,86,2) pa...
query: Create an anchored cyan Wood Block part sized 6x6x1 at position 9,41,34 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(6,6,1) part.Position = Vector3.new(9,41,34) par...
question: Create a TextButton saying "Retry" with Oswald 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("TextButton") elem.Size = UDim2.new(0.2,0,0.1,0)...
question: Create a TextButton saying "Equip" 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("TextButt...
instruction: Create a yellow glass part with Smoke effect in Roblox finish: local part = Instance.new("Part") part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.ne...
instruction: Tween Position with Linear Out easing, 4s duration, 2 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 2, true, 0) local goal = {Position = Vector3....
begin: Create a teal corrodedmetal cylinder at (20,5,-10) size (2,2,8) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(2,2,8) part.Position = Vector3.new(20,5,-10) part.An...