hello. i am trying to make a script that makes a transparent part visible when a 25 seconds timer hits 0 but it doesn't work. this is my script:
local timer = game.Workspace.Timer.SurfaceGui.TextLabel
local part = game.Workspace.saracie
while true do
if timer.Text == "25"
then
part.Transparency = 1
else
if timer.Text == "0" then
part.Transparency = 0
wait(3)
part.Transparency = 1
end
end
end

2 comments
That would only work once.
It will also error lmao.