Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Stats = game.ReplicatedStorage:WaitForChild(Player.Name)
- function UpdateEXP()
- script.Parent.Text = "Experience: " .. Stats.Exp.Value .. " out of " .. Stats.MaxExp.Value
- end
- UpdateEXP()
- Stats.Exp.Changed:connect(UpdateEXP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement