text
stringlengths
54
19.6k
input: Create an unanchored pink Plastic Block part sized 8x2x4 at position -12,88,-37 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(8,2,4) part.Position = Vector3.new(-...
begin: Create a Gun tool that deals 50 damage when activated. end: local tool = script.Parent local damage = 50 local debounce = false local cooldown = 0.5 tool.Activated:Connect(function() if debounce then return end debounce = true local character = tool.Parent local humanoid = character:FindFi...
input: Create an anchored gold Wood Block part sized 2x2x1 at position -14,94,36 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(2,2,1) part.Position = Vector3.new(-14,94,36) p...
question: Create a TextLabel saying "Click Me" with Michroma font with background Color3.fromRGB(50,50,80) 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.2,0,0.08...
input: Create an anchored teal Plastic Block part sized 1x6x1 at position -10,78,-12 in Roblox Luau. output: 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(1,6,1) part.Position = Vector3.new(-10,78,...
task: Create an unanchored purple Plastic Block part sized 6x1x1 at position -16,6,-41 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(6,1,1) part.Position = Vector3.new(-...
query: Create an unanchored cyan Wood Block part sized 6x2x6 at position -46,54,38 in Roblox Luau. solution: 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,2,6) part.Position = Vector3.new(-46,54,38)...
instruction: Tween a part's Transparency with Quad InOut easing over 3s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut) local goal = {Transparency = 0.8} local tween = TweenService:...
instruction: Detect when a player dies in Roblox output_text: 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 == ...
user: Create an unanchored red Wood Block part sized 4x6x6 at position -34,61,-23 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(4,6,6) part.Position = Vector3.new(-34,61,-23) par...
input_text: Tween Color with Cubic Out easing, 5s duration, 2 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 2, true, 0) local goal = {Color = Color3.fromRGB(255,0...
task: Create an anchored blue Wood Block part sized 6x2x6 at position 6,67,-5 in Roblox Luau. finish: 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,2,6) part.Position = Vector3.new(6,67,-5) part.Ancho...
start: Spawn a white smoothplastic block part at (20,20,-10) size (6,6,1) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.SmoothPlastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(6,6,1) part.Position = Vector3.new(20,20,-10) part.Ancho...
input_text: Spawn a red pebble cylinder part at (0,1,10) size (6,2,4) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(6,2,4) part.Position = Vector3.new(0,1,10) part.Anchored = t...
begin: Create a TextButton saying "Start" with LuckiestGuy 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.3,0,0.08...
input: Detect G key press to use an ability in Roblox model: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.G then print("G pressed - use an ability!") -- Add your u...
input_text: Tween Size with Cubic InOut easing, 1s duration, 3 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Size = Vector3.new(8,8,8)} loc...
begin: Tween Color with Elastic InOut easing, 0.75s duration, 2 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Color = Color3.f...
question: Give me a script for an auto-balancing team system that assigns players to Red or Blue teams. output_text: local Players = game:GetService("Players") local Teams = game:GetService("Teams") -- Create teams local redTeam = Instance.new("Team") redTeam.Name = "Red" redTeam.TeamColor = BrickColor.new("Bright re...
query: Create an anchored orange Plastic Block part sized 12x2x1 at position -25,83,17 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(12,2,1) part.Position = Vector3.new(-25,...
instruction: Spawn a teal marble block part at (-5,5,20) size (8,1,4) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Marble part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(8,1,4) part.Position = Vector3.new(-5,5,20) part.Anchored = fal...
user: Create an unanchored gray Plastic Block part sized 8x4x6 at position 25,75,-9 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(8,4,6) part.Position = Vector3.new(25,75,...
begin: Tween Size with Elastic Out easing, 0.25s duration, infinite repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, -1, false, 0) local goal = {Size = Ve...
prompt: Create an anchored green Wood Block part sized 12x4x6 at position 0,63,-12 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(12,4,6) part.Position = Vector3.new(0,63,-12) part.A...
input: Create an anchored gray Wood Block part sized 4x4x6 at position 15,48,37 in Roblox Luau. end: 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(4,4,6) part.Position = Vector3.new(15,48,37) part.A...
begin: Spawn a orange granite cylinder part at (0,10,20) size (8,6,8) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(8,6,8) part.Position = Vector3.new(0,10,20) part.Ancho...
user: Tween Transparency with Exponential In easing, 1s duration, 3 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 3, false, 0) local goal = {Transparency =...
query: Make a gray Plastic part with a PointLight effect attached in Roblox Luau. output_text: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 ...
begin: Use FindFirstChild to find by name in player.Character in Roblox finish: local result = player.Character:FindFirstChild("MyObject") if typeof(result) ~= "table" then if result then print("Found:", result.Name) end end
task: Create an anchored orange Plastic Block part sized 4x1x1 at position -39,94,-37 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(4,1,1) part.Position = Vector3.new(-39,94...
prompt: Tween Size with Bounce Out easing, 4s duration, infinite repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, -1, false, 0) local goal = {Size = Vector3.new(8...
user: Create a Gun tool that deals 30 damage when activated. response: local tool = script.Parent local damage = 30 local debounce = false local cooldown = 0.5 tool.Activated:Connect(function() if debounce then return end debounce = true local character = tool.Parent local humanoid = character:Fi...
start: Create an unanchored yellow Wood Block part sized 4x6x6 at position 19,99,-35 in Roblox Luau. end: 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(4,6,6) part.Position = Vector3.new(19,99,-35) pa...
task: Create an unanchored gold Wood Block part sized 6x2x1 at position 38,30,-10 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,2,1) part.Position = Vector3.new(38,30,-10) pa...
input: Create an anchored yellow Wood Block part sized 10x4x6 at position 7,81,41 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(10,4,6) part.Position = Vector3.new(7,81,41) par...
task: Tween Reflectance with Circular In easing, 0.75s duration, infinite repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Circular, Enum.EasingDirection.In, -1, true, 0) local goal = {Reflectance ...
start: Create a teal brick cylinder at (5,20,-5) size (2,2,4) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(2,2,4) part.Position = Vector3.new(5,20,-5) part.Anchored = false par...
input_text: Create an anchored black Plastic Block part sized 1x4x10 at position 45,71,16 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,4,10) part.Position = Vector3.new(45,71...
input_text: Create an anchored pink Plastic Block part sized 6x2x6 at position 40,65,1 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(6,2,6) part.Position = Vector3.new(40,...
start: Create a projectile weapon that fires a ball at speed 200 dealing 20 damage on hit. end: local tool = script.Parent local damage = 20 local speed = 200 local debounce = false tool.Activated:Connect(function() if debounce then return end debounce = true local character = tool.Parent local h...
question: Help me a beam connecting two parts. response: local partA = workspace:WaitForChild("BeamStart") local partB = workspace:WaitForChild("BeamEnd") local attachment0 = Instance.new("Attachment") attachment0.Parent = partA local attachment1 = Instance.new("Attachment") attachment1.Parent = partB local beam = ...
user: Create a TextLabel saying "Continue" with GothamBold font with background Color3.fromRGB(0,120,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.5,0,0,40) elem...
prompt: Create a gold concrete cylinder at (5,20,-5) size (8,2,8) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(8,2,8) part.Position = Vector3.new(5,20,-5) part.Anchored = fa...
query: Create an unanchored blue Plastic Block part sized 6x1x8 at position 26,96,22 in Roblox Luau. model: 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,1,8) part.Position = Vector3.new(26,96,22) ...
task: Create a TextLabel saying "Continue" with LuckiestGuy 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.3,0,0.08,0) e...
task: Create an unanchored teal Plastic Block part sized 2x4x6 at position -39,97,-20 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(2,4,6) part.Position = Vector3.new(-39,97,...
start: Build a system that Fade a part to invisible over 1.9 seconds using a tween. response: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("FadePart") local tweenInfo = TweenInfo.new(1.9, Enum.EasingStyle.Linear) local goal = { Transparency = 1 } local tween = TweenS...
question: Tween a part's Position with Exponential Out easing over 1s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out) local goal = {Position = Vector3.new(10,5,0)} local tween...
query: Create an anchored orange Plastic Block part sized 10x4x4 at position -38,60,-37 in Roblox Luau. end: 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,4) part.Position = Vector3.new(-38,60...
query: Create an unanchored black Plastic Block part sized 6x6x1 at position 31,100,30 in Roblox Luau. result: 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(6,6,1) part.Position = Vector3.new(31,100,30) pa...
input: Create a TextButton saying "Continue" with GothamBold 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(0,200,0,60)...
input_text: Spawn a magenta granite cylinder part at (5,20,-10) size (4,4,8) in Roblox. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,4,8) part.Position = Vector3.new(5,20,-10) part....
task: Create a TextLabel saying "Pause" with SourceSansBold 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.2,0,0.08,0) ...
task: Spawn a pink pebble block part at (20,25,20) size (1,4,6) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(1,4,6) part.Position = Vector3.new(20,25,20) part.Anchored = t...
begin: Create an unanchored purple Plastic Block part sized 4x1x2 at position -29,18,42 in Roblox Luau. answer: 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(4,1,2) part.Position = Vector3.new(-29,...
prompt: Tween Reflectance with Quart InOut easing, 3s duration, 0 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Reflectance = 0.9} loc...
prompt: Tween a part's Reflectance with Circular Out easing over 1s in Roblox output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Circular, Enum.EasingDirection.Out) local goal = {Reflectance = 0.9} local tween = TweenService:Create(...
user: Tween Position with Back In easing, 2s duration, 1 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Back, Enum.EasingDirection.In, 1, false, 0) local goal = {Position = Vector3.new(10,5,0)} ...
start: Create an unanchored green Wood Block part sized 6x4x2 at position 31,22,-40 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(6,4,2) part.Position = Vector3.new(31,22,-4...
input: Create a TextButton saying "Yes" with GothamBold 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,200,0.1,0) el...
question: Create a TextLabel saying "Pause" with Nunito font with background Color3.fromRGB(40,40,40) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0,60) elem....
question: Create a rounded Frame with corner radius 12 and a stroke thickness of 3. completion: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Insta...
task: Script for an Instance of type BodyForce and configure its properties. response: local instance = Instance.new("BodyForce") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
question: Create a Luau script that will Connect two parts with a RopeConstraint. result: local partA = workspace:WaitForChild("PartA") local partB = workspace:WaitForChild("PartB") local attachmentA = Instance.new("Attachment") attachmentA.Parent = partA local attachmentB = Instance.new("Attachment") attachmentB.Pa...
task: Tween Reflectance with Sine In easing, 1s duration, 0 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, false, 0) local goal = {Reflectance = 0.9} local ...
start: Create an anchored green Wood Block part sized 12x6x4 at position -40,16,12 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(12,6,4) part.Position = Vector3.new(-40,16,12) par...
user: Create an anchored gray Plastic Block part sized 8x1x6 at position -26,16,17 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(8,1,6) part.Position = Vector3.new(-26,1...
task: Create a purple brick ball at (10,50,0) size (1,6,4) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(1,6,4) part.Position = Vector3.new(10,50,0) part.Anchored = false part.P...
instruction: Create an unanchored teal Plastic Block part sized 4x4x4 at position 29,55,26 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(4,4,4) part.Position = Vector3.new(29,5...
input_text: Make a block that is gray and neon at (-5,25,5) size (4,4,8) in Roblox. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,8) part.Position = Vector3.new(-5,25,5) part.Anchored ...
start: Tween a part's CFrame with Quart InOut easing over 5s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = Tw...
question: Create an unanchored cyan Plastic Block part sized 1x2x4 at position 43,12,-3 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(1,2,4) part.Position = Vector3.new(43,1...
input_text: Create an unanchored pink Wood Block part sized 8x6x1 at position 25,2,-21 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(8,6,1) part.Position = Vector3.new(25,2,-...
query: Create an unanchored teal Plastic Block part sized 10x1x4 at position -5,86,-38 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(10,1,4) part.Position = Vector3.new(-5,86,-...
start: Tween Color with Circular InOut easing, 2.5s duration, 0 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Color = Color3.fr...
begin: Tween a part's color to RGB(53, 170, 68) over 0.6 seconds. end: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(0.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(53, 170, 68) ...
begin: Create an unanchored gold Wood Block part sized 10x2x10 at position 13,4,35 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(10,2,10) part.Position = Vector3.new(13,4,35) p...
task: Create an unanchored white Wood Block part sized 8x6x4 at position 36,62,-46 in Roblox Luau. answer: 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(8,6,4) part.Position = Vector3.new(36,62,-46) part.Anch...
start: Create an unanchored black Plastic Block part sized 12x6x10 at position 16,14,7 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(12,6,10) part.Position = Vector3.new(16,14,7) pa...
user: Create an anchored cyan Plastic Block part sized 1x4x1 at position -34,90,42 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(1,4,1) part.Position = Vector3.new(-34,90,42...
start: Create an anchored yellow Plastic Block part sized 8x6x4 at position -33,14,28 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(8,6,4) part.Position = Vector3.new(-33,14...
task: Tween Transparency with Quad Out easing, 4s duration, 1 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, true, 0) local goal = {Transparency = 0.8} local tween...
user: Create an anchored green Wood Block part sized 6x6x1 at position 35,75,-45 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(6,6,1) part.Position = Vector3.new(35,75,-45) p...
prompt: Tween Transparency with Quint In easing, 0.5s duration, 1 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 1, false, 0) local goal = {Transparency = 0.8...
instruction: Spawn a pink glass cylinder part at (-10,5,-5) size (8,4,8) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(8,4,8) part.Position = Vector3.new(-10,5,-5) part.Anchor...
query: Tween CFrame with Exponential Out easing, 0.75s duration, infinite repeats, non-reversing in Roblox. output_text: 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 =...
input_text: Create an unanchored green Plastic Block part sized 1x1x8 at position 38,48,-23 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(1,1,8) part.Position = Vector3.new(...
task: Tween Transparency with Sine InOut easing, 1.5s duration, infinite repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Transparen...
start: Tween Reflectance with Quart Out easing, 1s duration, 2 repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 2, true, 0) local goal = {Reflectance = 0.9} local twee...
begin: Create an unanchored yellow Wood Block part sized 2x4x6 at position 25,63,-38 in Roblox Luau. answer: 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,6) part.Position = Vector3.new(25,63,-38)...
question: Create an anchored pink Wood Block part sized 8x6x10 at position -6,78,33 in Roblox Luau. answer: 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(8,6,10) part.Position = Vector3.new(-6,78,33...
input_text: How do I a rounded Frame with corner radius 24 and a stroke thickness of 1. response: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Ins...
instruction: Create an anchored yellow Wood Block part sized 2x2x4 at position -41,35,-35 in Roblox Luau. completion: 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,2,4) part.Position = Vector3.new(-...
begin: Build a system that an Instance of type Smoke and configure its properties. finish: local instance = Instance.new("Smoke") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
input_text: Create an unanchored green Plastic Block part sized 2x1x1 at position 43,85,16 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,0) part.Size = Vector3.new(2,1,1) part.Position = Vector3.new(43,...
begin: Write a Roblox script to a script that clones a part from ServerStorage and places it at a random position in the workspace. output_text: local ServerStorage = game:GetService("ServerStorage") local template = ServerStorage:WaitForChild("TemplatePart") local clone = template:Clone() clone.Position = Vector3.ne...
question: Create an anchored purple Plastic Block part sized 12x1x2 at position 0,4,44 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(12,1,2) part.Position = Vector3.new(0,4,...
input: Create a TextButton saying "Loading..." with Nunito 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(1,0,0,50) elem....
query: Create a TextLabel saying "Continue" with PatrickHand font with background Color3.fromRGB(40,40,40) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0,40...
prompt: Spawn a purple grass block part at (-10,20,20) size (1,4,8) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Grass part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(1,4,8) part.Position = Vector3.new(-10,20,20) part.Anchored = true...