Hey! I wrote a script that has worked hundreds of times before but now it doesn't all of a sudden, the main goal is to change the text every second. This may just be a bug on Roblox's end but I wanted to check here in case I am missing something. The code:
local labeltext = script.Parent.Text
game.ChildAdded:Connect(function(plr)
print(script.Parent.Name)
labeltext = "Lava rising in: 10"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 9"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 8"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 7"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 6"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 5"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 4"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 3"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 2"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising in: 1"
wait(1)
print(script.Parent.Text)
labeltext = "Lava rising!"
print(script.Parent.Text)
end)
Here is what happens:
Thanks in advance!
