text
stringlengths
54
19.6k
prompt: Create an unanchored gold Plastic Block part sized 1x6x4 at position 32,91,-13 in Roblox Luau. finish: 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(1,6,4) part.Position = Vector3.new(32,91...
start: Create an anchored yellow Wood Block part sized 4x2x2 at position -41,94,-20 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,2,2) part.Position = Vector3.new(-41,94,-20) pa...
begin: Create an unanchored pink Plastic Block part sized 6x4x10 at position -28,61,25 in Roblox Luau. finish: 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,4,10) part.Position = Vector3.new(-2...
task: Create an unanchored gold Plastic Block part sized 2x4x2 at position 6,37,-30 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(2,4,2) part.Position = Vector3.new(6,37,-30...
begin: Create an anchored black Wood Block part sized 1x1x2 at position -24,69,39 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,1,2) part.Position = Vector3.new(-24,69,39) part.Anc...
input_text: Tween CFrame with Sine In 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.Sine, Enum.EasingDirection.In, 1, true, 0) local goal = {CFrame = part.CFrame*CFrame.new(0...
begin: Create an anchored red Wood Block part sized 12x2x4 at position -49,29,45 in Roblox Luau. output: 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(12,2,4) part.Position = Vector3.new(-49,29,45) part...
user: Make a white Wood part with a SpotLight effect attached in Roblox Luau. output_text: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.new(1,1,1) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instan...
question: Create a TextLabel saying "Yes" with FredokaOne font with background Color3.fromRGB(50,50,80) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.5,0,0,60) elem....
start: Create an unanchored brown Plastic Block part sized 10x2x10 at position 22,87,-12 in Roblox Luau. result: 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(10,2,10) part.Position = Vector3.new(2...
query: Tween Reflectance with Quart In easing, 2s duration, 3 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 3, true, 0) local goal = {Reflectance = 0.9} local tween ...
begin: Create an anchored black Wood Block part sized 4x6x4 at position -23,75,-12 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(4,6,4) part.Position = Vector3.new(-23,75,-12) part.Anc...
instruction: Tween Reflectance with Circular InOut easing, 4s duration, 3 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Reflectance =...
start: Write server-side code to fire a RemoteEvent called "ScoreUpdate" to a specific player with data. output: local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("ScoreUpdate") local function fireToPlayer(player, data) remoteEvent:FireClient(player,...
prompt: Make a orange Concrete part with a SpotLight effect attached in Roblox Luau. solution: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 l...
start: Write a Roblox script to Tween a part's size to (6, 6, 11) over 3.8 seconds. completion: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("ScalePart") local tweenInfo = TweenInfo.new(3.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = { Size = Vector...
prompt: Create a TextButton saying "Click Me" with RobotoMono font with background Color3.fromRGB(200,50,50) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.2,0,...
question: Tween CFrame with Linear Out easing, 5s duration, 3 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 3, true, 0) local goal = {CFrame = part.CFrame*CFrame.n...
task: Create a TextLabel saying "Equip" with Roboto font with background Color3.fromRGB(128,0,255) in Roblox GUI. solution: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,150,0.08,0) elem.P...
user: Create an anchored green Wood Block part sized 6x1x6 at position -50,22,12 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(6,1,6) part.Position = Vector3.new(-50,22,12) part....
query: Create an anchored orange Wood Block part sized 2x4x6 at position -47,42,-33 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(2,4,6) part.Position = Vector3.new(-47,42...
prompt: Create a green foil unionoperation at position (3, 85, -2) with size (18, 5, 7), anchored=true. completion: local part = Instance.new("UnionOperation") part.Size = Vector3.new(18, 5, 7) part.Position = Vector3.new(3, 85, -2) part.Color = Color3.fromRGB(0, 255, 0) part.Material = Enum.Material.Foil part.Anchore...
question: Create an anchored gold Wood Block part sized 8x2x8 at position -14,21,25 in Roblox Luau. solution: 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(8,2,8) part.Position = Vector3.new(-14,21,25...
prompt: Detect F10 key press to fire a weapon in Roblox end: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.F10 then print("F10 pressed - fire a weapon!") -- Add you...
question: Tween Transparency with Cubic InOut easing, 2s duration, 0 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Transparency = 0....
query: Create an unanchored cyan Wood Block part sized 1x6x2 at position -19,43,-19 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(1,6,2) part.Position = Vector3.new(-19,43...
input_text: Create a TextButton saying "Exit" with PatrickHand font with background Color3.fromRGB(200,50,50) in Roblox GUI. output_text: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0...
task: Create a TextLabel saying "Yes" with PatrickHand 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("TextLabel") elem.Size = UDim2.new(0.5,0,0,60) elem....
begin: Write a script to create a save slot system in Roblox end: local DSS = game:GetService("DataStoreService") local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local MAX_SLOTS = 3 local remote = Instance.new("RemoteFunction") remote.Name = "SaveSlotRemote" remote.Parent = R...
user: Create an anchored yellow Plastic Block part sized 12x4x1 at position -39,66,7 in Roblox Luau. solution: 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(12,4,1) part.Position = Vector3.new(-39,...
user: Tween CFrame with Elastic InOut easing, 1s duration, 1 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 1, false, 0) local goal = {CFrame = part.CFrame...
question: Create an unanchored black Wood Block part sized 4x6x1 at position -32,78,-13 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(4,6,1) part.Position = Vector3.new(-32,78,-13) par...
instruction: Write Roblox Luau code to a ModuleScript that implements a simple inventory system. output_text: -- ModuleScript in ReplicatedStorage local InventoryModule = {} local inventories = {} function InventoryModule.create(player) inventories[player.UserId] = { items = {}, maxSlots = 20 ...
question: Spawn a red foil ball part at (20,5,10) size (4,6,6) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(4,6,6) part.Position = Vector3.new(20,5,10) part.Anchored = true part....
user: Make a pink Concrete part with a Highlight effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 l...
task: Tween a part's Transparency with Quint InOut easing over 5s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut) local goal = {Transparency = 0.8} local tween = TweenService:Create(pa...
user: Make a script that a ProximityPrompt on a sign part that says "Read Sign" with hold duration 1.6s and max distance 7. end: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Read Sign" prompt.ObjectText = "Sign" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDurat...
instruction: Create an anchored red Wood Block part sized 6x4x1 at position -32,76,3 in Roblox Luau. answer: 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(6,4,1) part.Position = Vector3.new(-32,76,3) pa...
prompt: Create an anchored cyan Wood Block part sized 6x2x10 at position 31,45,11 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(6,2,10) part.Position = Vector3.new(31,45,11) pa...
start: Create an anchored cyan Plastic Block part sized 1x4x4 at position 22,87,6 in Roblox Luau. output_text: 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,4) part.Position = Vector3.new(22,87...
prompt: Create an unanchored green Plastic Block part sized 1x6x2 at position -17,7,-34 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,6,2) part.Position = Vector3.new(-17,7,...
query: Tween Color with Quart In easing, 4s duration, 2 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 2, true, 0) local goal = {Color = Color3.fromRGB(255,0,0)} loca...
input: Create an unanchored black Wood Block part sized 10x1x4 at position 4,73,0 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(10,1,4) part.Position = Vector3.new(4,73,0) part.Anchored =...
input_text: Create an anchored red Wood Block part sized 8x1x8 at position -26,80,19 in Roblox Luau. completion: 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,1,8) part.Position = Vector3.new(-26,80,1...
input_text: Tween a part's Reflectance with Bounce In easing over 1s in Roblox solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Bounce, Enum.EasingDirection.In) local goal = {Reflectance = 0.9} local tween = TweenService:Create(...
prompt: Use Instance Attributes to store custom data on parts. end: -- Setting attributes local part = workspace:WaitForChild("MyPart") part:SetAttribute("Health", 100) part:SetAttribute("Team", "Red") part:SetAttribute("IsActive", true) part:SetAttribute("Damage", 25.5) -- Getting attributes local health = part:Get...
question: Tween Color with Quad InOut easing, 3s duration, 3 repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 3, false, 0) local goal = {Color = Color3.fromRG...
question: Create an unanchored pink Plastic Block part sized 6x1x2 at position -3,3,-7 in Roblox Luau. solution: 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(-...
prompt: Tween a part's CFrame with Cubic Out easing over 1s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = Tw...
prompt: Tween a part to position (-23, 0, 1) over 1.8 seconds using Cubic easing (Out). completion: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("MovingPart") local tweenInfo = TweenInfo.new( 1.8, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out ) local goal =...
question: Make a gold Concrete part with a Highlight effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local ...
input: Create an unanchored white Wood Block part sized 4x4x6 at position -25,23,-13 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(1,1,1) part.Size = Vector3.new(4,4,6) part.Position = Vector3.new(-25,23,-13) part.An...
prompt: Create a TextButton saying "Retry" with Roboto 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("TextButton") elem.Size = UDim2.new(0.2,0,0,60) elem.P...
start: Create an unanchored green Plastic Block part sized 4x2x10 at position 36,11,-16 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,2,10) part.Position = Vector3.new(36,...
input: Create a orange slate part with PointLight effect in Roblox finish: local part = Instance.new("Part") part.Material = Enum.Material.Slate 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 = Instance.new...
prompt: Create a TextBox saying "Settings" centered in Roblox GUI solution: 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") ele...
begin: Tween a part's Color with Quad Out easing over 3s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create(p...
user: Create an anchored brown Wood Block part sized 6x2x1 at position 18,47,19 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,2,1) part.Position = Vector3.new(18,47,19) p...
begin: Create a TextButton saying "Cancel" with Nunito font with background Color3.fromRGB(30,30,40) in Roblox GUI. answer: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0,50) elem.Posi...
input_text: Teleport the player's character to position (-88, 90, 35). completion: local Players = game:GetService("Players") local function teleportPlayer(player, position) local character = player.Character if character then local rootPart = character:FindFirstChild("HumanoidRootPart") if ro...
input: Tween a part's Reflectance with Exponential Out easing over 3s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out) local goal = {Reflectance = 0.9} local tween = TweenService:Cr...
task: Tween a part's CFrame with Quad Out easing over 5s in Roblox output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = TweenServic...
begin: Create a TextLabel saying "Undo" with SourceSansBold font with background Color3.fromRGB(50,200,50) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,200,0,40) el...
query: Create a part that is maroon, transparency 1, CanCollide=false, Reflectance=0. output: local part = Instance.new("Part") part.Color = Color3.fromRGB(128, 0, 0) part.Transparency = 1 part.CanCollide = false part.Reflectance = 0 part.Anchored = true part.Parent = workspace
begin: Create a yellow sand part with Fire effect in Roblox end: local part = Instance.new("Part") part.Material = Enum.Material.Sand part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new("Fire") fx...
prompt: Create a TextButton saying "Back" with Oswald font with background Color3.fromRGB(0,120,255) 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.3,0,0.1,0) elem.P...
task: Write a Roblox script to a green foil unionoperation at position (3, 85, -2) with size (18, 5, 7), anchored=true. result: local part = Instance.new("UnionOperation") part.Size = Vector3.new(18, 5, 7) part.Position = Vector3.new(3, 85, -2) part.Color = Color3.fromRGB(0, 255, 0) part.Material = Enum.Material.Foil ...
task: Tween a part's Color with Cubic Out easing over 1s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Creat...
begin: Create an anchored gray Plastic Block part sized 8x4x2 at position -30,4,12 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(8,4,2) part.Position = Vector3.new(-30,4,12) ...
start: Create a red diamondplate block at (5,50,-10) size (6,1,2) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(6,1,2) part.Position = Vector3.new(5,50,-10) part.Anchored = fa...
start: Create a TextButton saying "Play" with RobotoMono font with background Color3.fromRGB(255,128,0) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0,50) ...
instruction: Create an anchored blue Wood Block part sized 4x4x4 at position -35,19,-34 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(4,4,4) part.Position = Vector3.new(-35,19,-3...
start: Implement a way to an Instance of type SelectionBox and configure its properties. completion: local instance = Instance.new("SelectionBox") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
input_text: Tween Reflectance with Bounce Out easing, 2.5s duration, 1 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 1, false, 0) local goal = {Reflectance...
input_text: Tween Color with Circular In easing, 0.75s duration, 1 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 = {Color = Color3.fromR...
user: Create a TextButton saying "Yes" with Ubuntu font with background Color3.fromRGB(0,0,0) in Roblox GUI. finish: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,200,0,60) elem.Position ...
question: Script for When a player touches a part, speed boost the player. result: local part = script.Parent local debounce = {} part.Touched:Connect(function(hit) local character = hit.Parent local humanoid = character and character:FindFirstChildOfClass("Humanoid") local player = game:GetService("Playe...
instruction: Create an anchored white Plastic Block part sized 1x1x1 at position 44,34,24 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(1,1,1) part.Position = Vector3.new(44,34,24) par...
input: Create a TextLabel saying "Submit" with LuckiestGuy font with background Color3.fromRGB(0,0,0) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0,150,0,60) elem.Posit...
user: Create an anchored yellow Wood Block part sized 2x4x1 at position -22,36,-49 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(2,4,1) part.Position = Vector3.new(-22,36,-49) ...
question: Create an anchored purple Wood Block part sized 1x6x2 at position -50,29,-47 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(1,6,2) part.Position = Vector3.new(-50,...
input: Create an anchored blue Wood Block part sized 1x2x4 at position -42,81,30 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(1,2,4) part.Position = Vector3.new(-42,81,30) part....
task: Create an unanchored yellow Wood Block part sized 4x6x2 at position 13,49,-29 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(4,6,2) part.Position = Vector3.new(13,49,...
user: Show me how to an Instance of type Fire and configure its properties. model: local instance = Instance.new("Fire") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
user: Tween Color with Back InOut easing, 5s duration, 2 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 2, false, 0) local goal = {Color = Color3.fromRGB(255,0,...
query: Create a orange metal part with Fire effect in Roblox model: local part = Instance.new("Part") part.Material = Enum.Material.Metal 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 = Instance.new("Fire"...
begin: Create an unanchored black Plastic Block part sized 10x1x6 at position -25,90,29 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(10,1,6) part.Position = Vector3.new(-25,90,29) ...
instruction: Tween Color with Back InOut easing, 0.25s duration, 0 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Color = Color3.fromRG...
input: Create an unanchored brown Wood Block part sized 10x4x10 at position 31,52,-10 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(10,4,10) part.Position = Vector3.new(31,52,-10)...
query: Create an anchored red Wood Block part sized 10x6x10 at position 27,61,-50 in Roblox Luau. answer: 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,6,10) part.Position = Vector3.new(27,61,-50) pa...
start: Create an unanchored orange Wood Block part sized 2x6x4 at position 15,52,-26 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(2,6,4) part.Position = Vector3.new(15,52,-2...
instruction: Tween Color with Bounce InOut easing, 0.5s duration, 1 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 1, true, 0) local goal = {Color = Color3.from...
input_text: Tween CFrame with Exponential InOut easing, 1s duration, 1 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 1, true, 0) local goal = {CFrame = ...
prompt: Create an unanchored black Wood Block part sized 10x2x10 at position -30,42,42 in Roblox Luau. output_text: 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(10,2,10) part.Position = Vector3.new(-30,42,42...
instruction: Create an anchored red Plastic Block part sized 12x4x4 at position 38,20,40 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(12,4,4) part.Position = Vector3.new(38...
user: Apply a VectorForce of (191, 931, 235) to a part using an Attachment. completion: local part = workspace:WaitForChild("ForcePart") local attachment = Instance.new("Attachment") attachment.Parent = part local vectorForce = Instance.new("VectorForce") vectorForce.Force = Vector3.new(191, 931, 235) vectorForce.At...
begin: Create an anchored brown Plastic Block part sized 10x6x2 at position 1,49,5 in Roblox Luau. output_text: 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(10,6,2) part.Position = Vector3.new(1,4...
input_text: Create an unanchored orange Wood Block part sized 8x6x6 at position -26,52,-28 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(8,6,6) part.Position = Vector3.new(-26,...
begin: Script for a part that is lime, transparency 0, CanCollide=true, Reflectance=0. solution: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 255, 0) part.Transparency = 0 part.CanCollide = true part.Reflectance = 0 part.Anchored = true part.Parent = workspace
input_text: Create a TextLabel saying "Play" with GothamBold font with background Color3.fromRGB(0,0,0) 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,200,0,50) elem....