Advertisement
StefanBashkir

Untitled

Jun 30th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Stats = game.ReplicatedStorage:WaitForChild(Player.Name)
  3.  
  4. function UpdateEXP()
  5.     script.Parent.Text = "Experience: " .. Stats.Exp.Value .. " out of " .. Stats.MaxExp.Value
  6. end
  7.  
  8. UpdateEXP()
  9.  
  10. Stats.Exp.Changed:connect(UpdateEXP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement