Arkitek
|
  |
| Joined: 09 May 2015 |
| Total Posts: 13095 |
|
|
| 18 Jan 2017 07:52 PM |
| Kind of like a GUI that displays how much money you have, but doesn't show to other players. |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2017 07:55 PM |
local player = game.Players.LocalPlayer local stats = player:FindFirstChild("leaderstats") local money = stats:FindFirstChild("Money")
script.Parent.Text = money.Value
money.Value.Changed:connect(function() if script.Parent.Text ~= money.Value then script.Parent.Text = money.Value end end |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2017 07:55 PM |
assuming your game has FE you can use a remote to pull the value from the server in case the client is trying to change it
|
|
|
| Report Abuse |
|
|
|
| 18 Jan 2017 07:56 PM |
@goml the problem with that is if the client is trying to exploit it'll show the false value (if FE is on)
|
|
|
| Report Abuse |
|
|
Arkitek
|
  |
| Joined: 09 May 2015 |
| Total Posts: 13095 |
|
|
| 18 Jan 2017 07:59 PM |
| That's the exploiters problem if they try to change the value |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2017 08:00 PM |
if FE is off then they'll most likely be successful lol
|
|
|
| Report Abuse |
|
|
Arkitek
|
  |
| Joined: 09 May 2015 |
| Total Posts: 13095 |
|
|
| 18 Jan 2017 08:01 PM |
| not if the value is in serverstorage |
|
|
| Report Abuse |
|
|
Arkitek
|
  |
| Joined: 09 May 2015 |
| Total Posts: 13095 |
|
|
| 18 Jan 2017 08:19 PM |
| so um ur script displays how much money u had at the beginning, but it doesn't update when you get more |
|
|
| Report Abuse |
|
|