Wanted to make a section of my screen gui have a different colour and it seems it isnt changing.
Image:
I know there is a back and front gui label being referenced within the code. Please ignore it as it does work I just haven’t edited the back labels dimensions and colour.
repeat
task.wait()
until script.Parent.Parent.Enabled == true
local respawnlabel1, respawnlabel2 = script.Parent.Main, script.Parent.Back
local t = 5
repeat
t -= 1
task.wait(1.6)
-- issue
respawnlabel1.Text = 'You will respawn in <mark><font color="rgb(25, 255, 98)">'..t..'</font></mark>'
respawnlabel2.Text = 'You will respawn in <mark><font color="rgb(25, 255, 98)">'..t..'</font></mark>'
-- end of issue
until t == 0
if t == 0 then
respawnlabel1.Text = "You have been respawned!"
respawnlabel2.Text = "You have been respawned!"
task.wait(1)
script.Parent.Parent.Enabled = false
end