|
| 25 Sep 2016 04:51 PM |
| ########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################## |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 04:51 PM |
| tool:Clone().Parent = player.Backpack |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 04:52 PM |
Sorry about the hashtags, I have no idea what happened. But I was asking how to give a tool to a specific player. Dunno if it depends where I put the tool in besides workspace.
for _, plr in pairs(game.Players:GetPlayers()) do if plr.Name == "Player1" then script.Parent = plr.Player1.Backpack end end |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 04:57 PM |
what is wrong with doing
tool:Clone().Parent = game.Players.Player1 ???
that is a waste of a for loop |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2016 04:58 PM |
Player1.Backpack
what I meant was that you did not need to use a for loop since all you want to do is give it one player |
|
|
| Report Abuse |
|
|
Burglered
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 962 |
|
|
| 25 Sep 2016 05:00 PM |
Correction: Octothorpe not hashtags
|
|
|
| Report Abuse |
|
|