I am making an indiana jones themed adventure game and am trying to make an extra lives GUI that changes to an int value when the int value changes but for some reason the GUI text is not switching values. I get no error either.
local rtl = script.Parent.RealTimeLives
local el = script.Parent.ExtraLives
local healthbars = script.Parent.HealthBars
local elt = healthbars.ExtraLivesText.Lives.Text
el.Changed:Connect(function()
wait()
elt = "+"..el.Value
end)

1 comment
try wrapping the text you are changing it to with a tostring