How do I make my gametime turn back into the intermission when a block is touched?
this is what i have. Ive tried everything but it just doesnt work all i need it to do is just make the gametime turn into the intermission time when a block is touched if anyone can help i would be very greatful.
heres my script
Brickky is the brick that will be touched to make the gametime turn into intermission time
the script is also in serverscriptservice
This is my script below
for i = 90,0,-1 do if i == 0 then status.Value = 'Time up!' break end wait(1)
function onTouch(hit) if game.Workspace.Brickky == game.Workspace.Brickky.Touched then for i, v in pairs (_G.gameplayers) do if v ~= nil then status.Value = v..'is the winner!' game.Workspace.Brickky.Touched:connect(onTouch) break end end else status.Value = i..'Remaining' end
end
wait(5)
end end