Witam,
W Roblox Studio chciałem zrobić licznik pieniędzy. Tymczasem licznik dodaje pieniądze, ale TextLabel w którym wyświetliłem ilość pieniędzy pokazuje tylko do 4 i dalej nie działa,a pieniądze cały czas się dodają
Kod:
amount = 2
timedelay = 1
currencyname = "Kasa/Cash"
while true do
game.ServerScriptService.Leaderboard.cash.Value = game.ServerScriptService.Leaderboard.cash.Value + amount
game.ServerScriptService.Leaderboard.cash.Changed:connect(function()
game.StarterGui.ScreenGui.TextLabel.Text = "Kasa: "..game.ServerScriptService.Leaderboard.cash.Value
end)
wait(timedelay)
end
Screen: