Advertisement
Anukun_Lucifer

LevelGuiScript

May 28th, 2022
1,318
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Player = game.Players.LocalPlayer
  2.  
  3. local exp = Player.leaderstats.Exp
  4. local requiredexp = Player.RequiredExp
  5.  
  6. exp.Changed:Connect(function(Changed)
  7.     if Changed then
  8.         script.Parent.ExpBar:TweenSize(UDim2.new(exp.Value/requiredexp.Value,0,1,0))
  9.     end
  10. end)
  11.  
  12. while wait() do
  13.     script.Parent.ExpLabel.Text = exp.Value.."/"..requiredexp.Value
  14. end
  15.  
Advertisement
RAW Paste Data Copied
Advertisement