So I basically want to make a script that will give a certain person a weapon I made butt so far I don't have any idea what to do. So can someone help me?
So you would so something along the lines of this:
game.Players.PlayerAdded:connect(function(player) wait() if player.Name == "PLAYERNAMEHERE" then game.Lighting["YOUR WEAPON NAME HERE"]:clone().Parent = player.Backpack end)
Put in a Global Script:
game.Players.PlayerAdded:connect(function(p) p:WaitForDataReady() if p.Name=="nameofperson" then weapon:clone().Parent=p.StarterPack -- weapon must be a tool! end end)
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?