text
stringlengths
54
19.6k
prompt: Create an anchored cyan Wood Block part sized 8x4x2 at position 18,51,41 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(8,4,2) part.Position = Vector3.new(18,51,41) part...
user: Create an anchored white Plastic Block part sized 10x4x10 at position 45,90,45 in Roblox Luau. response: 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(10,4,10) part.Position = Vector3.new(45,90,45) p...
begin: Create an unanchored orange Wood Block part sized 2x6x1 at position -39,45,40 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(2,6,1) part.Position = Vector3.new(-39,45,4...
question: Create an anchored brown Wood Block part sized 8x4x1 at position 3,8,31 in Roblox Luau. end: 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,4,1) part.Position = Vector3.new(3,8,31) part.Anc...
task: Create a TextButton saying "Loading..." with Michroma font with background Color3.fromRGB(200,50,50) 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,50)...
question: Create an anchored gray Wood Block part sized 12x2x1 at position -38,72,-30 in Roblox Luau. output: 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(12,2,1) part.Position = Vector3.new(-38,72...
task: Create a clickable TextButton that says "Play" 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 button = Insta...
start: Tween a part's Size with Bounce InOut easing over 0.5s in Roblox model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Crea...
input: Create an anchored blue Plastic Block part sized 1x4x8 at position 0,92,-25 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(1,4,8) part.Position = Vector3.new(0,92,-2...
question: Create an anchored purple Wood Block part sized 12x4x10 at position 45,97,29 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(12,4,10) part.Position = Vector3.new(45,97,...
begin: Tween Size with Elastic InOut easing, 2s duration, 1 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 1, false, 0) local goal = {Size = Vector3.new(8,8,...
instruction: Script a cylinder with brick material colored orange at (-10,50,20) size (8,6,2) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(8,6,2) part.Position = Vector3.new(-1...
input_text: Make a cyan Concrete part with a Sparkles effect attached in Roblox Luau. result: local part = Instance.new("Part") part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace lo...
user: Create an anchored black Wood Block part sized 12x1x10 at position 27,96,-48 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(12,1,10) part.Position = Vector3.new(27,96,-48) part.An...
query: Script a cylinder with ice material colored green at (5,15,-10) size (8,6,8) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Ice part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(8,6,8) part.Position = Vector3.new(5,15,-10) part...
user: Create a TextButton saying "Save" with LuckiestGuy 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("TextButton") elem.Size = UDim2.new(0,200,0.08,0...
query: Tween Reflectance with Exponential Out easing, 0.75s duration, 1 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out, 1, false, 0) local goal = {Reflec...
input_text: Create an unanchored orange Plastic Block part sized 8x1x1 at position -28,5,20 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(8,1,1) part.Position = Vector3.new(...
instruction: Create an anchored black Plastic Block part sized 1x2x2 at position 39,5,-8 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(1,2,2) part.Position = Vector3.new(39,5,-8) ...
start: Create an Instance of type Decal and configure its properties. answer: local instance = Instance.new("Decal") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
instruction: Tween Reflectance with Elastic Out easing, 1s duration, 2 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 2, false, 0) local goal = {Reflectance = ...
input: Spawn a magenta plastic ball part at (10,20,20) size (1,6,1) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(1,6,1) part.Position = Vector3.new(10,20,20) part.Anchored = fals...
task: Create an unanchored white Plastic Block part sized 2x1x4 at position -37,3,-25 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(2,1,4) part.Position = Vector3.new(-37,3,-25) part.A...
begin: Create an unanchored yellow Plastic Block part sized 10x6x10 at position -43,86,-35 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(10,6,10) part.Position = Vector3.new...
start: Make a brown Plastic part with a Fire effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 fx = Inst...
instruction: Implement a way to Detect when the player presses the Q key using UserInputService. model: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Q then ...
prompt: Create an anchored red Plastic Block part sized 2x6x6 at position -36,47,-11 in Roblox Luau. end: 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(2,6,6) part.Position = Vector3.new(-36,47,-11) ...
instruction: Script a cylinder with diamondplate material colored purple at (20,1,10) size (2,1,2) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(2,1,2) part.Position...
prompt: Create an unanchored black Plastic Block part sized 2x1x4 at position 13,12,37 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(2,1,4) part.Position = Vector3.new(13,12,37) part...
user: Create an unanchored green Plastic Block part sized 6x6x8 at position 14,10,-11 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(6,6,8) part.Position = Vector3.new(14,10,-1...
user: Create an unanchored purple Wood Block part sized 12x2x4 at position -5,46,19 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(12,2,4) part.Position = Vector3.new(-5,46,19...
begin: Tween Color with Bounce Out easing, 1.5s duration, 1 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 1, true, 0) local goal = {Color = Color3.fromRGB(25...
start: Create an unanchored gray Wood Block part sized 10x4x1 at position 19,84,7 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(10,4,1) part.Position = Vector3.new(19,84,7) pa...
begin: Tween Color with Quart Out easing, 0.25s duration, 3 repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 3, true, 0) local goal = {Color = Color3.fromRGB(255,0,...
start: Create an Instance of type PointLight and configure its properties. answer: local instance = Instance.new("PointLight") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
start: Create a TextLabel saying "Resume" with Creepster 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,200,0,60) elem.Pos...
query: Create an anchored blue Wood Block part sized 8x2x1 at position -24,57,7 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(8,2,1) part.Position = Vector3.new(-24,57,7) part....
query: Create an anchored purple Wood Block part sized 8x6x6 at position -37,11,-27 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(8,6,6) part.Position = Vector3.new(-37,11...
start: Make a yellow Slate part with a Fire effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.Slate 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 = Inst...
start: Create an anchored red Plastic Block part sized 8x6x8 at position 1,43,-15 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(8,6,8) part.Position = Vector3.new(1,43,-15) pa...
begin: Set the game lighting to afternoon (ClockTime=17) with appropriate ambient. completion: local Lighting = game:GetService("Lighting") Lighting.ClockTime = 17 Lighting.Brightness = 2 Lighting.Ambient = Color3.fromRGB(100, 100, 120) Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128) Lighting.FogEnd = 1000 Li...
input_text: Create an anchored brown Plastic Block part sized 6x1x4 at position -23,68,-12 in Roblox Luau. output: 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,1,4) part.Position = Vector3.new(-...
start: Tween Reflectance with Exponential InOut easing, 0.5s duration, 2 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Reflectanc...
input_text: Create a TextButton saying "Resume" with FredokaOne 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(0,15...
input_text: Tween Transparency 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 = {Tr...
instruction: Create a TextLabel saying "OK" with LuckiestGuy font with background Color3.fromRGB(50,200,50) 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,50) e...
task: Make a script that a global leaderboard using OrderedDataStore for top players by Coins. result: local DataStoreService = game:GetService("DataStoreService") local orderedStore = DataStoreService:GetOrderedDataStore("CoinsLeaderboard") local function getTopPlayers(count) local success, pages = pcall(functio...
begin: Create a TextButton saying "Resume" with SourceSansBold 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("TextButton") elem.Size = UDim2.new(0.5,0,0.1,0...
task: Create a TextLabel saying "Save" with Michroma 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.3,0,0,50) elem.Posi...
query: Tween Transparency with Elastic In easing, 0.5s duration, 3 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 3, false, 0) local goal = {Transparency = 0.8...
begin: Tween Reflectance with Exponential InOut easing, 0.75s duration, 3 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Re...
question: Spawn a red brick block part at (-5,1,-5) size (8,2,6) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(8,2,6) part.Position = Vector3.new(-5,1,-5) part.Anchored = false part....
question: Create a TextLabel saying "Next" with LuckiestGuy font with background Color3.fromRGB(200,50,50) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0,40) el...
question: Create a part that is cyan, transparency 0.25, CanCollide=true, Reflectance=0. response: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 255, 255) part.Transparency = 0.25 part.CanCollide = true part.Reflectance = 0 part.Anchored = true part.Parent = workspace
instruction: Create an anchored pink Plastic Block part sized 2x1x1 at position -6,70,-2 in Roblox Luau. result: 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,1,1) part.Position = Vector3.new(-...
question: Create an unanchored purple Wood Block part sized 12x6x4 at position -22,100,8 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(12,6,4) part.Position = Vector3.new(-22,1...
start: Make a ball that is teal and forcefield at (-10,15,-5) size (8,1,4) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.ForceField part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(8,1,4) part.Position = Vector3.new(-10,15,-5) part.Anchore...
begin: Tween Color with Sine In easing, 1.5s duration, 0 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, false, 0) local goal = {Color = Color3.fromRGB(25...
input: Detect when a player runs in Roblox result: 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.Humano...
user: Create a smoke particle effect attached to a part. model: local part = workspace:WaitForChild("EffectPart") local particles = Instance.new("ParticleEmitter") particles.Color = ColorSequence.new(Color3.fromRGB(100, 100, 100)) particles.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKe...
question: Tween Color with Sine Out easing, 1.5s duration, 3 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 3, false, 0) local goal = {Color = Color3.fromRGB(25...
task: Create an unanchored purple Plastic Block part sized 2x6x10 at position -18,98,12 in Roblox Luau. completion: 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,6,10) part.Position = Vector3.new...
prompt: Create a blue pebble ball at (20,15,-10) size (1,6,1) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(1,6,1) part.Position = Vector3.new(20,15,-10) part.Anchored = true part.Pa...
task: Create an anchored pink Wood Block part sized 1x2x6 at position 24,18,37 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(1,2,6) part.Position = Vector3.new(24,18,37) part...
prompt: Create an unanchored green Wood Block part sized 1x4x4 at position 35,62,-42 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,0) part.Size = Vector3.new(1,4,4) part.Position = Vector3.new(35,62,-42) p...
user: Tween Size with Quint Out easing, 2s duration, 2 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 2, false, 0) local goal = {Size = Vector3.new(8,8,8)} local...
user: Tween Transparency with Quart In easing, 0.5s duration, 3 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 3, false, 0) local goal = {Transparency = 0.8} loc...
begin: Create an unanchored black Wood Block part sized 8x2x4 at position -7,36,36 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(8,2,4) part.Position = Vector3.new(-7,36,36) part.Anc...
input_text: Create an unanchored green Plastic Block part sized 2x2x8 at position -7,59,1 in Roblox Luau. model: 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,2,8) part.Position = Vector3.new(-7,59...
start: Tween a part to position (-11, 41, 14) over 4.6 seconds using Bounce easing (In). response: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("MovingPart") local tweenInfo = TweenInfo.new( 4.6, Enum.EasingStyle.Bounce, Enum.EasingDirection.In ) local goal = ...
instruction: I need to Add a trail effect to a moving part. answer: local part = workspace:WaitForChild("TrailPart") local attachment0 = Instance.new("Attachment") attachment0.Position = Vector3.new(0, 0.5, 0) attachment0.Parent = part local attachment1 = Instance.new("Attachment") attachment1.Position = Vector3.new...
user: Tween CFrame with Cubic Out easing, 2s duration, 1 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 1, true, 0) local goal = {CFrame = part.CFrame*CFrame.new...
query: Tween CFrame with Linear InOut easing, 0.25s duration, 1 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 1, true, 0) local goal = {CFrame = part.CFr...
question: Create a TextLabel saying "Menu" with Nunito font with background Color3.fromRGB(128,0,255) 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(1,0,0.08,0) elem.Po...
task: Build a system that Play a sound with volume 1.0, pitch 1.1, looped=true. result: local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID sound.Volume = 1.0 sound.PlaybackSpeed = 1.1 sound.Looped = true sound.Parent = workspace sound:Play() -- Sound will loop co...
prompt: Create an unanchored purple Plastic Block part sized 10x4x8 at position 16,62,-6 in Roblox Luau. response: 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,4,8) part.Position = Vector3.new(...
task: Create an anchored purple Wood Block part sized 6x6x8 at position -4,80,5 in Roblox Luau. completion: 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(6,6,8) part.Position = Vector3.new(-4,80,5) pa...
question: Make a ball that is white and ice at (10,50,10) size (4,6,6) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Ice part.Color = Color3.new(1,1,1) part.Size = Vector3.new(4,6,6) part.Position = Vector3.new(10,50,10) part.Anchored = false part.Pa...
input: Create a TextLabel saying "Click Me" with RobotoMono 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(0.5,0,0,50) ...
task: Tween Size with Bounce In easing, 4s duration, infinite repeats, reversing in Roblox. finish: 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 = {Size = Vector3.new(8,8,8)} lo...
user: Tween a part's color to RGB(255, 8, 123) over 2.3 seconds. output: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(2.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(255, 8, 123...
instruction: Make a red CorrodedMetal part with a PointLight effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 ...
query: Make a pink 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(255,100,200) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = w...
start: Create an anchored green Wood Block part sized 4x4x8 at position -18,32,27 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,0) part.Size = Vector3.new(4,4,8) part.Position = Vector3.new(-18,32,27) part...
prompt: Make a cylinder that is white and pebble at (-5,20,5) size (6,4,4) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Pebble part.Color = Color3.new(1,1,1) part.Size = Vector3.new(6,4,4) part.Position = Vector3.new(-5,20,5) part.Anchored = fal...
task: Create an anchored orange Plastic Block part sized 10x6x6 at position -45,60,-44 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(10,6,6) part.Position = Vector3.new(-4...
input_text: Create an anchored white Plastic Block part sized 4x6x8 at position -6,36,-22 in Roblox Luau. output: 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(4,6,8) part.Position = Vector3.new(-6,36,-22)...
user: Tween Size with Quint In easing, 0.75s duration, 2 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 2, true, 0) local goal = {Size = Vector3.new(8,8,8)} local t...
query: Tween Position with Quad Out easing, 1.5s duration, 1 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, true, 0) local goal = {Position = Vector3.new(10,5,...
question: Create a TextLabel saying "Resume" with Ubuntu font with background Color3.fromRGB(0,0,0) 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.08,0) elem.Posit...
input: Create a black foil part with Fire effect in Roblox output: local part = Instance.new("Part") part.Material = Enum.Material.Foil 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 ...
input_text: Create an anchored green Plastic Block part sized 10x4x4 at position 20,14,41 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,0) part.Size = Vector3.new(10,4,4) part.Position = Vector3.new(20,...
user: Create an unanchored purple Wood Block part sized 8x2x8 at position -45,47,-14 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(8,2,8) part.Position = Vector3.new(-45,47,-...
task: Create an anchored gold Plastic Block part sized 4x4x2 at position 15,25,48 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(4,4,2) part.Position = Vector3.new(15,25,48) par...
input_text: Create an anchored red Wood Block part sized 8x2x2 at position -48,36,50 in Roblox Luau. result: 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(8,2,2) part.Position = Vector3.new(-48,36,50) p...
begin: Create a TextButton saying "Shop" with Ubuntu 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("TextButton") elem.Size = UDim2.new(0.3,0,0,60) elem.Pos...
query: Create an anchored white Plastic Block part sized 6x2x8 at position 2,46,16 in Roblox Luau. response: 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(6,2,8) part.Position = Vector3.new(2,46,16) part.A...
prompt: Create a TextLabel saying "Score: 0" with Bangers font with background Color3.fromRGB(50,200,50) 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(1,0,0,60) elem.P...
input: Create a ScreenGui with a TextLabel that says "Health: 100" using font SciFi at size 14. model: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" screenGui.Par...
begin: Write Roblox Luau code to Set up collision groups so players don't collide with each other. output: local PhysicsService = game:GetService("PhysicsService") local Players = game:GetService("Players") -- Create collision groups PhysicsService:RegisterCollisionGroup("Players") PhysicsService:RegisterCollisionGro...