Why does my Xp bar not scale?

My XP bar for some reason doesn’t scale. It was working until recently and I don’t know why it glitched. (No errors in Output either.)

script.Parent.XP.Bar.Size = UDim2.new((Player:WaitForChild("Level").XP.Value / Player.Level.Value * 100), 0, 1, 0)

	script.Parent.XP.Bar.Size = UDim2.new((Player.Level.XP.Value / Player.Level.Value * 100), 0, 1, 0)

Screen Shot 2022-10-09 at 6.16.20 PM
(Level’s Value is 15 & XP is 500)

Is the XP bar the yellow bar or pink bar? Also could you elaborate on what you mean by it’s not scaling? Does the bar not increase every time your XP increases?

I already fixed the issue, it was because my mathematical formula wasn’t following BEDMAS.