this script is supposed to bring up the XP value every second. but it doesnt work what is wrong?
player = game.Players.LocalPlayer
tats = player.Stats
xp = tats.XP
function change()
wait(1)
xp.Value = xp.Value + 10
if xp.Value == 100 then
end
end
