Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
54
19.6k
prompt: Create a basic leaderstats system with Coins and Level in Roblox Luau output: -- Script in ServerScriptService local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player lo...
prompt: Create leaderstats that save and load player data using DataStoreService with error handling in Roblox Luau end: -- Script in ServerScriptService local Players = game:GetService("Players") local DataStoreService = game:GetService("DataStoreService") local playerStore = DataStoreService:GetDataStore("PlayerStat...
input: Create leaderstats with auto-save every 5 minutes using UpdateAsync for safe concurrent writes in Roblox Luau end: -- Script in ServerScriptService local Players = game:GetService("Players") local DataStoreService = game:GetService("DataStoreService") local RunService = game:GetService("RunService") local play...
user: Give a player coins when they touch a part using debounce to prevent spam in Roblox Luau result: -- Script inside the coin part in Workspace local Players = game:GetService("Players") local part = script.Parent local COIN_VALUE = 10 local COOLDOWN = 1 local debounce = {} part.Touched:Connect(function(hit) loc...
input_text: Create a kill and death tracking system with kill credit using creator tags that awards coins per kill in Roblox Luau model: -- Script in ServerScriptService local Players = game:GetService("Players") local COINS_PER_KILL = 25 Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new(...
task: Create a leveling and XP system where each level requires more XP and leveling up boosts max health in Roblox Luau completion: -- Script in ServerScriptService local Players = game:GetService("Players") local function xpRequired(level) return math.floor(100 * (level ^ 1.5)) end Players.PlayerAdded:Connect(fun...
start: Create a server-validated shop system using RemoteEvents where the server checks prices and the client shows the result in Roblox Luau end: -- SERVER SCRIPT (ServerScriptService) local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local purchaseRemote = Ins...
begin: Create a RemoteFunction that safely returns player inventory data from the server to the client in Roblox Luau finish: -- Server Script in ServerScriptService local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local getInventory = Instance.new("RemoteFunct...
instruction: Create a complete round-based game system with lobby, intermission countdown, arena teleportation, last-man-standing winner detection, and coin rewards in Roblox Luau output_text: -- Script in ServerScriptService local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("Replica...
query: Create a complete obby checkpoint system that saves progress to DataStore and respawns players at their last checkpoint in Roblox Luau end: -- Script in ServerScriptService local Players = game:GetService("Players") local RunService = game:GetService("RunService") local DataStoreService = game:GetService("DataS...
question: Create a complete pet follow system where pets float behind the player with smooth movement and bobbing animation in Roblox Luau solution: -- Server Script in ServerScriptService local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:...
question: Create a complete tycoon dropper system with collectors, upgrades for speed and value, and auto-collect in Roblox Luau answer: -- Script in ServerScriptService local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Debris = game:GetService("Debris") l...
start: Create a complete admin commands system with ban, kick, teleport, speed, god mode, and kill using chat commands in Roblox Luau finish: -- Script in ServerScriptService local Players = game:GetService("Players") local DataStoreService = game:GetService("DataStoreService") local banStore = DataStoreService:GetDat...
task: Create a ProximityPrompt interaction system with highlights, cooldowns, loot chests, and doors that open and close in Roblox Luau output: -- Script in ServerScriptService local Players = game:GetService("Players") local CollectionService = game:GetService("CollectionService") local TweenService = game:GetService...
start: Create a complete sword tool with swing animation, hitbox detection, damage, cooldown, and creator tag for kill credit in Roblox Luau model: -- Script inside a Tool in ServerStorage or StarterPack local Players = game:GetService("Players") local Debris = game:GetService("Debris") local tool = script.Parent loc...
task: Create a gun tool with raycasting, bullet visualization, headshot detection, and ammo system in Roblox Luau result: -- Server Script inside a Tool in StarterPack/ServerStorage local Players = game:GetService("Players") local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("Replicated...
input_text: Create a daily reward system that gives players increasing rewards for consecutive login days with DataStore saving in Roblox Luau result: -- Script in ServerScriptService local Players = game:GetService("Players") local DataStoreService = game:GetService("DataStoreService") local dailyStore = DataStoreSer...
instruction: Create a complete team-based capture the flag game system with flag pickup, carrying, scoring, dropping on death, and flag return in Roblox Luau output_text: -- Script in ServerScriptService local Players = game:GetService("Players") local Teams = game:GetService("Teams") local ReplicatedStorage = game:Ge...
question: Create a complete trading system where two players can propose items to trade with confirmation and server validation in Roblox Luau end: -- Script in ServerScriptService local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local requestTradeRemote = Inst...
prompt: Create a complete wave-based zombie survival spawner system with increasing difficulty, boss waves, and rewards in Roblox Luau output: -- Script in ServerScriptService local Players = game:GetService("Players") local ServerStorage = game:GetService("ServerStorage") local ReplicatedStorage = game:GetService("Re...
input: Create a complete in-game notification and announcement system with toast popups that fade in and out on the client in Roblox Luau end: -- SERVER: Script in ServerScriptService local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local notifyRemote = Instanc...
begin: Create a complete player data wipe and reset system with admin confirmation using DataStore in Roblox Luau completion: -- Script in ServerScriptService local Players = game:GetService("Players") local DataStoreService = game:GetService("DataStoreService") local ReplicatedStorage = game:GetService("ReplicatedSto...
question: Create a complete Roblox game settings system that lets players toggle music, SFX, damage numbers, and adjust sensitivity using DataStore in Luau solution: -- SERVER: Script in ServerScriptService local Players = game:GetService("Players") local DataStoreService = game:GetService("DataStoreService") local Re...
question: Create a complete teleporter system between different areas using parts with cool visual effects and loading screen in Roblox Luau result: -- SERVER: Script in ServerScriptService local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local ReplicatedStorage = game:Ge...
instruction: Create a black brick unionoperation at position (36, 68, -8) with size (12, 17, 13), anchored=true. result: local part = Instance.new("UnionOperation") part.Size = Vector3.new(12, 17, 13) part.Position = Vector3.new(36, 68, -8) part.Color = Color3.fromRGB(0, 0, 0) part.Material = Enum.Material.Brick part....
input_text: Create an unanchored yellow Wood Block part sized 4x6x10 at position -23,1,44 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(255,255,0) part.Size = Vector3.new(4,6,10) part.Position = Vector3.new(-23,1...
start: Make a cylinder that is gray and wood at (10,20,5) size (2,4,2) in Roblox. completion: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,128,128) part.Size = Vector3.new(2,4,2) part.Position = Vector3.new(10,20,5) part.Anchor...
prompt: I need to a part that is cyan, transparency 0.5, CanCollide=true, Reflectance=0.5. finish: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 255, 255) part.Transparency = 0.5 part.CanCollide = true part.Reflectance = 0.5 part.Anchored = true part.Parent = workspace
start: Create an anchored gray Wood Block part sized 6x2x2 at position 39,99,7 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(6,2,2) part.Position = Vector3.new(39,99,7) par...
input: Write a DataStore script to save and load a player's Wins value. solution: local DataStoreService = game:GetService("DataStoreService") local Players = game:GetService("Players") local dataStore = DataStoreService:GetDataStore("PlayerData") Players.PlayerAdded:Connect(function(player) local key = "Player_...
start: Make a purple Plastic part with a Fire effect attached in Roblox Luau. response: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx ...
input: Create an anchored gold Wood Block part sized 8x6x1 at position 15,8,42 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,215,0) part.Size = Vector3.new(8,6,1) part.Position = Vector3.new(15,8,42) pa...
input_text: Create a part that is cyan, transparency 0.5, CanCollide=true, Reflectance=0.5. finish: local part = Instance.new("Part") part.Color = Color3.fromRGB(0, 255, 255) part.Transparency = 0.5 part.CanCollide = true part.Reflectance = 0.5 part.Anchored = true part.Parent = workspace
input: Create an anchored purple Wood Block part sized 6x2x4 at position -20,35,-40 in Roblox Luau. finish: 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(6,2,4) part.Position = Vector3.new(-20,35,-40)...
task: Create a TextButton saying "No" with Nunito font with background Color3.fromRGB(128,0,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,40) elem.Positi...
instruction: Build a system that a ProximityPrompt on a sign part that says "Read Sign" with hold duration 1.6s and max distance 10. completion: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Read Sign" prompt.ObjectText = "Sign" prompt.KeyboardKeyCode = Enum.KeyCode.E ...
prompt: Create an unanchored blue Plastic Block part sized 2x2x1 at position 22,79,35 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,2,1) part.Position = Vector3.new(22,79,...
begin: Tween a part's Transparency with Quint In easing over 0.5s in Roblox solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In) local goal = {Transparency = 0.8} local tween = TweenService:Create(p...
input: Make a yellow CorrodedMetal part with a SpotLight effect attached in Roblox Luau. answer: 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.Parent = work...
start: Script a cylinder with sand material colored pink at (5,50,5) size (2,2,8) in Roblox. output_text: local part = Instance.new("Part") part.Shape = Enum.PartType.Cylinder part.Material = Enum.Material.Sand part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(2,2,8) part.Position = Vector3.new(5,50,5) ...
task: Tween a part's Color with Quad InOut easing over 2s in Roblox end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create(p...
prompt: Make a white DiamondPlate part with a PointLight effect attached in Roblox Luau. solution: local part = Instance.new("Part") part.Material = Enum.Material.DiamondPlate 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 l...
instruction: Tween Reflectance with Back Out easing, 0.25s duration, infinite repeats, reversing in Roblox. solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Back, Enum.EasingDirection.Out, -1, true, 0) local goal = {Reflectan...
instruction: Tween Reflectance with Cubic In easing, 0.75s duration, 1 repeats, reversing in Roblox. result: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 1, true, 0) local goal = {Reflectance = 0.9} ...
question: Create an anchored brown Wood Block part sized 12x6x2 at position -9,90,-19 in Roblox Luau. answer: 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(12,6,2) part.Position = Vector3.new(-9,90,-1...
instruction: Tween CFrame with Exponential InOut easing, 1s duration, 2 repeats, non-reversing in Roblox. end: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut, 2, false, 0) local goal = {CFrame = p...
task: Tween a part's Color with Exponential In easing over 3s in Roblox solution: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.In) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenSer...
input_text: Tween Transparency with Circular In easing, 0.75s duration, 0 repeats, reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.75, Enum.EasingStyle.Circular, Enum.EasingDirection.In, 0, true, 0) local goal = {Transparenc...
begin: Create an unanchored cyan Wood Block part sized 6x6x6 at position 37,31,-47 in Roblox Luau. finish: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(6,6,6) part.Position = Vector3.new(37,31,-47) p...
begin: Create an unanchored cyan Plastic Block part sized 2x2x8 at position 27,80,31 in Roblox Luau. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(0,255,255) part.Size = Vector3.new(2,2,8) part.Position = Vector3.new(27,80,3...
start: Make a red Concrete part with a SpotLight effect attached in Roblox Luau. response: local part = Instance.new("Part") part.Material = Enum.Material.Concrete 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 f...
user: Make a ball that is lime and brick at (-5,25,-10) size (6,2,6) in Roblox. response: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.Brick part.Color = Color3.fromRGB(0,255,128) part.Size = Vector3.new(6,2,6) part.Position = Vector3.new(-5,25,-10) part.Anchored = tr...
question: Make a script that an auto-balancing team system that assigns players to Red or Blue teams. solution: local Players = game:GetService("Players") local Teams = game:GetService("Teams") -- Create teams local redTeam = Instance.new("Team") redTeam.Name = "Red" redTeam.TeamColor = BrickColor.new("Bright red") r...
start: Tween Size with Quint Out easing, 4s duration, infinite repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(4, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, -1, false, 0) local goal = {Size = Vector3.new(8,...
prompt: Create an anchored teal Plastic Block part sized 1x6x6 at position -36,74,44 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,128,128) part.Size = Vector3.new(1,6,6) part.Position = Vector3.new(-3...
input_text: Create an anchored cyan Wood Block part sized 4x6x8 at position 40,89,-10 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,255) part.Size = Vector3.new(4,6,8) part.Position = Vector3.new(40,89,-10) p...
prompt: Spawn a red woodplanks ball part at (-10,25,-10) size (2,2,1) in Roblox. output: local part = Instance.new("Part") part.Shape = Enum.PartType.Ball part.Material = Enum.Material.WoodPlanks part.Color = Color3.fromRGB(255,0,0) part.Size = Vector3.new(2,2,1) part.Position = Vector3.new(-10,25,-10) part.Anchored =...
input_text: Create a teal smoothplastic block at (0,25,-10) size (6,4,4) in Roblox. result: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.SmoothPlastic part.Color = Color3.fromRGB(0,128,128) part.Size = Vector3.new(6,4,4) part.Position = Vector3.new(0,25,-10) part.Anc...
task: Create a ProximityPrompt on a door part that says "Open Door" with hold duration 1.6s and max distance 5. answer: local part = script.Parent local prompt = Instance.new("ProximityPrompt") prompt.ActionText = "Open Door" prompt.ObjectText = "Door" prompt.KeyboardKeyCode = Enum.KeyCode.E prompt.HoldDuration = 1.6...
user: Build a system that Play a sound with volume 0.2, pitch 0.8, looped=true. end: local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://0" -- Replace with your sound asset ID sound.Volume = 0.2 sound.PlaybackSpeed = 0.8 sound.Looped = true sound.Parent = workspace sound:Play() -- Sound will loop conti...
query: Tween Reflectance with Quart InOut easing, 2s duration, 1 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut, 1, false, 0) local goal = {Reflectance = 0.9} l...
query: Create a TextButton saying "Menu" with GothamBold font with background Color3.fromRGB(30,30,40) in Roblox GUI. model: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0,50) elem.P...
query: Create an anchored gold Wood Block part sized 8x4x8 at position -9,79,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,215,0) part.Size = Vector3.new(8,4,8) part.Position = Vector3.new(-9,79,47) part.A...
prompt: Create a TextButton saying "Welcome!" with LuckiestGuy 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("TextButton") elem.Size = UDim2.new(1,0,0.0...
prompt: Create a TextButton saying "Play" with Oswald font with background Color3.fromRGB(50,50,80) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0.1,0) elem.Po...
prompt: Tween a part's Position with Quart InOut easing over 2s in Roblox completion: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenSer...
instruction: Create a TextButton saying "Continue" with Bangers font with background Color3.fromRGB(0,0,0) in Roblox GUI. completion: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.3,0,0.0...
question: Create a TextLabel saying "Loading..." with Ubuntu 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.1,0) el...
prompt: Tween Size with Linear InOut easing, 0.25s duration, 2 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 2, false, 0) local goal = {Size = Vector3.new...
user: Create an anchored orange Wood Block part sized 12x1x1 at position -18,47,8 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(12,1,1) part.Position = Vector3.new(-18,47,8) part....
instruction: Write a script to create a trading system between players in Roblox end: local RS = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local tradeReq = Instance.new("RemoteEvent") tradeReq.Name = "TradeRequest" tradeReq.Parent = RS local tradeAcc = Instance.new("RemoteEvent") ...
prompt: Create a Luau script that will a smooth third-person camera that follows the player. end: local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local OFFSET = Vector3.new(0, 8, 12) local SMOOTHNESS...
begin: Create a TextLabel saying "Game Over" centered in Roblox GUI solution: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui local elem = Instance.new("TextLabel")...
task: Create an unanchored green Wood Block part sized 12x6x1 at position -15,81,33 in Roblox Luau. result: 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,1) part.Position = Vector3.new(-15,81,33) p...
user: Create an unanchored black Wood Block part sized 12x2x1 at position -35,83,2 in Roblox Luau. model: local part = Instance.new("Part") part.Shape = Enum.PartType.Block part.Material = Enum.Material.Wood part.Color = Color3.new(0,0,0) part.Size = Vector3.new(12,2,1) part.Position = Vector3.new(-35,83,2) part.Ancho...
user: Create an anchored black Plastic Block part sized 1x4x8 at position -9,21,30 in Roblox Luau. solution: 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,4,8) part.Position = Vector3.new(-9,21,30) part....
prompt: Tween Position with Quad Out easing, 1.5s duration, 3 repeats, reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 3, true, 0) local goal = {Position = Vector3.new(10,5,0...
input: Tween Position with Quint Out easing, 5s duration, 0 repeats, non-reversing in Roblox. response: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 0, false, 0) local goal = {Position = Vector3.new(10...
query: Create an anchored red Plastic Block part sized 6x2x6 at position -42,77,-42 in Roblox Luau. completion: 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(6,2,6) part.Position = Vector3.new(-42,77...
begin: Tween Transparency with Circular InOut easing, 1.5s duration, infinite repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(1.5, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, -1, true, 0) local goal = {Transpa...
question: Can you write code to Fade a part to invisible over 3.0 seconds using a tween. result: local TweenService = game:GetService("TweenService") local part = workspace:WaitForChild("FadePart") local tweenInfo = TweenInfo.new(3.0, Enum.EasingStyle.Linear) local goal = { Transparency = 1 } local tween = Twe...
begin: How do I use RopeConstraint in Roblox? It rope that limits max distance. solution: local partA = workspace.PartA local partB = workspace.PartB local a0 = Instance.new("Attachment") a0.Parent = partA local a1 = Instance.new("Attachment") a1.Parent = partB local constraint = Instance.new("RopeConstraint") constra...
question: Tween a part's Position with Cubic Out easing over 5s in Roblox output: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) local goal = {Position = Vector3.new(10,5,0)} local tween = TweenService:C...
input_text: Make a script that a ScreenGui with a TextLabel that says "Welcome!" using font Highway at size 24. output: local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomG...
prompt: Create an anchored red Plastic Block part sized 2x6x4 at position 26,42,12 in Roblox Luau. output: 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,6,4) part.Position = Vector3.new(26,42,12) p...
start: Create a pink plastic part with Smoke effect in Roblox finish: local part = Instance.new("Part") part.Material = Enum.Material.Plastic part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new(...
input_text: Tween Reflectance with Quart In easing, 1s duration, infinite repeats, reversing in Roblox. end: 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 = {Reflectance = 0.9} lo...
begin: Lock the camera to first person mode. output_text: local Players = game:GetService("Players") local player = Players.LocalPlayer -- Force first person player.CameraMode = Enum.CameraMode.LockFirstPerson player.CameraMinZoomDistance = 0.5 player.CameraMaxZoomDistance = 0.5
instruction: Show useful math functions and operations in Luau. output: -- Basic math print(math.abs(-5)) -- 5 print(math.ceil(4.2)) -- 5 print(math.floor(4.8)) -- 4 print(math.round(4.5)) -- 5 (Luau feature) print(math.max(3, 7, 1)) -- 7 print(math.min(3, 7, 1)) -- 1 print(math.sqrt(16)) -- 4 p...
input_text: Make a pink Slate part with a SpotLight effect attached in Roblox Luau. finish: local part = Instance.new("Part") part.Material = Enum.Material.Slate part.Color = Color3.fromRGB(255,100,200) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local...
input_text: Tween Color with Circular InOut easing, 3s duration, 0 repeats, non-reversing in Roblox. finish: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(3, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 0, false, 0) local goal = {Color = Color3....
start: Tween a part's Color with Cubic In easing over 2s in Roblox answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Cubic, Enum.EasingDirection.In) local goal = {Color = Color3.fromRGB(255,0,0)} local tween = TweenService:Create(p...
prompt: Create an anchored white Wood Block part sized 12x6x2 at position 40,42,-22 in Roblox Luau. response: 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(12,6,2) part.Position = Vector3.new(40,42,-22) part....
begin: How do I create a save slot system in Roblox Luau? result: local DSS = game:GetService("DataStoreService") local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local MAX_SLOTS = 3 local remote = Instance.new("RemoteFunction") remote.Name = "SaveSlotRemote" remote.Parent = R...
user: Create a TextButton saying "Cancel" with SourceSansBold font with background Color3.fromRGB(40,40,40) in Roblox GUI. result: local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local elem = Instance.new("TextButton") elem.Size = UDim2.new(0.5,0,0.08,0...
input: Tween Reflectance with Quint In easing, 2s duration, 1 repeats, reversing in Roblox. model: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.In, 1, true, 0) local goal = {Reflectance = 0.9} local tween =...
user: Tween Size with Back Out easing, 0.25s duration, 3 repeats, non-reversing in Roblox. answer: local TweenService = game:GetService("TweenService") local part = workspace.MyPart local info = TweenInfo.new(0.25, Enum.EasingStyle.Back, Enum.EasingDirection.Out, 3, false, 0) local goal = {Size = Vector3.new(8,8,8)} l...
task: Create a purple wood part with PointLight effect in Roblox finish: local part = Instance.new("Part") part.Material = Enum.Material.Wood part.Color = Color3.fromRGB(128,0,255) part.Size = Vector3.new(4,4,4) part.Position = Vector3.new(0,5,0) part.Anchored = true part.Parent = workspace local fx = Instance.new("P...
user: Create a gold diamondplate meshpart at position (16, 40, -17) with size (14, 19, 19), anchored=true. end: local part = Instance.new("MeshPart") part.Size = Vector3.new(14, 19, 19) part.Position = Vector3.new(16, 40, -17) part.Color = Color3.fromRGB(255, 215, 0) part.Material = Enum.Material.DiamondPlate part.Anc...
instruction: I need to a rounded Frame with corner radius 12 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 = I...
End of preview. Expand in Data Studio

mix of datasets, formatter for pre-training: (no specific order) 8BitStudio/Roblox-luau-coding_L1, hsusulist/luau-data, Laserhun/gemini_rblx_luau, TorpedoSoftware/Roblox-Luau-Reasoning-v1.0

Downloads last month
23