text
stringlengths
54
19.6k
user: Create an unanchored yellow Wood Block part sized 4x1x4 at position -27,57,-5 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,1,4) part.Position = Vector3.new(-27,57,-5) par...
instruction: Create an anchored pink Wood Block part sized 1x6x8 at position -44,97,0 in Roblox Luau. output: 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,6,8) part.Position = Vector3.new(-44,97,...
task: Create a blue foil ball at (-10,1,-5) size (6,6,4) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(6,6,4) part.Position = Vector3.new(-10,1,-5) part.Anchored = false part.Parent = w...
user: Create an anchored black Wood Block part sized 4x2x2 at position 8,91,12 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(4,2,2) part.Position = Vector3.new(8,91,12) part.Anchored = ...
query: Create an unanchored blue Wood Block part sized 6x6x8 at position 46,92,44 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,6,8) part.Position = Vector3.new(46,92,44) part....
instruction: Create an unanchored gray Plastic Block part sized 1x1x4 at position 28,36,-15 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(1,1,4) part.Position = Vector3.new(2...
question: Tween Position with Elastic InOut easing, 0.75s duration, 1 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 1, true, 0) local goal = {Position = Vect...
begin: Create a TextLabel saying "Settings" top-right in Roblox GUI output: 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") e...
query: Create an anchored blue Plastic Block part sized 8x2x2 at position 3,62,10 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(8,2,2) part.Position = Vector3.new(3,62,10) p...
input_text: Create an unanchored cyan Plastic Block part sized 4x1x6 at position 20,56,24 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(4,1,6) part.Position = Vector3.ne...
question: Tween CFrame with Quint InOut easing, 5s duration, 2 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 2, false, 0) local goal = {CFrame = part.CFrame*C...
query: Make a pink Plastic part with a Highlight effect attached in Roblox Luau. response: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace loca...
instruction: Create a TextLabel saying "Play" top-right in Roblox GUI result: 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")...
question: Create a TextLabel saying "Welcome!" with Michroma font with background Color3.fromRGB(40,40,40) in Roblox GUI. model: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(1,0,0.1,0) elem...
query: Create an anchored white Wood Block part sized 2x6x2 at position -8,87,-10 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(1,1,1) part.Size = Vector3.new(2,6,2) part.Position = Vector3.new(-8,87,-10) part.Ancho...
begin: Make a yellow Slate part with a Highlight effect attached in Roblox Luau. completion: 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 ...
instruction: Create an anchored brown Plastic Block part sized 2x2x1 at position 33,45,-46 in Roblox Luau. model: 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(2,2,1) part.Position = Vector3.new(33...
input_text: Create an unanchored cyan Wood Block part sized 2x2x10 at position -41,17,15 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(2,2,10) part.Position = Vector3.new(-41,1...
task: Create an unanchored gold Plastic Block part sized 6x1x1 at position -34,3,11 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,1,1) part.Position = Vector3.new(-34,3,11...
user: Create a TextLabel saying "Help" with Nunito font with background Color3.fromRGB(255,128,0) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0,40) elem.Positi...
input_text: Tween Reflectance with Circular In easing, 0.5s duration, 2 repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 2, false, 0) local goal = {Reflectance = ...
begin: Tween Size with Quad Out easing, 5s duration, 3 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 3, false, 0) local goal = {Size = Vector3.new(8,8,8)} l...
input_text: Create a purple forcefield part with Sparkles effect in Roblox output: local part = Instance.new("Part") part.Material = Enum.Material.ForceField part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx =...
input: Create an unanchored red Wood Block part sized 10x4x10 at position 5,27,28 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(10,4,10) part.Position = Vector3.new(5,27,28) part...
instruction: What's the code to a simple cutscene camera that moves between waypoints. end: local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local waypoints = { CFrame.new(0, 20, 50) * CFrame....
query: Spawn a black granite block part at (5,15,10) size (1,6,8) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Granite part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,6,8) part.Position = Vector3.new(5,15,10) part.Anchored = true part.Pare...
input_text: Make a orange Wood part with a Smoke effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = ...
prompt: Tween Reflectance with Bounce Out easing, 5s duration, 0 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, false, 0) local goal = {Reflectance = 0.9} lo...
start: Create a TextLabel saying "Click Me" with Roboto font with background Color3.fromRGB(128,0,255) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0.1,0) elem.Pos...
query: How do you get a reference to the ServerStorage service in Roblox? completion: local ServerStorage = game:GetService("ServerStorage")
query: Spawn a lime granite ball part at (-10,5,10) size (8,2,4) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Granite part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(8,2,4) part.Position = Vector3.new(-10,5,10) part.Anchored = false p...
task: Tween a part's CFrame with Elastic Out easing over 0.5s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = T...
input_text: Tween a part's Color with Linear Out easing over 5s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Cr...
question: Create an unanchored teal Plastic Block part sized 12x4x1 at position -39,39,48 in Roblox Luau. response: 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(12,4,1) part.Position = Vector3.new...
input_text: Tween Position with Cubic Out easing, 1.5s duration, 0 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 0, false, 0) local goal = {Position = Vec...
question: Create an anchored brown Plastic Block part sized 1x4x2 at position 41,94,-35 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(1,4,2) part.Position = Vector3.new(41,9...
prompt: Create a Luau script that will Add a BlurEffect post-processing effect to the game's Lighting. response: local Lighting = game:GetService("Lighting") local effect = Instance.new("BlurEffect") effect.Size = 10 effect.Parent = Lighting
begin: Create a magenta metal block at (-10,5,-10) size (4,6,2) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Metal part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,6,2) part.Position = Vector3.new(-10,5,-10) part.Anchored = true part.P...
start: Create a blue concrete part with PointLight effect in Roblox completion: local part = Instance.new("Part") part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instan...
input_text: Create a blue smoothplastic part with Highlight effect in Roblox result: local part = Instance.new("Part") part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local f...
input_text: Create an unanchored brown Plastic Block part sized 12x6x8 at position 23,7,34 in Roblox Luau. end: 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(12,6,8) part.Position = Vector3.new(23,...
prompt: Create a TextButton saying "Exit" with FredokaOne font with background Color3.fromRGB(128,0,255) 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,150,0,40...
begin: Create a TextButton saying "Pause" with Bangers font with background Color3.fromRGB(50,50,80) 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,150,0,50) elem.Pos...
start: Create an anchored gray Wood Block part sized 4x1x10 at position 12,4,12 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,1,10) part.Position = Vector3.new(12,4,12) part.A...
begin: Create an anchored pink Plastic Block part sized 10x6x1 at position 46,68,-26 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(10,6,1) part.Position = Vector3.new(46...
question: Create an unanchored purple Wood Block part sized 8x2x4 at position 10,33,47 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(8,2,4) part.Position = Vector3.new(10,33,47...
input: Tween Position with Elastic Out easing, 4s duration, 2 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 2, false, 0) local goal = {Position = Vector3.ne...
prompt: Create an anchored green Plastic Block part sized 12x2x1 at position -42,15,13 in Roblox Luau. solution: 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,1) part.Position = Vector3.new(-42,...
input: Tween Reflectance with Linear InOut easing, 4s duration, 3 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Reflectance =...
instruction: Create an unanchored purple Plastic Block part sized 4x2x1 at position -49,28,14 in Roblox Luau. solution: 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,2,1) part.Position = Vector3....
input_text: Tween a part's Reflectance with Quad Out easing over 5s in Roblox solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = {Reflectance = 0.9} local tween = TweenService:Create(pa...
task: Create a TextLabel saying "Retry" with PatrickHand 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.5,0,0,60) elem...
prompt: Create a TextLabel saying "Start" with SourceSansBold font with background Color3.fromRGB(0,0,0) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0.08,0) el...
question: Make a pink Wood part with a Sparkles effect attached in Roblox Luau. model: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = ...
user: Give the player a ForceField that lasts 9 seconds. finish: 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 exist...
input_text: Create a pink diamondplate part with PointLight effect in Roblox response: 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 = workspace lo...
input: Give the player a ForceField that lasts 10 seconds. end: 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 existi...
begin: Create a projectile weapon that fires a ball at speed 200 dealing 50 damage on hit. finish: local tool = script.Parent local damage = 50 local speed = 200 local debounce = false tool.Activated:Connect(function() if debounce then return end debounce = true local character = tool.Parent loca...
query: Tween Reflectance with Bounce Out easing, 1.5s duration, 3 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 3, true, 0) local goal = {Reflectance = 0.9}...
begin: Create a TextLabel saying "No" with Nunito font with background Color3.fromRGB(0,0,0) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0.1,0) elem.Posit...
input_text: Create an anchored blue Wood Block part sized 12x2x6 at position -29,3,27 in Roblox Luau. answer: 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,2,6) part.Position = Vector3.new(-29,3,27) ...
input_text: Tween CFrame with Linear 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.Linear, Enum.EasingDirection.Out, -1, false, 0) local goal = {CFr...
input_text: Tween Size with Bounce InOut easing, 2.5s duration, 1 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 1, true, 0) local goal = {Size = Vector3.new(...
question: Implement a way to a ProximityPrompt on a chest part that says "Open Chest" with hold duration 0.1s and max distance 15. result: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Open Chest" prompt.ObjectText = "Chest" prompt.KeyboardKeyCode = Enum.KeyCode.E prom...
begin: Create an anchored orange Plastic Block part sized 8x6x8 at position 5,85,-34 in Roblox Luau. solution: 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,6,8) part.Position = Vector3.new(5,85,...
question: Create an anchored black Plastic Block part sized 12x2x6 at position 27,73,28 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(12,2,6) part.Position = Vector3.new(27,73,2...
prompt: Tween Color with Back InOut easing, 1s duration, infinite repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Color = Color3.fromRGB(2...
prompt: Create a TextButton saying "Retry" with RobotoMono font with background Color3.fromRGB(50,50,80) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,40) elem....
question: Create a TextLabel saying "Shop" with Ubuntu 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,150,0,40) elem.Po...
user: Script a block with smoothplastic material colored green at (0,5,-10) size (6,1,8) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(6,1,8) part.Position = Vector3.new(0,5,...
query: Make a block that is green and sand at (-5,10,10) size (1,2,8) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Sand part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(-5,10,10) part.Anchored = true...
task: Make a ball that is red and diamondplate at (0,50,0) size (1,1,4) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(1,1,4) part.Position = Vector3.new(0,50,0) part.Anchored = fa...
question: Tween Transparency with Quint Out easing, 2s duration, infinite repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, -1, true, 0) local goal = {Transparency...
query: Tween Transparency with Bounce InOut easing, 5s duration, 0 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Transparency ...
input: Tween a part's Reflectance with Quad InOut easing over 1s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut) local goal = {Reflectance = 0.9} local tween = TweenService:Create(part, in...
begin: Create a TextButton saying "Retry" with GothamBold 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(0.3,0,0,60) elem...
prompt: Tween Position with Quint Out easing, 0.5s duration, 0 repeats, non-reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 0, false, 0) local goal = {Position = Vector...
begin: Tween a part's size to (15, 18, 5) over 2.6 seconds. solution: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(2.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector3.new(15, 18, 5) } local ...
query: Create an unanchored orange Plastic Block part sized 1x4x8 at position -9,91,-13 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(1,4,8) part.Position = Vector3.new(-9,91,-...
input_text: Tween Size with Bounce In easing, 0.75s duration, infinite repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, -1, true, 0) local goal = {Size = Vector3....
input_text: Spawn a magenta concrete block part at (20,5,10) size (4,6,6) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,0,255) part.Size = Vector3.new(4,6,6) part.Position = Vector3.new(20,5,10) part.Anch...
user: Create a TextButton saying "Equip" with Oswald font with background Color3.fromRGB(0,0,0) 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,50) elem.Posit...
instruction: Create a TextLabel saying "Pause" with Creepster font with background Color3.fromRGB(50,200,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,200,0.1,0)...
query: Tween Size with Linear InOut easing, 3s duration, 2 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Size = Vector3.new(8,8,8)}...
task: Create an anchored yellow Plastic Block part sized 6x6x2 at position 3,75,-11 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(6,6,2) part.Position = Vector3.new(3,7...
query: Script for a tween that loops 10 times and reverses. finish: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("LoopPart") local tweenInfo = TweenInfo.new( 1, -- Duration Enum.EasingStyle.Sine, -- EasingStyle Enum.EasingD...
prompt: Create an anchored red Wood Block part sized 10x1x8 at position -19,98,21 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(10,1,8) part.Position = Vector3.new(-19,98,21) par...
instruction: Create an anchored green Wood Block part sized 1x2x8 at position -37,92,18 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,2,8) part.Position = Vector3.new(-37,92,18...
instruction: What's the code to Implement an OOP class pattern in Luau for a game entity. completion: -- ModuleScript: Entity local Entity = {} Entity.__index = Entity export type EntityData = { name: string, health: number, maxHealth: number, damage: number, speed: number, } function Entity.new(...
query: Create an unanchored blue Wood Block part sized 12x1x1 at position -24,65,-45 in Roblox Luau. model: 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,1,1) part.Position = Vector3.new(-24,65,-45) ...
instruction: Create a TextLabel saying "Pause" with LuckiestGuy font with background Color3.fromRGB(128,0,255) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.3,0,0.1,0) ...
task: What's the code to an Instance of type PointLight and configure its properties. finish: local instance = Instance.new("PointLight") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
instruction: Create a TextLabel saying "Submit" with PatrickHand font with background Color3.fromRGB(40,40,40) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(1,0,0...
task: Create an unanchored purple Wood Block part sized 2x4x4 at position -10,64,4 in Roblox Luau. end: 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(2,4,4) part.Position = Vector3.new(-10,64,4) part....
instruction: Tween Transparency with Circular InOut easing, 2s duration, 3 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Transpar...
input: Script a cylinder with pebble material colored yellow at (0,5,-5) size (6,4,6) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(6,4,6) part.Position = Vector3.new(0,5,-5) part...
start: Create an anchored red Wood Block part sized 8x6x2 at position -1,13,-10 in Roblox Luau. solution: 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,6,2) part.Position = Vector3.new(-1,13,-10) part...
task: Create an anchored gold Plastic Block part sized 10x1x1 at position 48,59,-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,215,0) part.Size = Vector3.new(10,1,1) part.Position = Vector3.new(48,59...
begin: Create a TextButton saying "Welcome!" with Bangers 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("TextButton") elem.Size = UDim2.new(0.2,0,0,40) e...
begin: Tween Reflectance with Quint In easing, 1.5s duration, infinite repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In, -1, true, 0) local goal = {Reflectance = ...