Yep, as the title says, thats my problem, I created script which worked until now. No idea how to fix it, I tried to check it with the script analysis thingy you can enable in view tab but no luck, here is the script.
local Timer = game.Players.LocalPlayer.PlayerGui.TimerGui.Timer -- Countdown location (Message, TextLabel, Button) DONT PUT .Text here!
local Messages = game.Players.LocalPlayer.PlayerGui.Msg.Msgs -- Messages location (Map hidden etc.)
value = 181 -- Lenght of one round (Number must be +1 (If you want 20 second long round, put there 21))
defaultValue = value -- Dont touch this
inter = 16 -- Lenght of intermission (Number must be +1 (If you want 15 second intermission, put there 16))
defaultInter = inter -- Dont touch this
loadTime = 4 -- Lenght of time to load map (Number must be +1 (If you want 3 second long load time, put here 4))
defaultLoad = loadTime -- Dont touch this
---- DO NOT EDIT ZONE (Feel free to edit it if you have some scripting skills) ----
while true do
repeat
wait(1)
loadTime = loadTime -1
Timer.Text = loadTime
until loadTime == 0
loadTime = defaultLoad
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 40, 0)
game.Lighting.Happy_Home.Parent = game.Workspace
repeat
wait(1)
value = value -1
Timer.Text = value
until value == 0
value = defaultValue
game.Workspace.Happy_Home.Parent = game.Lighting
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0.59, 13.218, -203.3)
Messages.Text = "Map happy home hidden!"
wait(1)
Messages.Text = " "
wait(0.5)
repeat
wait(1)
inter = inter -1
Timer.Text = inter
until inter == 0
inter = defaultInter
repeat
wait(1)
loadTime = loadTime -1
Timer.Text = loadTime
until loadTime == 0
loadTime = defaultLoad
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 40, 0)
game.Lighting.Forest.Parent = game.Workspace
repeat
wait(1)
value = value -1
Timer.Text = value
until value == 0
value = defaultValue
game.Workspace.Forest.Parent = game.Lighting
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0.59, 13.218, -203.3)
Messages.Text = "Map happy home hidden!"
wait(1)
Messages.Text = " "
wait(0.5)
repeat
wait(1)
inter = inter -1
Timer.Text = inter
until inter == 0
inter = defaultInter
end
-------- ITZBLAZIK --------
