I'm making an exp bar gui but I don't know how I would get it to work, i have values for Current Exp and Required Exp. I'm unsure how I would do it from here?
Player = game.Players.LocalPlayer MaxXP = Player.RequiredXP CurrentXP = Player.CurrentXP CurrentXP.Changed:connect(function() Gui:TweenSize(UDim2.new(CurrentXP.Value/MaxXP.Value, 0, 1, 0), "Out", "Linear", 0.1, true) end)
I may have gotten the division signs the wrong way round. If it doesn't work, just swap them.