This script should update a value in a GUI and also update a value in the leaderboard of same player. But it doesnn't work...
I used a normal script for this.
Source = script.Parent.Value
Display = script.Parent.Parent
Increment = 100
Leaderboard = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats.Cash.Value
while true do
wait(5)
Source = Source + Increment
Display.Text = Source
Leaderboard = Source
end

1 comment
whats the output say??