Pop up gui not showing correct value

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    well its meant to be 32, but when it shows it shows the value of 8, i’m just trying to achive the value showing as 32
  2. What is the issue? Include screenshots / videos if possible!
script.Parent.Activated:Connect(function()
	local Str = player.Strength
	local zoneMulti = player.ZoneMulti
	local multi = player.Multi.Value
	local classMult = getClassMult:InvokeServer()
	local popUp = game.ReplicatedStorage.PopUps.StrengthPopUp:Clone()
	
	local x = Random.new():NextNumber(0.1, 0.8)
	local y = Random.new():NextNumber(0.1, 0.7)
	popUp.Frame.Position = UDim2.new(x, 0, y, 0)
	popUp.Parent = player.PlayerGui
	popUp.Frame.Amount.Text = "+"..zoneMulti.Value*classMult*multi
	Debris:AddItem(popUp, 1)
	-------------------------------
	-----Giving Stat-------
	-------------------------------
	if cooldown == false then
		cooldown = true
		addStat:FireServer("Strength", zoneMulti.Value*classMult*multi, "+")
		script.Parent.Enabled = false
		wait(1.5)
		script.Parent.Enabled = true
		cooldown = false
	end
	
end)

so the value shows but now the real value
3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
i haven’t seen any solutions that can resolve the problem on the hub

2 Likes

The only thing I can really think of that could possibly cause this, is the * symbol in the addStat:FireServer("Strength", zoneMulti.Value*classMult*multi, "+")

Probably not the reason, so if it isn’t sorry.

1 Like

yeah thats what i was looking at, as its missing a value

1 Like

still seams to want to output the wrong value

1 Like

is there anyway to add it to the script?

1 Like