|
| 19 May 2009 06:32 AM |
Im making a laser tag game where you need to hit the enemy I need a leaderboard with "Hits" and "Times Hit" as well as a laser gun which deals no damage but on hit incrses the "Hits" score on the leaderboard |
|
|
| Report Abuse |
|
|
KingGhost
|
  |
| Joined: 07 Sep 2007 |
| Total Posts: 13241 |
|
|
| 19 May 2009 06:40 AM |
game.Players.ChildAdded:connect(function(NewPlayer)
Ls = Instance.new("IntValue") Ls.Name = "Leaderstats"
H = Instance.new("IntValue") H.Parent = Ls H.Name = "Hits" H.Value = 0
TH = Instance.new("IntValue") TH.Parent = Ls TH.Name = "Times Hit" Th.Value = 0
Ls.Parent = NewPlayer end)
--------------------- That's my first Leader Board! |
|
|
| Report Abuse |
|
|
KingGhost
|
  |
| Joined: 07 Sep 2007 |
| Total Posts: 13241 |
|
|
| 19 May 2009 06:49 AM |
game.Players.ChildAdded:connect(function(NewPlayer)
Ls = Instance.new("IntValue") Ls.Name = "leaderstats" Ls.Parent = NewPlayer
H = Instance.new("IntValue") H.Parent = Ls H.Name = "Hits" H.Value = 0
TH = Instance.new("IntValue") TH.Parent = Ls TH.Name = "Times Hit" Th.Value = 0
end)
Srry |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 May 2009 09:50 AM |
| can anyone make the gun plz |
|
|
| Report Abuse |
|
|
|
| 19 May 2009 10:06 AM |
http://www.roblox.com/Item.aspx?ID=6595121
|
|
|
| Report Abuse |
|
|