text
stringlengths
54
19.6k
begin: Create a part that is teal, transparency 0.5, CanCollide=false, Reflectance=0. answer: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 128, 128) part.Transparency = 0.5 part.CanCollide = false part.Reflectance = 0 part.Anchored = true part.Parent = workspace
question: Create an unanchored gold Plastic Block part sized 10x2x2 at position 47,10,34 in Roblox Luau. result: 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,2,2) part.Position = Vector3.new(47...
instruction: Create an anchored white Wood Block part sized 2x4x4 at position 40,95,-28 in Roblox Luau. result: 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,4,4) part.Position = Vector3.new(40,95,-28) part...
task: Create a yellow smoothplastic ball at (-10,20,20) size (1,6,6) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(1,6,6) part.Position = Vector3.new(-10,20,20) part.Anchore...
question: Create a pink wood cylinder at (-10,10,0) size (4,2,8) in Roblox. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,2,8) part.Position = Vector3.new(-10,10,0) part.Anchored = tr...
query: Create a white brick part with Fire effect in Roblox completion: local part = Instance.new("Part") part.Material = Enum.Material.Brick 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 = Instance.new("Fire") fx...
input: Create an unanchored gray Plastic Block part sized 8x4x8 at position -25,96,36 in Roblox Luau. response: 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,8) part.Position = Vector3.new(-2...
prompt: Create an unanchored black Plastic Block part sized 2x1x10 at position -34,63,-21 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,1,10) part.Position = Vector3.new(-34,...
start: Create an anchored gray Wood Block part sized 4x4x2 at position -1,25,-5 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,2) part.Position = Vector3.new(-1,25,-5...
user: Create an unanchored orange Wood Block part sized 8x4x10 at position 0,65,5 in Roblox Luau. completion: 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,4,10) part.Position = Vector3.new(0,65,5) ...
start: Create an unanchored gold Plastic Block part sized 2x6x8 at position 24,39,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(2,6,8) part.Position = Vector3.new(24,39,1...
input_text: Create an unanchored cyan Plastic Block part sized 8x1x8 at position -45,88,-9 in Roblox Luau. output: 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(8,1,8) part.Position = Vector3.new(-...
query: Create an anchored black Wood Block part sized 6x6x6 at position 9,13,18 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(6,6,6) part.Position = Vector3.new(9,13,18) part.Anchored ...
begin: Script for Filter text using TextService for safe display in a Roblox game. response: local TextService = game:GetService("TextService") local Players = game:GetService("Players") local function filterText(text, fromPlayer, toPlayer) local success, result = pcall(function() local textObject = TextS...
input: Create a TextLabel saying "Cancel" with PatrickHand font with background Color3.fromRGB(0,0,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(0,200,0,40) elem.Pos...
user: Create an anchored brown Plastic Block part sized 2x4x2 at position -9,48,-2 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(2,4,2) part.Position = Vector3.new(-9,48,-2)...
start: Create an anchored white Wood Block part sized 10x6x4 at position 31,5,26 in Roblox Luau. end: 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(10,6,4) part.Position = Vector3.new(31,5,26) part.Anchored =...
begin: Create a part that is olive, transparency 0.25, CanCollide=true, Reflectance=0.5. result: local part = Instance.new("Part") part.Color = Color3.fromRGB(128, 128, 0) part.Transparency = 0.25 part.CanCollide = true part.Reflectance = 0.5 part.Anchored = true part.Parent = workspace
user: Tween a part's Transparency with Bounce Out easing over 0.5s in Roblox model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out) local goal = {Transparency = 0.8} local tween = TweenService:Create(p...
input_text: Create an unanchored pink Plastic Block part sized 8x1x8 at position -18,28,9 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(8,1,8) part.Position = Vector3.new(...
user: Script a cylinder with foil material colored yellow at (-10,50,5) size (8,6,6) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(8,6,6) part.Position = Vector3.new(-10,50,5) pa...
user: Create a TextButton saying "Continue" with LuckiestGuy font with background Color3.fromRGB(128,0,255) in Roblox GUI. finish: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.2,0,0,40) ...
task: Create a TextButton saying "Settings" with Michroma font with background Color3.fromRGB(0,0,0) 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(1,0,0,60) elem.Posit...
instruction: Create an unanchored red Wood Block part sized 4x6x8 at position -41,48,36 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,0,0) part.Size = Vector3.new(4,6,8) part.Position = Vector3.new(-41,...
input: Create a TextLabel saying "Click Me" with Nunito font with background Color3.fromRGB(128,0,255) 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,200,0.1,0) ele...
prompt: Code a script that a clickable TextButton that says "Next Level" and prints a message when clicked. result: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui ...
task: Make a pink DiamondPlate part with a Smoke effect attached in Roblox Luau. answer: 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 l...
start: Create a brown cobblestone part with PointLight effect in Roblox model: local part = Instance.new("Part") part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = In...
start: Spawn a blue foil block part at (-5,15,0) size (4,6,2) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(4,6,2) part.Position = Vector3.new(-5,15,0) part.Anchored = false part....
question: Make a brown CorrodedMetal part with a Fire effect attached in Roblox Luau. response: 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 = works...
prompt: Make a teal Plastic part with a PointLight effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx ...
task: Make a blue DiamondPlate part with a Smoke effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate 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...
begin: Create a TextButton saying "Shop" with Roboto 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.3,0,0,50) ele...
input: Create an anchored black Plastic Block part sized 2x1x6 at position 47,81,-43 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,1,6) part.Position = Vector3.new(47,81,-43) pa...
question: Implement a way to Cast a ray from the player's camera in the look direction for 50 studs. result: local Players = game:GetService("Players") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local mouse = player:GetMouse() local function castRay() local origin = camera.CFrame.Po...
start: Create an unanchored gold Wood Block part sized 2x1x4 at position -44,92,-40 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(2,1,4) part.Position = Vector3.new(-44,92,-40)...
question: Create an anchored yellow Wood Block part sized 1x2x2 at position -27,77,38 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(1,2,2) part.Position = Vector3.new(-27,7...
begin: Tween Position with Quad In 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.Quad, Enum.EasingDirection.In, 0, false, 0) local goal = {Position = Vector3.new(...
start: Tween Transparency with Elastic InOut easing, 0.25s duration, 0 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Transparency...
user: Spawn a black marble cylinder part at (5,15,5) size (2,4,8) in Roblox. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Marble part.Color = Color3.new(0,0,0) part.Size = Vector3.new(2,4,8) part.Position = Vector3.new(5,15,5) part.Anchored = true part.Par...
start: Create a red wood ball at (0,50,0) size (8,1,8) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(8,1,8) part.Position = Vector3.new(0,50,0) part.Anchored = true part.Parent = wor...
user: Create an unanchored red Plastic Block part sized 8x2x1 at position 31,34,-30 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(8,2,1) part.Position = Vector3.new(31,34,-3...
begin: Create an unanchored green Plastic Block part sized 10x2x8 at position 48,37,49 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(10,2,8) part.Position = Vector3.new(48,3...
user: When a player touches a part, kill the player. model: 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("Players"):GetPlayerFromChara...
query: Tween Transparency with Exponential InOut easing, 4s duration, infinite repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Tr...
input: Play a sound with volume 0.8, pitch 1.2, looped=true. result: local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID sound.Volume = 0.8 sound.PlaybackSpeed = 1.2 sound.Looped = true sound.Parent = workspace sound:Play() -- Sound will loop continuously
input: Tween Position with Cubic Out easing, 0.5s duration, 1 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 1, false, 0) local goal = {Position = Vector3.new(...
start: Create an unanchored pink Plastic Block part sized 2x6x1 at position 10,63,34 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,100,200) part.Size = Vector3.new(2,6,1) part.Position = Vector3.new(...
user: Tween Size with Quad Out easing, 0.75s duration, infinite repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, -1, false, 0) local goal = {Size = Vector3.n...
instruction: Create an anchored pink Plastic Block part sized 12x1x2 at position 12,46,46 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,100,200) part.Size = Vector3.new(12,1,2) part.Position = Vector...
query: Make a script that a part that is cyan, transparency 0.25, CanCollide=true, Reflectance=0. output_text: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 255, 255) part.Transparency = 0.25 part.CanCollide = true part.Reflectance = 0 part.Anchored = true part.Parent = workspace
task: Create a TextButton saying "Score: 0" with GothamBold font with background Color3.fromRGB(0,120,255) 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,150,0.08,0)...
input_text: Make a brown Plastic part with a Smoke effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local ...
instruction: Make a red Slate part with a Smoke effect attached in Roblox Luau. solution: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = ...
input_text: Tween Transparency with Cubic InOut easing, 3s duration, infinite repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Transparenc...
begin: Tween a part's Size with Quad Out easing over 1s in Roblox solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(part, ...
user: Create a TextLabel saying "Shop" with Nunito 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,150,0,60) elem.Positi...
prompt: Create an anchored white Plastic Block part sized 2x1x2 at position -21,49,-1 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(2,1,2) part.Position = Vector3.new(-21,49,-1) par...
user: Script a block with diamondplate material colored pink at (-5,25,5) size (2,6,6) in Roblox. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(2,6,6) part.Position = Vector3.new(-5,...
query: Tween Position with Elastic Out easing, 0.75s duration, 2 repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 2, false, 0) local goal = {Position = Vector3.n...
input: Create a TextLabel saying "Undo" with Bangers font with background Color3.fromRGB(50,50,80) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0.1,0) elem....
question: Make a script that a clickable TextButton that says "Next Level" and prints a message when clicked. end: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui ...
prompt: Detect F1 key press to crouch in Roblox output: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.F1 then print("F1 pressed - crouch!") -- Add your crouch code ...
begin: Tween a part's Size with Bounce Out easing over 2s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(pa...
start: Tween Transparency with Exponential In easing, 5s duration, infinite repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, -1, true, 0) local goal = {Transpar...
task: Tween Position with Exponential InOut easing, 0.25s duration, 3 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Position ...
input: Write server-side code to fire a RemoteEvent called "NotifyPlayer" to a specific player with data. result: local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("NotifyPlayer") local function fireToPlayer(player, data) remoteEvent:FireClient(playe...
user: Create a lime smoothplastic part with Sparkles effect in Roblox completion: local part = Instance.new("Part") part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx...
start: Create an unanchored gold Wood Block part sized 10x1x6 at position -30,15,47 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(10,1,6) part.Position = Vector3.new(-30,15,4...
task: How do I an explosion with blast pressure 10 and radius 5 at a part's position. end: local part = workspace:WaitForChild("ExplosionPart") local explosion = Instance.new("Explosion") explosion.Position = part.Position explosion.BlastPressure = 10 explosion.BlastRadius = 5 explosion.DestroyJointRadiusPercent = 0 ...
user: Create an anchored green Plastic Block part sized 12x2x6 at position -50,79,-5 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,0) part.Size = Vector3.new(12,2,6) part.Position = Vector3.new(-50,...
begin: Create an unanchored cyan Wood Block part sized 10x4x1 at position 0,99,-21 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(10,4,1) part.Position = Vector3.new(0,99,-21) p...
start: Tween Reflectance with Back InOut easing, 0.75s duration, infinite repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Reflectance =...
task: Tween Reflectance with Exponential In easing, 5s duration, 0 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 0, false, 0) local goal = {Reflectance = 0...
instruction: Create an anchored purple Wood Block part sized 12x2x6 at position 16,98,-8 in Roblox Luau. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(12,2,6) part.Position = Vector3.new(...
prompt: Create a TextButton saying "Ready?" with Oswald font with background Color3.fromRGB(0,120,255) 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.5,0,0.08,0) ele...
question: Tween CFrame with Quint Out easing, 0.75s duration, infinite repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, -1, true, 0) local goal = {CFrame = part.CFra...
input_text: Tween a part's Position with Exponential InOut easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut) local goal = {Position = Vector3.new(10,5,0)} local ...
input_text: Create an anchored yellow Plastic Block part sized 6x2x2 at position 29,88,28 in Roblox Luau. output: 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,2,2) part.Position = Vector3.new(29...
prompt: Create a fire particle effect attached to a part. model: local part = workspace:WaitForChild("EffectPart") local particles = Instance.new("ParticleEmitter") particles.Color = ColorSequence.new(Color3.fromRGB(255, 100, 0), Color3.fromRGB(255, 0, 0)) particles.Size = NumberSequence.new({NumberSequenceKeypoint.n...
user: Make a cylinder that is brown and brick at (10,5,5) size (1,2,4) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(1,2,4) part.Position = Vector3.new(10,5,5) part.Anchored = tr...
user: Tween a part's Reflectance with Exponential In easing over 0.5s in Roblox finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In) local goal = {Reflectance = 0.9} local tween = TweenService:C...
user: Create an anchored gray Plastic Block part sized 12x1x4 at position 46,35,39 in Roblox Luau. output_text: 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,1,4) part.Position = Vector3.new(4...
user: Create an unanchored pink Plastic Block part sized 4x2x6 at position -45,55,-40 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,100,200) part.Size = Vector3.new(4,2,6) part.Position = Vector3.new...
task: I need to a red forcefield meshpart at position (-32, 55, -34) with size (12, 19, 18), anchored=true. end: local part = Instance.new("MeshPart") part.Size = Vector3.new(12, 19, 18) part.Position = Vector3.new(-32, 55, -34) part.Color = Color3.fromRGB(255, 0, 0) part.Material = Enum.Material.ForceField part.Ancho...
task: Create an unanchored red Plastic Block part sized 2x4x4 at position -13,56,-30 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(2,4,4) part.Position = Vector3.new(-13,56,-3...
query: Show me how to a rounded Frame with corner radius 4 and a stroke thickness of 3. response: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Ins...
task: Tween Position with Quint Out easing, 0.5s duration, infinite repeats, 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, -1, true, 0) local goal = {Position = Vecto...
input_text: Create a TextButton saying "Welcome!" with GothamBold font with background Color3.fromRGB(50,200,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....
query: Create an unanchored green Wood Block part sized 12x6x10 at position 25,24,-1 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(12,6,10) part.Position = Vector3.new(25,24,-1) par...
input_text: Apply a BodyVelocity of (18, 93, -5) to a part. response: local part = workspace:WaitForChild("PhysicsPart") local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(18, 93, -5) bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bodyVelocity.P = 1250 bodyVelo...
task: Tween Size with Linear Out easing, 4s duration, 2 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 2, true, 0) local goal = {Size = Vector3.new(8,8,8)} loc...
question: Create an anchored brown Plastic Block part sized 12x2x1 at position 23,64,43 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(12,2,1) part.Position = Vector3.new(23,6...
query: Make a block that is brown and foil at (20,15,5) size (4,2,6) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Foil part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,2,6) part.Position = Vector3.new(20,15,5) part.Anchored = f...
instruction: Apply a VectorForce of (146, 135, 257) to a part using an Attachment. model: local part = workspace:WaitForChild("ForcePart") local attachment = Instance.new("Attachment") attachment.Parent = part local vectorForce = Instance.new("VectorForce") vectorForce.Force = Vector3.new(146, 135, 257) vectorForce....
start: Tween CFrame with Quart In easing, 5s duration, 1 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quart, Enum.EasingDirection.In, 1, false, 0) local goal = {CFrame = part.CFrame*CFrame.new...
user: Tween a part's CFrame with Linear In easing over 3s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In) local goal = {CFrame = part.CFrame * CFrame.new(0,10,0)} local tween = TweenService...
instruction: Tween Color with Cubic In easing, 3s duration, 0 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 0, false, 0) local goal = {Color = Color3.fromRGB(255,...
task: Create a TextButton saying "Game Over" with Roboto font with background Color3.fromRGB(50,200,50) 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.2,0,0,40) ...
prompt: Create a TextButton saying "Delete" with GothamBold font with background Color3.fromRGB(0,120,255) in Roblox GUI. end: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.3,0,0,60) elem...