I need help making a script gives a specific Roblox user a gear that is (in ServerStorage). Please help.
Here’s a video on pretty much that exact topic, I’d recommend watching scripting videos on youtube or finding online tutorials, they really are incredible helpful for starting out.
1 Like
Create a variable for the tool, check the user Id, give the player the tool. Simple!
local Tool = game.ServerStorage:FindFirstChild("Tool Name")
game.Players.PlayerAdded:connect(function(Player)
if Player.UserId == 123456789 then -- Put the correct UserId here. It can be found a profile.
Tool:Clone().Parent = Player.StarterGear
Tool:Clone().Parent = Player.Backpack
end
end)
1 Like