Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local exp = Player.leaderstats.Exp
- local requiredexp = Player.RequiredExp
- exp.Changed:Connect(function(Changed)
- if Changed then
- script.Parent.ExpBar:TweenSize(UDim2.new(exp.Value/requiredexp.Value,0,1,0))
- end
- end)
- while wait() do
- script.Parent.ExpLabel.Text = exp.Value.."/"..requiredexp.Value
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement