text
stringlengths
54
19.6k
task: Create an unanchored blue Wood Block part sized 1x6x1 at position -43,39,28 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,6,1) part.Position = Vector3.new(-43,39,28) pa...
user: Create an anchored blue Plastic Block part sized 4x4x2 at position 27,77,29 in Roblox Luau. result: 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(4,4,2) part.Position = Vector3.new(27,77,29) pa...
input: Create an anchored orange Wood Block part sized 10x6x4 at position 46,19,49 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(10,6,4) part.Position = Vector3.new(46,19,4...
start: Create an unanchored blue Plastic Block part sized 1x2x1 at position -15,97,3 in Roblox Luau. end: 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(1,2,1) part.Position = Vector3.new(-15,97,3) pa...
prompt: Tween Size with Circular Out easing, 4s duration, 1 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Circular, Enum.EasingDirection.Out, 1, false, 0) local goal = {Size = Vector3.new(8,8,8...
start: Tween a part's Position with Sine Out easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService:Cr...
input: Create an anchored orange Wood Block part sized 4x4x10 at position -10,41,-25 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(4,4,10) part.Position = Vector3.new(-10,41,-2...
prompt: Create an unanchored cyan Plastic Block part sized 6x2x2 at position -22,82,40 in Roblox Luau. finish: 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(6,2,2) part.Position = Vector3.new(-22,8...
instruction: Create an anchored red Wood Block part sized 8x4x2 at position -2,33,-39 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(8,4,2) part.Position = Vector3.new(-2,33,-39) ...
prompt: Create an unanchored white Plastic Block part sized 1x2x4 at position -31,24,-30 in Roblox Luau. finish: 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,2,4) part.Position = Vector3.new(-31,24,-30)...
input_text: Create an unanchored purple Wood Block part sized 10x4x4 at position -25,45,3 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(10,4,4) part.Position = Vector3.new(-25,...
instruction: Create an anchored black Wood Block part sized 6x1x8 at position 35,9,-7 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(6,1,8) part.Position = Vector3.new(35,9,-7) part.Anc...
input: Make a green Plastic part with a SpotLight effect attached in Roblox Luau. end: local part = Instance.new("Part") part.Material = Enum.Material.Plastic 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 = I...
prompt: Create an unanchored gold Plastic Block part sized 1x4x8 at position 19,21,18 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,4,8) part.Position = Vector3.new(19,21,...
instruction: Create an anchored red Wood Block part sized 1x2x10 at position 35,62,-34 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(1,2,10) part.Position = Vector3.new(35,62,-...
input: Create an unanchored brown Wood Block part sized 10x2x4 at position -18,46,37 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(10,2,4) part.Position = Vector3.new(-18,4...
user: Create an anchored teal Plastic Block part sized 12x1x2 at position 36,14,5 in Roblox Luau. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(12,1,2) part.Position = Vector3.new(36,14,5...
question: Tween Size with Quart Out easing, 0.75s duration, 0 repeats, reversing in Roblox. completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, true, 0) local goal = {Size = Vector3.new(8,8,...
query: Make a script that a Frame with a UIListLayout (padding 4) containing 5 buttons. end: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local frame = Instance...
question: Tween Transparency with Circular In easing, 2.5s duration, infinite repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Circular, Enum.EasingDirection.In, -1, false, 0) local goal = {Tran...
user: Create a TextButton saying "Click Me" bottom-center in Roblox GUI finish: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local elem = Instance.new("TextButto...
query: Tween Reflectance with Bounce InOut easing, 4s duration, 0 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 0, true, 0) local goal = {Reflectance = 0.9} local...
question: Spawn a brown corrodedmetal cylinder part at (-10,5,-5) size (1,2,1) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(139,69,19) part.Size = Vector3.new(1,2,1) part.Position = Vector3.new(-10,5,-5) ...
task: Tween Position with Linear InOut easing, 1s duration, infinite repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, false, 0) local goal = {Position = Vec...
task: Tween Reflectance with Cubic InOut easing, 3s duration, 1 repeats, reversing in Roblox. end: 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 = {Reflectance = 0.9} local twee...
prompt: Tween CFrame with Back In 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.Back, Enum.EasingDirection.In, 1, true, 0) local goal = {CFrame = part.CFrame*CFrame.new...
input: Code a script that Connect two parts with a RopeConstraint. model: local partA = workspace:WaitForChild("PartA") local partB = workspace:WaitForChild("PartB") local attachmentA = Instance.new("Attachment") attachmentA.Parent = partA local attachmentB = Instance.new("Attachment") attachmentB.Parent = partB lo...
question: Create a TextLabel saying "OK" with Oswald font with background Color3.fromRGB(200,50,50) 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(1,0,0,40) elem.Posi...
instruction: Make a ball that is green and brick at (5,5,0) size (1,4,8) in Roblox. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(0,255,0) part.Size = Vector3.new(1,4,8) part.Position = Vector3.new(5,5,0) part.Anchored = false p...
prompt: Script for Add a ColorCorrectionEffect post-processing effect to the game's Lighting. completion: local Lighting = game:GetService("Lighting") local effect = Instance.new("ColorCorrectionEffect") effect.Brightness = 0.05 effect.Contrast = 0.1 effect.Saturation = 0.2 effect.Parent = Lighting
input_text: Create an unanchored pink Wood Block part sized 10x6x2 at position -2,24,34 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(10,6,2) part.Position = Vector3.new(-2,2...
task: Script for an Instance of type SelectionBox and configure its properties. answer: local instance = Instance.new("SelectionBox") -- Configure properties as needed instance.Parent = workspace:WaitForChild("TargetPart") -- To remove later: -- instance:Destroy()
instruction: Create an anchored orange Wood Block part sized 4x6x1 at position -44,64,13 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(4,6,1) part.Position = Vector3.new(-44,64...
prompt: Implement a way to Use CollectionService to tag and manage groups of objects. output: local CollectionService = game:GetService("CollectionService") -- Tag objects local function setupLava(part) part.Touched:Connect(function(hit) local character = hit.Parent local humanoid = character and ...
task: Create an unanchored orange Plastic Block part sized 2x2x10 at position -48,16,-30 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(2,2,10) part.Position = Vector3.new(-48,1...
instruction: Tween CFrame with Quart InOut easing, 2s duration, 3 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 3, true, 0) local goal = {CFrame = part.CFrame*C...
query: Tween a part's Reflectance with Linear In easing over 0.5s in Roblox model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In) local goal = {Reflectance = 0.9} local tween = TweenService:Create(part...
question: Create an anchored gold Plastic Block part sized 4x6x10 at position 3,59,-41 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(4,6,10) part.Position = Vector3.new(3,59...
user: Make a gray Wood part with a SpotLight effect attached in Roblox Luau. response: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = ...
user: Tween a part's Transparency with Quad Out easing over 1s in Roblox response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local goal = {Transparency = 0.8} local tween = TweenService:Create(part, ...
task: Make a gold CorrodedMetal part with a SpotLight effect attached in Roblox Luau. result: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 = workspa...
question: Create a lime corrodedmetal cylinder at (10,5,5) size (2,1,6) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.CorrodedMetal part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(2,1,6) part.Position = Vector3.new(10,5,5) par...
user: Make a blue Concrete part with a Sparkles effect attached in Roblox Luau. solution: local part = Instance.new("Part") part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx...
question: Create an anchored white Wood Block part sized 1x4x6 at position -9,39,14 in Roblox Luau. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(1,1,1) part.Size = Vector3.new(1,4,6) part.Position = Vector3.new(-9,39,14) part.Anch...
prompt: Build a system that a simple cutscene camera that moves between waypoints. response: local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local waypoints = { CFrame.new(0, 20, 50) * CFrame...
begin: Create a part that is gold, transparency 0.75, CanCollide=true, Reflectance=0.5. result: local part = Instance.new("Part") part.Color = Color3.fromRGB(255, 215, 0) part.Transparency = 0.75 part.CanCollide = true part.Reflectance = 0.5 part.Anchored = true part.Parent = workspace
instruction: Tween Reflectance with Elastic In easing, 0.25s duration, 1 repeats, reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Elastic, Enum.EasingDirection.In, 1, true, 0) local goal = {Reflectance = 0...
prompt: How do I create a notification popup system in Roblox Luau? output: local TweenService = game:GetService("TweenService") local player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.DisplayOrder = 10 gui.Parent = player:WaitForChild("PlayerGui") local container = Instance.new("Frame") cont...
prompt: Create an anchored brown Wood Block part sized 1x6x10 at position 33,39,-21 in Roblox Luau. response: 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(1,6,10) part.Position = Vector3.new(33,39,-2...
input_text: Tween Position with Elastic InOut easing, 2s duration, 3 repeats, reversing in Roblox. output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 3, true, 0) local goal = {Position = Vec...
input: Create an unanchored purple Plastic Block part sized 6x6x8 at position -37,4,-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,0,255) part.Size = Vector3.new(6,6,8) part.Position = Vector3.new...
instruction: Create an unanchored white Wood Block part sized 10x1x8 at position 48,7,-12 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,1,8) part.Position = Vector3.new(48,7,-12) part....
query: Tween Transparency with Quad In easing, 2s duration, 1 repeats, reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 1, true, 0) local goal = {Transparency = 0.8} local tween ...
prompt: Create an anchored gray Wood Block part sized 2x6x1 at position 50,58,-36 in Roblox Luau. end: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(2,6,1) part.Position = Vector3.new(50,58,-36) par...
instruction: Tween CFrame with Quart InOut easing, 0.25s duration, 3 repeats, non-reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 3, false, 0) local goal = {CFrame = part...
input: Create an unanchored cyan Wood Block part sized 1x1x10 at position -41,83,4 in Roblox Luau. response: 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,1,10) part.Position = Vector3.new(-41,83,4)...
query: Tween CFrame with Linear In easing, 3s duration, 3 repeats, non-reversing in Roblox. output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 3, false, 0) local goal = {CFrame = part.CFrame*CFrame.n...
instruction: Make a black CorrodedMetal part with a PointLight effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 = worksp...
prompt: Create an anchored purple Plastic Block part sized 4x4x4 at position -5,35,0 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(4,4,4) part.Position = Vector3.new(-5,35,0)...
user: Create a TextLabel saying "Equip" with Ubuntu font with background Color3.fromRGB(50,50,80) in Roblox GUI. finish: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextLabel") elem.Size = UDim2.new(0.2,0,0,50) elem.Positi...
input: Make a yellow Slate part with a Sparkles effect attached in Roblox Luau. answer: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = ...
begin: Create an anchored gold Plastic Block part sized 2x4x4 at position 43,54,-33 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,215,0) part.Size = Vector3.new(2,4,4) part.Position = Vector3.new(43,...
instruction: Tween Size with Bounce Out easing, 1s duration, 0 repeats, reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 0, true, 0) local goal = {Size = Vector3.new(8,8,8)} loca...
input: Create an anchored yellow Wood Block part sized 12x4x6 at position -28,33,-48 in Roblox Luau. solution: 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(12,4,6) part.Position = Vector3.new(-28,33,...
user: Tween a part's Reflectance with Elastic Out easing over 1s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out) local goal = {Reflectance = 0.9} local tween = TweenService:Create(...
question: Tween CFrame with Cubic Out easing, 3s duration, 3 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 3, false, 0) local goal = {CFrame = part.CFrame*CFr...
prompt: Help me a script that clones a part from ServerStorage and places it at a random position in the workspace. response: local ServerStorage = game:GetService("ServerStorage") local template = ServerStorage:WaitForChild("TemplatePart") local clone = template:Clone() clone.Position = Vector3.new( math.random(...
task: What's the code to a global leaderboard using OrderedDataStore for top players by Score. result: local DataStoreService = game:GetService("DataStoreService") local orderedStore = DataStoreService:GetOrderedDataStore("ScoreLeaderboard") local function getTopPlayers(count) local success, pages = pcall(functio...
input: Tween a part's Size with Back Out easing over 2s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Back, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(part, in...
instruction: Create an anchored brown Wood Block part sized 2x6x10 at position 11,64,45 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(2,6,10) part.Position = Vector3.new(11,64,45)...
input_text: Create an unanchored white Plastic Block part sized 6x6x4 at position -40,87,34 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(6,6,4) part.Position = Vector3.new(-40,87,3...
input_text: Tween Reflectance with Back Out 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.Back, Enum.EasingDirection.Out, 0, true, 0) local goal = {Reflectance = 0.9} l...
start: Create an anchored gold Wood Block part sized 2x2x2 at position 6,24,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,215,0) part.Size = Vector3.new(2,2,2) part.Position = Vector3.new(6,24,14) part.Anc...
start: Create an anchored blue Wood Block part sized 2x1x8 at position 25,25,23 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,0,255) part.Size = Vector3.new(2,1,8) part.Position = Vector3.new(25,25,23) part.Anc...
task: Create a teal cobblestone block at (-5,5,20) size (1,4,2) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Cobblestone part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(1,4,2) part.Position = Vector3.new(-5,5,20) part.Anchored = tr...
start: Create a TextLabel saying "Ready?" with RobotoMono font with background Color3.fromRGB(30,30,40) 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....
input_text: Tween Color with Circular InOut easing, 2s duration, 0 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Color = Color...
input: Tween Transparency with Cubic InOut easing, 0.25s duration, 1 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 1, true, 0) local goal = {Transparency = 0.8}...
task: Create an anchored orange Wood Block part sized 6x4x1 at position 38,7,-17 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(6,4,1) part.Position = Vector3.new(38,7,-17) ...
user: Tween a part's Size with Quart Out easing over 3s in Roblox output_text: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Quart, Enum.EasingDirection.Out) local goal = {Size = Vector3.new(8,8,8)} local tween = TweenService:Create(pa...
input: Tween CFrame with Bounce Out easing, 5s duration, 1 repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out, 1, true, 0) local goal = {CFrame = part.CFrame*CFrame.ne...
question: Make a gold CorrodedMetal part with a PointLight effect attached in Roblox Luau. completion: local part = Instance.new("Part") part.Material = Enum.Material.CorrodedMetal 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 ...
prompt: Create an anchored red Plastic Block part sized 4x2x2 at position -48,76,20 in Roblox Luau. answer: 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(4,2,2) part.Position = Vector3.new(-48,76,20)...
begin: Create an anchored brown Plastic Block part sized 6x6x8 at position 23,32,-29 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(6,6,8) part.Position = Vector3.new(23,32,-2...
begin: Create a TextLabel saying "Buy" with Bangers 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.2,0,0.08,0) elem.Pos...
start: Create a TextLabel saying "Yes" with Nunito 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.1,0) elem.Pos...
user: Create a TextButton saying "Undo" with FredokaOne 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("TextButton") elem.Size = UDim2.new(0.5,0,0.08,0) el...
user: Script a ball with concrete material colored yellow at (-10,1,5) size (4,6,8) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Concrete part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(4,6,8) part.Position = Vector3.new(-10,1,5) part...
start: Tween Position with Cubic Out easing, 2s duration, 0 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 0, false, 0) local goal = {Position = Vector3.new(10,5...
user: Spawn a white smoothplastic ball part at (-5,5,-10) size (8,4,8) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.SmoothPlastic part.Color = Color3.new(1,1,1) part.Size = Vector3.new(8,4,8) part.Position = Vector3.new(-5,5,-10) part.Anchored ...
question: Create a TextLabel saying "Exit" with RobotoMono 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.2,0,0,50) elem.Posit...
input: Tween Reflectance with Bounce In easing, 2.5s duration, 3 repeats, non-reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2.5, Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 3, false, 0) local goal = {Reflectance = 0.9} lo...
task: Create an unanchored black Plastic Block part sized 1x6x4 at position -36,31,31 in Roblox Luau. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.new(0,0,0) part.Size = Vector3.new(1,6,4) part.Position = Vector3.new(-36,31,31)...
query: Create an unanchored purple Plastic Block part sized 6x4x4 at position -40,99,29 in Roblox Luau. solution: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(6,4,4) part.Position = Vector3.new(-4...
input_text: Create an unanchored red Wood Block part sized 2x1x6 at position 40,57,47 in Roblox Luau. model: 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,6) part.Position = Vector3.new(40,57,47) pa...
input_text: Write a DataStore script to save and load a player's Coins value. model: local DataStoreService = game:GetService("DataStoreService") local Players = game:GetService("Players") local dataStore = DataStoreService:GetDataStore("PlayerData") Players.PlayerAdded:Connect(function(player) local key = "Play...
start: Create a TextLabel saying "OK" with Michroma 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("TextLabel") elem.Size = UDim2.new(1,0,0.08,0) elem.Position...
input_text: Create a TextButton saying "Resume" with Ubuntu font with background Color3.fromRGB(50,200,50) in Roblox GUI. output: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0,50) e...
begin: Create an anchored yellow Plastic Block part sized 6x6x4 at position 26,61,-17 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,6,4) part.Position = Vector3.new(26,61,...
task: Create an unanchored orange Wood Block part sized 8x1x6 at position 9,50,-26 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,1,6) part.Position = Vector3.new(9,50,-26) pa...