|
| 17 Sep 2016 05:13 PM |
this is what I have rn and its not working
part = script.Parent
part.ClickDetector.MouseClick:connect(function(player) tool = game.Lighting.Tool:Clone() tool.Parent = game.Players.player.Backpack end)
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 17 Sep 2016 05:36 PM |
tool.Parent = player.Backpack
|
|
|
| Report Abuse |
|
|
Afro_Sub
|
  |
| Joined: 16 Jun 2013 |
| Total Posts: 1114 |
|
| |
|
| |
|
|
| 17 Sep 2016 05:39 PM |
| ################################################################################################################################################ |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2016 05:40 PM |
part = script.Parent
part.ClickDetector.MouseClick:connect(function(player) tool = game.Lighting.Tool:Clone() tool.Parent = player.Backpack end) |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2016 05:41 PM |
player is equal to game.Players.ThePlayer
you don't have to go down the hierarchy |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 17 Sep 2016 05:51 PM |
'function(player)'
'player'
*facepalm*
|
|
|
| Report Abuse |
|
|
| |
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
| |
|
|
| 17 Sep 2016 06:24 PM |
| thank you guys for the help. |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2016 09:48 PM |
This is what I think might work
part = script.Parent
part.ClickDetector.MouseClick:connect(function(player) tool = game.Lightning.Tool:Clone() tool.Parent = game.Players.LocalPlayer.Backpack end)
Might work
From Legitdude04 |
|
|
| Report Abuse |
|
|