|
| 03 May 2013 08:15 PM |
--It is suppose to create IntValues in the Player.
Game.Players.PlayerAdded:connect(function(Player) Instance.new("IntValue", Player).Name = "Ach" Instance.new("IntValue", Player.Ach).Name = "GoblinKiller" Instance.new("IntValue", Player.Ach).Name = "GoblinSlayer" Instance.new("IntValue", Player).Name = "LevelValue" Instance.new("IntValue", Player).Name = "GoldValue" Instance.new("IntValue", Player).Name = "XPValue" end) |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:18 PM |
| Is this an enabled Script (not LocalScript) in Workspace? |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:20 PM |
| This is not a LocalScript, but it is in Workspace. |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 May 2013 08:32 PM |
But it doesn't, that is why I am so confused.
Any suggestions? |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:32 PM |
| Try using game:GetService("Players") instead of game.Players |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:33 PM |
| How do you know? Are you expecting these to be leaderboard stats, or do you have your own system of managing these IntValues? |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:36 PM |
| I designed my own GUI leaderboard. |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:37 PM |
Umm i think game should be lower case. So you can try..
game.Players.PlayerAdded:connect(function(Player) --code end)
~ Make the simple, amazing ~ |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:44 PM |
| Game works. The problem is probably with your leaderboard script, it may be trying to access the IntValues too soon (before they're added), try to add some kind of delay in it. |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:56 PM |
Hey hey
I made a post
Did anyone read it? |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 08:57 PM |
| I disabled the leaderboard script because it spams my output. I check manually for the int values. |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 09:05 PM |
It should work... I don't see the problem. IDK probably I am not looking hard enough.
~Normal ROBLOXian |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 09:15 PM |
Guys wtf
I'm here to help
Why don't you want help? |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 09:28 PM |
I tried your solution.
For some reason, these weren't working in Test Mode or Online mode, but after messing with it, it now works only in Online mode. |
|
|
| Report Abuse |
|
|
|
| 03 May 2013 09:41 PM |
| In Play Solo, the player is generally added before the game really gets on its feet. Try a server test (Start Server then Start Player). |
|
|
| Report Abuse |
|
|