text
stringlengths
54
19.6k
question: Make a yellow Wood part with a Highlight effect attached in Roblox Luau. output_text: local part = Instance.new("Part") part.Material = Enum.Material.Wood 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 loca...
input_text: Tween a part's Color with Cubic Out easing over 2s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Crea...
question: Create an anchored pink Plastic Block part sized 1x6x6 at position -18,14,42 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(1,6,6) part.Position = Vector3.new...
instruction: Create a TextButton saying "No" 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("TextButton") elem.Size = UDim2.new(0,200,0,40) ele...
begin: Create an anchored gray Plastic Block part sized 12x6x8 at position -13,54,37 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(12,6,8) part.Position = Vector3.new(-13,54,...
begin: Create a TextLabel saying "Resume" with FredokaOne 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,150,0,50) elem...
input: Make a green Slate part with a Smoke effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = In...
input: Create an unanchored pink Wood Block part sized 8x1x4 at position -33,27,20 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,1,4) part.Position = Vector3.new(-33,27,20)...
start: Create an anchored white Plastic Block part sized 6x6x2 at position -31,100,-37 in Roblox Luau. output_text: 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,6,2) part.Position = Vector3.new(-31,100,...
input: Spawn a cyan foil cylinder part at (0,50,20) size (4,2,2) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,2,2) part.Position = Vector3.new(0,50,20) part.Anchored = false p...
task: Script a cylinder with ice material colored black at (0,25,10) size (8,6,1) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Ice part.Color = Color3.new(0,0,0) part.Size = Vector3.new(8,6,1) part.Position = Vector3.new(0,25,10) part.Anchored...
start: Create a TextLabel saying "Start" 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(1,0,0.1,0) elem...
begin: Create an anchored black Plastic Block part sized 4x4x10 at position 14,44,34 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(4,4,10) part.Position = Vector3.new(14,44,34) part....
prompt: Create an anchored blue Plastic Block part sized 2x4x6 at position -22,52,38 in Roblox Luau. response: 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(2,4,6) part.Position = Vector3.new(-22,52,...
query: Create an unanchored cyan Wood Block part sized 2x6x4 at position -31,1,25 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(2,6,4) part.Position = Vector3.new(-31,1,25) par...
question: Create an unanchored gold Plastic Block part sized 2x2x1 at position 36,86,-39 in Roblox Luau. completion: 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(2,2,1) part.Position = Vector3.new...
start: Tween Transparency with Circular Out easing, 4s duration, infinite repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, -1, false, 0) local goal = {Transparency...
task: Create an anchored gray Plastic Block part sized 8x2x1 at position -15,7,-26 in Roblox Luau. model: 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,2,1) part.Position = Vector3.new(-15,7,-2...
question: Create an unanchored teal Plastic Block part sized 8x6x8 at position -24,21,-1 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,6,8) part.Position = Vector3.new(-24,21...
input: Create an unanchored brown Wood Block part sized 4x4x4 at position 19,57,-35 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(19,57,-35) ...
task: Create a TextLabel saying "Game Over" with Bangers font with background Color3.fromRGB(50,50,80) in Roblox GUI. finish: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.5,0,0,60) elem.P...
input_text: Create an unanchored green Wood Block part sized 4x6x4 at position 4,22,4 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(4,6,4) part.Position = Vector3.new(4,22,4)...
input_text: Script a ball with ice material colored black at (5,5,10) size (6,1,2) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Ice part.Color = Color3.new(0,0,0) part.Size = Vector3.new(6,1,2) part.Position = Vector3.new(5,5,10) part.Anchored = fal...
input: Create an anchored yellow Wood Block part sized 10x6x6 at position 13,88,18 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,6,6) part.Position = Vector3.new(13,88,18) p...
task: Tween Size with Circular Out easing, 3s duration, 0 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, 0, true, 0) local goal = {Size = Vector3.new(8,8,8)} ...
begin: Create an unanchored purple Wood Block part sized 12x6x8 at position -6,60,2 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(12,6,8) part.Position = Vector3.new(-6,60,2)...
input_text: Create an anchored blue Wood Block part sized 12x6x4 at position -39,3,3 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(12,6,4) part.Position = Vector3.new(-39,3,3) ...
question: Tween Position with Quint InOut easing, 3s duration, 1 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 1, false, 0) local goal = {Position = Vector3...
start: Tween a part to position (-15, 24, -25) over 2.8 seconds using Linear easing (Out). output: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("MovingPart") local tweenInfo = TweenInfo.new( 2.8, Enum.EasingStyle.Linear, Enum.EasingDirection.Out ) local goal =...
query: Make a cylinder that is purple and granite at (20,10,0) size (8,4,1) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(8,4,1) part.Position = Vector3.new(20,10,0) part...
instruction: Make a gray Wood part with a Fire effect attached in Roblox Luau. model: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = I...
input_text: Create an unanchored purple Wood Block part sized 10x2x8 at position -40,39,41 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(10,2,8) part.Position = Vector3.new(-40,...
user: Make a ball that is magenta and concrete at (20,20,-10) size (4,4,6) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,4,6) part.Position = Vector3.new(20,20,-10) part.A...
instruction: Tween Reflectance with Quint In easing, 1.5s duration, 0 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 0, false, 0) local goal = {Reflectance = ...
query: Create an anchored purple Wood Block part sized 12x4x4 at position 31,37,39 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(12,4,4) part.Position = Vector3.new(31,37,3...
instruction: Create a TextLabel saying "Submit" with Creepster font with background Color3.fromRGB(255,128,0) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0.1,0...
question: Create an unanchored gold Wood Block part sized 6x1x1 at position -7,81,-11 in Roblox Luau. answer: 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,1,1) part.Position = Vector3.new(-7,81,-11...
prompt: Create an anchored green Plastic Block part sized 12x2x10 at position 17,47,-42 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(12,2,10) part.Position = Vector3.new(17...
user: Tween Reflectance with Sine Out easing, 5s duration, 2 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 2, false, 0) local goal = {Reflectance = 0.9} loc...
instruction: Create an unanchored yellow Wood Block part sized 2x6x8 at position 34,17,-32 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(2,6,8) part.Position = Vector3.new...
question: Create a TextLabel saying "Save" 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("TextLabel") elem.Size = UDim2.new(0,200,0,60) el...
prompt: Make a block that is teal and diamondplate at (-10,20,-5) size (2,4,8) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(2,4,8) part.Position = Vector3.new(-10,20,-5...
input: Make a brown CorrodedMetal part with a Smoke effect attached in Roblox Luau. output: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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...
start: Create an anchored teal Plastic Block part sized 10x2x4 at position 9,87,-22 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,2,4) part.Position = Vector3.new(9,87,-22) ...
start: Tween Color with Quad Out easing, 0.5s duration, 3 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 3, false, 0) local goal = {Color = Color3.fromRGB(255,0...
input: Tween a part's Reflectance with Linear InOut easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut) local goal = {Reflectance = 0.9} local tween = TweenService:Crea...
begin: Tween Color with Elastic InOut easing, 4s duration, infinite repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Color = Color3...
input_text: Create a cyan woodplanks part with Fire effect in Roblox solution: local part = Instance.new("Part") part.Material = Enum.Material.WoodPlanks 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 local fx = Ins...
input_text: Create an unanchored orange Wood Block part sized 1x2x2 at position 23,55,-34 in Roblox Luau. answer: 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(1,2,2) part.Position = Vector3.new(23,55...
instruction: Make a block that is pink and plastic at (0,25,5) size (6,1,2) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(6,1,2) part.Position = Vector3.new(0,25,5) part.Anchored ...
start: Create a TextLabel saying "Yes" with FredokaOne font with background Color3.fromRGB(255,128,0) 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,150,0.1,0) elem...
question: Create an anchored brown Wood Block part sized 2x4x10 at position -22,12,3 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(2,4,10) part.Position = Vector3.new(-22,12,3)...
query: Spawn a black slate block part at (-10,5,20) size (1,4,8) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Slate part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,4,8) part.Position = Vector3.new(-10,5,20) part.Anchored = false part.P...
instruction: Create an anchored black Wood Block part sized 8x2x6 at position 30,57,-36 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(8,2,6) part.Position = Vector3.new(30,57,-36) part...
question: Create a white smoothplastic cylinder at (10,5,20) size (6,6,4) in Roblox. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.SmoothPlastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(6,6,4) part.Position = Vector3.new(10,5,20) part.Anchor...
task: Script a block with pebble material colored blue at (5,10,20) size (8,6,2) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(8,6,2) part.Position = Vector3.new(5,10,20) part.Anc...
input_text: Create an unanchored cyan Plastic Block part sized 10x1x6 at position 0,85,-47 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(10,1,6) part.Position = Vector3.new(0...
question: Play a sound with volume 0.3, pitch 0.8, looped=true. end: local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID sound.Volume = 0.3 sound.PlaybackSpeed = 0.8 sound.Looped = true sound.Parent = workspace sound:Play() -- Sound will loop continuously
instruction: Tween Reflectance with Sine InOut easing, 3s duration, infinite repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Reflectance =...
user: Create an anchored orange Plastic Block part sized 8x4x2 at position -21,70,-6 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(8,4,2) part.Position = Vector3.new(-21,70,...
prompt: Create a TextLabel saying "Buy" centered in Roblox GUI finish: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local elem = Instance.new("TextLabel") elem.S...
query: Tween a part's CFrame with Bounce InOut easing over 3s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = Tw...
start: Tween Transparency with Elastic Out easing, 0.75s duration, 3 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 3, false, 0) local goal = {Transparency ...
start: Tween Transparency with Quint InOut easing, 2s duration, 0 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Transparency = 0.8} loca...
input_text: Create an anchored cyan Wood Block part sized 4x2x10 at position -47,77,-45 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(4,2,10) part.Position = Vector3.new(-47,...
instruction: Create a TextButton saying "Score: 0" with Roboto 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("TextButton") elem.Size = UDim2.new(0,200,0,50...
input: Create an unanchored brown Plastic Block part sized 1x1x6 at position -26,38,6 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(1,1,6) part.Position = Vector3.new(-2...
query: Tween Reflectance with Back Out easing, 0.5s duration, infinite repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out, -1, true, 0) local goal = {Reflectance = 0.9} ...
question: Create an unanchored brown Wood Block part sized 8x2x10 at position -20,86,13 in Roblox Luau. finish: 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,10) part.Position = Vector3.new(-20,86...
input_text: How do I use LinearVelocity in Roblox? It constant velocity. end: local partA = workspace.PartA local partB = workspace.PartB local a0 = Instance.new("Attachment") a0.Parent = partA local a1 = Instance.new("Attachment") a1.Parent = partB local constraint = Instance.new("LinearVelocity") constraint.Attachme...
input: Tween a part's color to RGB(198, 191, 129) over 2.4 seconds. end: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ColorPart") local tweenInfo = TweenInfo.new(2.4, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = { Color = Color3.fromRGB(198, 191, 1...
task: Create an unanchored cyan Wood Block part sized 4x4x2 at position -24,37,23 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,255) part.Size = Vector3.new(4,4,2) part.Position = Vector3.new(-24,37,2...
instruction: Tween Transparency with Linear Out easing, 2.5s duration, 1 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 1, false, 0) local goal = {Transpa...
prompt: Make a white CorrodedMetal part with a SpotLight effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 lo...
user: Create a TextButton saying "Equip" with Michroma font with background Color3.fromRGB(0,120,255) 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.3,0,0,60) elem...
user: Create an anchored blue Wood Block part sized 4x2x6 at position -17,13,-48 in Roblox Luau. end: 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(4,2,6) part.Position = Vector3.new(-17,13,-48) part.An...
input: Create an unanchored white Plastic Block part sized 6x1x10 at position 46,44,49 in Roblox Luau. result: 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,1,10) part.Position = Vector3.new(46,44,49) pa...
query: Spawn a orange corrodedmetal ball part at (-5,50,20) size (4,6,2) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(4,6,2) part.Position = Vector3.new(-5,50,20) part.Anch...
task: Tween Position with Sine InOut easing, 3s duration, 1 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 1, false, 0) local goal = {Position = Vector3.new(10,...
input: Create a TextLabel saying "Resume" with GothamBold font with background Color3.fromRGB(255,128,0) 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(1,0,0,50) elem.Po...
start: Help me Use CollectionService to tag and manage groups of objects. end: local CollectionService = game:GetService("CollectionService") -- Tag objects local function setupLava(part) part.Touched:Connect(function(hit) local character = hit.Parent local humanoid = character and character:FindF...
input: Create an Instance of type SurfaceLight and configure its properties. end: local instance = Instance.new("SurfaceLight") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
input: Make a pink DiamondPlate part with a PointLight effect attached in Roblox Luau. finish: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate 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 = works...
input_text: Create an unanchored purple Wood Block part sized 1x1x1 at position 43,24,32 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(1,1,1) part.Position = Vector3.new(43,24,...
user: Create a TextButton saying "Exit" with SourceSansBold font with background Color3.fromRGB(30,30,40) in Roblox GUI. model: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,200,0,40) ele...
query: Tween a part's Color with Quad InOut easing over 0.5s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:...
question: Write a Roblox script to client-side code to fire a RemoteEvent called "ItemPickup" to the server. output_text: local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("ItemPickup") local data = { action = "request", timestamp = os.clock() } ...
query: Give the player a ForceField that lasts 13 seconds. response: local Players = game:GetService("Players") local function giveForceField(player, duration) local character = player.Character if not character then return end local existingFF = character:FindFirstChildOfClass("ForceField") if e...
input: Create an unanchored gray Plastic Block part sized 6x6x2 at position -39,91,33 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(6,6,2) part.Position = Vector3.new(-3...
instruction: Create an Instance of type Weld and configure its properties. solution: local instance = Instance.new("Weld") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
input: Create a TextButton saying "Pause" with Roboto 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("TextButton") elem.Size = UDim2.new(1,0,0.1,0) elem.Po...
begin: Create a ScreenGui with a TextLabel that says "Health: 100" using font Cartoon 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 = "CustomGui" scree...
input: Create an unanchored teal Plastic Block part sized 8x4x6 at position -8,6,33 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,4,6) part.Position = Vector3.new(-8,6,33) pa...
input: Create a TextLabel saying "Resume" with Ubuntu font with background Color3.fromRGB(200,50,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.08,0) elem.P...
begin: Tween Position with Quad InOut easing, 2.5s duration, 3 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Position = Vector3.ne...
input_text: Create an anchored pink Wood Block part sized 2x1x1 at position 47,67,8 in Roblox Luau. response: 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(2,1,1) part.Position = Vector3.new(47,67,8...
instruction: Create a TextBox saying "Shop" centered 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("TextBox") ...
task: Create a TextButton saying "Game Over" with Michroma font with background Color3.fromRGB(40,40,40) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,40) elem....
query: Create an anchored brown Plastic Block part sized 6x4x6 at position 31,27,-9 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,4,6) part.Position = Vector3.new(31,2...
start: Create an anchored blue Wood Block part sized 8x6x8 at position -13,85,17 in Roblox Luau. completion: 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,6,8) part.Position = Vector3.new(-13,85,17) p...