local countdown = script.Parent.Parent.countdown
local seconds = 5
for x = seconds, 1, -1 do
countdown.Text = "Please wait "..x.." seconds"
wait(1)
if countdown.Text == "Please wait 2 seconds" then
countdown.Text = "Please wait 1 second"
wait(1)
countdown.Text = "Please click the button above to continue"
break
end
end
while wait(15) do
if countdown.Text == "Please click the button above to continue" then
for i = .6, 0, -.05 do
local button = script.Parent.Parent.agreeButton.TextButton_Roundify_15px.ImageTransparency
button = i
if button == 0 then
break
end
end
end
end
Title says it all, don’t know what I’ve messed up. Top part of the screen works just fine, the bottom one is the thing that doesn’t work.