andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 07 Aug 2013 06:12 AM |
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(Character) Character.ChildAdded:connect(function(Child) local leaderstats = Instance.new("Model", player) leaderstats.Name = "leaderstats" local Tool = Instance.new("StringValue", leaderstats) Tool.Name = "Holding" Tool.Value = Child end) end) end)
No outputs .-. |
|
|
| Report Abuse |
|
|
ForceSky
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 2379 |
|
|
| 07 Aug 2013 06:15 AM |
| What are you trying to do? |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 07 Aug 2013 06:16 AM |
| When a player selected a tool it will say the tool at the leaderstats |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 07 Aug 2013 06:24 AM |
**B... Bu.. Bum. Bump Bum. Bu.. B...** |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 06:31 AM |
| Boolean value, not a string value. Also, it'll fire numerous times (Being that objects are loading when the character is added.) |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 07 Aug 2013 06:37 AM |
Then how can i make it like that? so people can see what people are holding.. my game needs it for detecting spammers and deleters :c can somebody help? |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 07 Aug 2013 06:39 AM |
| like anything similar to this? |
|
|
| Report Abuse |
|
|
andrei012
|
  |
| Joined: 05 Nov 2010 |
| Total Posts: 279 |
|
|
| 07 Aug 2013 06:45 AM |
| How about a Gui Leaderboard? |
|
|
| Report Abuse |
|
|