I made this script and it works perfect in solo testing but it doesn't work in normal game.
while true do
game.Players.LocalPlayer.leaderstats.Score.Value = game.Players.LocalPlayer.leaderstats.Score.Value + 1
local str = game.Players.LocalPlayer.leaderstats.Score.Value
local str1 = "Your income: "
game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextButton.Text = str1..str
wait(1)
end

2 comments
This doesn't seem to be working.
What is not working about it? Have you looked at the Output? What does it say? You even have something called "leaderstats" under the Player?