text
stringlengths
54
19.6k
input_text: Create an anchored orange Wood Block part sized 6x2x2 at position 32,16,-3 in Roblox Luau. end: 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(6,2,2) part.Position = Vector3.new(32,16,-3) p...
input: Create an anchored brown Wood Block part sized 8x1x1 at position 47,42,-49 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(8,1,1) part.Position = Vector3.new(47,42,-49...
input: Create an unanchored yellow Plastic Block part sized 1x6x4 at position 36,58,-3 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(1,6,4) part.Position = Vector3.new(36,58...
task: Tween Position with Sine InOut easing, 3s duration, 3 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Position = Vector3.new(10,5,0)}...
task: Create an unanchored gray Wood Block part sized 2x4x4 at position -11,38,-37 in Roblox Luau. solution: 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(2,4,4) part.Position = Vector3.new(-11,38,-...
user: Make a cylinder that is lime and fabric at (-10,15,-5) size (2,2,4) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Fabric part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(2,2,4) part.Position = Vector3.new(-10,15,-5) part.A...
query: Create an anchored gold Wood Block part sized 6x2x4 at position 23,43,39 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,2,4) part.Position = Vector3.new(23,43,39) part....
prompt: Spawn a red glass ball part at (-5,50,5) size (6,6,8) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Glass part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(6,6,8) part.Position = Vector3.new(-5,50,5) part.Anchored = true part....
begin: Make a green DiamondPlate part with a PointLight effect attached in Roblox Luau. output: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspac...
instruction: Write Roblox Luau code to a global leaderboard using OrderedDataStore for top players by Kills. end: local DataStoreService = game:GetService("DataStoreService") local orderedStore = DataStoreService:GetOrderedDataStore("KillsLeaderboard") local function getTopPlayers(count) local success, pages = pc...
input_text: Create an anchored pink Wood Block part sized 6x2x6 at position -4,100,2 in Roblox Luau. result: 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(6,2,6) part.Position = Vector3.new(-4,100,2...
question: Create an anchored gray Wood Block part sized 4x6x1 at position 41,27,13 in Roblox Luau. answer: 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,6,1) part.Position = Vector3.new(41,27,13) ...
prompt: Create an anchored purple Plastic Block part sized 2x6x6 at position -21,49,22 in Roblox Luau. model: 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(2,6,6) part.Position = Vector3.new(-21,49...
user: Create an unanchored gray Wood Block part sized 2x2x1 at position -50,42,-1 in Roblox Luau. output: 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(2,2,1) part.Position = Vector3.new(-50,42,-1) ...
input: Create an anchored gold Wood Block part sized 6x4x6 at position 27,94,-16 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(6,4,6) part.Position = Vector3.new(27,94,-16) par...
start: Create an anchored teal Plastic Block part sized 8x6x10 at position -14,83,46 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(8,6,10) part.Position = Vector3.new(-14,83...
instruction: Create a TextLabel saying "Retry" with Oswald font with background Color3.fromRGB(0,120,255) 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,60) ele...
instruction: Create an anchored brown Wood Block part sized 6x6x1 at position -32,62,-30 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,6,1) part.Position = Vector3.new(-32,62...
instruction: Create a TextButton saying "Click Me" with PatrickHand font with background Color3.fromRGB(200,50,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...
task: Create an anchored cyan Wood Block part sized 10x1x8 at position -12,36,8 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,1,8) part.Position = Vector3.new(-12,36,8) part...
user: Tween Transparency with Bounce InOut easing, 0.75s duration, 0 repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Transparency = 0....
start: Tween Position with Quint InOut easing, 1s duration, 2 repeats, non-reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, 2, false, 0) local goal = {Position = Vector3.ne...
input_text: Create an anchored blue Wood Block part sized 1x1x10 at position -40,74,-47 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(1,1,10) part.Position = Vector3.new(-40,74...
start: Create a TextLabel saying "Score: 0" with Michroma 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("TextLabel") elem.Size = UDim2.new(0,150,0,50) elem....
question: Create an unanchored brown Wood Block part sized 10x4x1 at position -24,72,48 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(10,4,1) part.Position = Vector3.new(-24,72...
query: Tween Color with Quad InOut easing, 0.75s duration, 2 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 2, true, 0) local goal = {Color = Color3.fromRGB(...
begin: Create an anchored brown Plastic Block part sized 4x1x4 at position -35,4,9 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,1,4) part.Position = Vector3.new(-35,4...
begin: Detect when the player presses the R key using UserInputService. answer: local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.R then print("R key was...
query: Create an unanchored teal Plastic Block part sized 8x1x1 at position -17,21,40 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(8,1,1) part.Position = Vector3.new(-17,21...
input: Create an unanchored blue Plastic Block part sized 2x1x8 at position -9,32,-39 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(2,1,8) part.Position = Vector3.new(-9,32,...
begin: Teleport the player's character to position (-30, 41, -69). response: local Players = game:GetService("Players") local function teleportPlayer(player, position) local character = player.Character if character then local rootPart = character:FindFirstChild("HumanoidRootPart") if rootPart...
instruction: Create an anchored red Plastic Block part sized 2x4x2 at position 48,83,-7 in Roblox Luau. model: 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,2) part.Position = Vector3.new(48,83,-...
user: Create an unanchored pink Plastic Block part sized 1x1x1 at position 17,62,-50 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(1,1,1) part.Position = Vector3.new(17,62,-5...
query: Create an anchored orange Wood Block part sized 6x6x10 at position 41,11,-5 in Roblox Luau. output: 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(6,6,10) part.Position = Vector3.new(41,11,-5) p...
prompt: Create an anchored green Plastic Block part sized 4x1x10 at position -42,19,44 in Roblox Luau. answer: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,1,10) part.Position = Vector3.new(-42,19...
start: Tween Reflectance with Quint 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.Quint, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Reflectance = 0.9} lo...
question: Tween Reflectance with Elastic In easing, 2.5s duration, infinite repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, -1, true, 0) local goal = {Reflectance ...
question: Make a yellow CorrodedMetal part with a PointLight effect attached in Roblox Luau. output_text: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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.Pare...
prompt: Make a block that is white and glass at (-5,20,-5) size (1,2,1) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Glass part.Color = Color3.new(1,1,1) part.Size = Vector3.new(1,2,1) part.Position = Vector3.new(-5,20,-5) part.Anchored = false p...
input: Create a TextButton saying "OK" with GothamBold font with background Color3.fromRGB(128,0,255) 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,150,0,60) el...
query: Create a ScreenGui with a TextLabel that says "Health: 100" using font Highway at size 14. output_text: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" scree...
prompt: Create an unanchored brown Plastic Block part sized 2x6x4 at position 4,78,-10 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,6,4) part.Position = Vector3.new(4,78,...
user: Create an anchored brown Wood Block part sized 8x4x10 at position -19,75,13 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(8,4,10) part.Position = Vector3.new(-19,75,13) part...
input_text: Tween Size with Sine InOut easing, 0.75s duration, infinite repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Size = Vector3....
question: Create a black glass part with PointLight effect in Roblox output_text: local part = Instance.new("Part") part.Material = Enum.Material.Glass part.Color = Color3.new(0,0,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(...
task: Create an anchored white Wood Block part sized 1x2x10 at position -23,12,28 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(1,2,10) part.Position = Vector3.new(-23,12,28) part.Ancho...
input_text: Create a purple diamondplate block at (10,15,20) size (2,4,1) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.DiamondPlate part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(2,4,1) part.Position = Vector3.new(10,15,20) par...
start: Create a black glass part at position (25, 54, -46) with size (4, 18, 3), anchored=true. output: local part = Instance.new("Part") part.Size = Vector3.new(4, 18, 3) part.Position = Vector3.new(25, 54, -46) part.Color = Color3.fromRGB(0, 0, 0) part.Material = Enum.Material.Glass part.Anchored = true part.Parent ...
question: Create an anchored red Plastic Block part sized 10x4x1 at position 39,38,20 in Roblox Luau. end: 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(10,4,1) part.Position = Vector3.new(39,38,20) ...
prompt: Create an unanchored red Wood Block part sized 1x1x2 at position -36,64,29 in Roblox Luau. end: 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(1,1,2) part.Position = Vector3.new(-36,64,29) part.A...
prompt: Make a cylinder that is gray and fabric at (20,15,5) size (2,2,6) in Roblox. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Fabric part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(2,2,6) part.Position = Vector3.new(20,15,5) part.Anchored...
input: Create an unanchored brown Wood Block part sized 4x1x8 at position -22,33,-27 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,1,8) part.Position = Vector3.new(-22,33,-27...
query: Create an unanchored brown Plastic Block part sized 6x4x2 at position 16,99,34 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(6,4,2) part.Position = Vector3.new(16,9...
start: Create a TextButton saying "Back" with SourceSansBold font with background Color3.fromRGB(50,200,50) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0,200,0,60...
input: Create a TextLabel saying "Close" with LuckiestGuy font with background Color3.fromRGB(200,50,50) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(1,0,0,50) elem.P...
start: Script for Demonstrate Luau table creation, manipulation, and iteration. model: -- Array-style table local fruits = {"Apple", "Banana", "Cherry"} table.insert(fruits, "Date") table.remove(fruits, 2) -- Removes "Banana" print(#fruits) -- Length: 3 -- Dictionary-style table local player = { name = "Hero", ...
instruction: Create a TextButton saying "Click Me" with GothamBold font with background Color3.fromRGB(0,120,255) in Roblox GUI. response: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,...
input: Create a TextLabel saying "Shop" with Bangers 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("TextLabel") elem.Size = UDim2.new(0,150,0.08,0) el...
task: Tween CFrame with Circular InOut easing, 2.5s duration, 2 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 2, false, 0) local goal = {CFrame = part.CF...
question: Create an unanchored yellow Wood Block part sized 10x1x1 at position -18,63,-4 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(10,1,1) part.Position = Vector3.new(-18,63,-...
question: Create an anchored gold Plastic Block part sized 10x2x1 at position -12,80,29 in Roblox Luau. model: 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,1) part.Position = Vector3.new(-12,...
task: Create an anchored green Plastic Block part sized 10x1x1 at position 14,99,19 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(10,1,1) part.Position = Vector3.new(14,99,19) ...
begin: Tween Transparency with Elastic 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.Elastic, Enum.EasingDirection.Out, 3, true, 0) local goal = {Transparency = ...
begin: Create an anchored orange Plastic Block part sized 12x2x10 at position -10,77,-22 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(12,2,10) part.Position = Vector3.new(-...
user: Add a DepthOfFieldEffect post-processing effect to the game's Lighting. solution: local Lighting = game:GetService("Lighting") local effect = Instance.new("DepthOfFieldEffect") effect.FarIntensity = 0.3 effect.FocusDistance = 50 effect.InFocusRadius = 30 effect.NearIntensity = 0.5 effect.Parent = Lighting
user: Create an unanchored gold Plastic Block part sized 10x6x10 at position 47,81,-7 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(10,6,10) part.Position = Vector3.new(...
question: Create an anchored white Wood Block part sized 6x6x8 at position 8,1,34 in Roblox Luau. finish: 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(6,6,8) part.Position = Vector3.new(8,1,34) part.Anchored...
query: Create a ScreenGui with a TextLabel that says "Press Play" using font Fantasy at size 48. output: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGui" screenGui.P...
user: Create an unanchored gold Wood Block part sized 6x6x6 at position 21,19,50 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(6,6,6) part.Position = Vector3.new(21,19,50) pa...
begin: Create an unanchored gold Plastic Block part sized 8x4x10 at position -42,47,-25 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(8,4,10) part.Position = Vector3.new...
prompt: Script a block with slate material colored gold at (-5,10,-10) size (8,4,4) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(255,215,0) part.Size = Vector3.new(8,4,4) part.Position = Vector3.new(-5,10,-10) pa...
start: Tween Reflectance with Elastic Out easing, 0.75s duration, 1 repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, 1, true, 0) local goal = {Reflectance = 0.9} ...
user: Create a magenta brick unionoperation at position (-15, 8, 48) with size (7, 13, 11), anchored=false. finish: local part = Instance.new("UnionOperation") part.Size = Vector3.new(7, 13, 11) part.Position = Vector3.new(-15, 8, 48) part.Color = Color3.fromRGB(255, 0, 255) part.Material = Enum.Material.Brick part.An...
question: Create a TextButton saying "Play" with FredokaOne font with background Color3.fromRGB(128,0,255) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(1,0,0.08,0) e...
query: Create an anchored brown Wood Block part sized 4x1x1 at position -34,29,15 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(4,1,1) part.Position = Vector3.new(-34,29,15) pa...
prompt: Create an anchored purple Plastic Block part sized 1x1x4 at position 43,29,-50 in Roblox Luau. end: 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(1,1,4) part.Position = Vector3.new(43,29,-5...
question: Tween a part's Size with Sine InOut easing over 1s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(p...
question: Create an unanchored cyan Plastic Block part sized 2x4x4 at position 41,85,-4 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(2,4,4) part.Position = Vector3.new...
prompt: Create an unanchored red Wood Block part sized 12x1x8 at position 36,16,-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(255,0,0) part.Size = Vector3.new(12,1,8) part.Position = Vector3.new(36,16,-5...
question: Create an anchored orange Plastic Block part sized 8x1x6 at position 23,48,-35 in Roblox Luau. model: 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,1,6) part.Position = Vector3.new(23,4...
input: Create an unanchored red Wood Block part sized 2x1x8 at position 43,13,-31 in Roblox Luau. finish: 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(2,1,8) part.Position = Vector3.new(43,13,-31) part...
question: Create an unanchored orange Plastic Block part sized 10x2x8 at position 41,32,-5 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(10,2,8) part.Position = Vector3.new(41,...
instruction: Create a gray concrete part with Smoke effect in Roblox end: local part = Instance.new("Part") part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance...
input: Tween Size with Quint Out easing, 5s duration, 3 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 3, true, 0) local goal = {Size = Vector3.new(8,8,8)} local twee...
input: Create an anchored white Plastic Block part sized 4x2x4 at position -39,9,-17 in Roblox Luau. answer: 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(4,2,4) part.Position = Vector3.new(-39,9,-17) part...
input: Tween a part's Reflectance with Quint InOut easing over 0.5s in Roblox result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut) local goal = {Reflectance = 0.9} local tween = TweenService:Create...
question: Create an anchored orange Wood Block part sized 8x2x1 at position 33,20,14 in Roblox Luau. model: 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,2,1) part.Position = Vector3.new(33,20,14) p...
task: Create a TextLabel saying "Delete" with LuckiestGuy font with background Color3.fromRGB(0,120,255) 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.5,0,0.08,0) el...
start: Tween Color with Linear In easing, 3s duration, 3 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 3, true, 0) local goal = {Color = Color3.fromRGB(255,0,0)} lo...
start: Create a TextLabel saying "No" with Oswald 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,200,0,60) elem.Positi...
start: Create a lime ice part with Highlight effect in Roblox completion: local part = Instance.new("Part") part.Material = Enum.Material.Ice 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 = Instance.new("H...
task: Make a ball that is orange and pebble at (20,20,10) size (8,4,2) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Pebble part.Color = Color3.fromRGB(255,128,0) part.Size = Vector3.new(8,4,2) part.Position = Vector3.new(20,20,10) part.Anchored ...
query: Can you write code to Play a sound with volume 0.5, pitch 0.9, looped=true. completion: local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID sound.Volume = 0.5 sound.PlaybackSpeed = 0.9 sound.Looped = true sound.Parent = workspace sound:Play() -- Sound will ...
task: Create a TextButton saying "Equip" with FredokaOne 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,150,0,40) elem...
question: Tween CFrame with Quart In easing, 1s duration, infinite repeats, non-reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.In, -1, false, 0) local goal = {CFrame = part.CF...
query: Create a blue fabric part with Sparkles effect in Roblox output_text: local part = Instance.new("Part") part.Material = Enum.Material.Fabric 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 = Instance.ne...
begin: Create a ScrollingFrame that contains multiple TextLabels as a list. completion: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local scrollFrame = Instanc...
prompt: Make a green Slate part with a Sparkles effect attached in Roblox Luau. output_text: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx...
input: Tween Transparency with Quart In easing, 1s duration, infinite repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.In, -1, true, 0) local goal = {Transparency = 0.8} lo...
user: Create an anchored purple Plastic Block part sized 1x4x6 at position -20,39,-32 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,0,255) part.Size = Vector3.new(1,4,6) part.Position = Vector3.new(-...