|
| 30 Mar 2014 12:20 PM |
while true do wait() if game.Players.LocalPlayer then script.Parent.Text = "Stone: " ..game.Players.LocalPlayer.Stone.Value end end
LocalScript in PlayerGui, I have resources instead of a leaderboard. It works if the character resets. |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 30 Mar 2014 12:22 PM |
| Its possibly running before either Stone is created. Are there any output messages? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 30 Mar 2014 12:26 PM |
if game.Players.LocalPlayer then try: if game.Players:FindFirstChild ('LocalPlayer') then (idk) |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 30 Mar 2014 12:28 PM |
| ^Ehh...the script shouldn't run before the player arrives if its in startergui or something like that. I'm guessing its another line |
|
|
| Report Abuse |
|
|