Problem with math functions

  1. What do you want to achieve? Keep it simple and clear!
    I wanna achieve a properly working functions
  2. What is the issue? Include screenshots / videos if possible!
    For some reason it’s just don’t work, but must.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Added some (), but nothing bruh

Here is part of my code:

if RNGNumber == MaxNumber.Value then
		Xpcoor = (math.random(1,10)/10)
		Ypcoor = (math.random(1,10)/10)
		Points.Value = ((Points.Value + (1 * (PointsMulti.Value * PrestigeMulti.Value)))) -- here is problem, 1 just * PointsMulti.Value. but PointsMulti.Value don't * PrestigeMulti.Value.
		RNGProgress.Text = (0).."/"..MaxNumber.Value
		RNGBarFiller:TweenSize(,0.25,0,62), Enum.EasingDirection.Out,Enum.EasingStyle.Quart,1)
		local GotAPointClone = GotAPoint:Clone()
		GotAPointClone.Parent = PlayableFrame
		GotAPointClone.Position =,0,Ypcoor,0)
		GotAPointClone:TweenPosition(,0,0,0), Enum.EasingDirection.Out,Enum.EasingStyle.Linear,6)

I checked that many times, but always 1 * PointsMulti and not PointsMulti * PrestigeMulti

Okay i found solution to my problem. I just have a infinite points and can’t see how much i get, i have a textlabel which show how much i got. But i forgot to add PrestigeMulti to that textlabel and it was always showing 1 * PointsMulti