local StarterGui = game:GetService("StarterGui"):WaitForChild("TimerGui").TimerDisplay
local part = game.Workspace.Walls:FindFirstChild("BorderPart")
local roundLeg = 270
local intermessionLength = 10
local inRound = game.ReplicatedStorage.InRound
local Status = game.ReplicatedStorage.Status
local player = game.Players.LocalPlayer
local lobby = game.Workspace:WaitForChild("Floor")
inRound.Changed:Connect(function()
wait(1)
if inRound.Value == true then
part.Transparency = 1
part.CanCollide = false
part.SurfaceGui.TextLabel.Visible = false
else
part.Transparency = 0.2
part.CanCollide = true
part.SurfaceGui.TextLabel.Visible = true
for _, v in pairs(game.Players:GetChildren()) do
local char = v.Character
char.HumanoidRootPart.CFrame = lobby.CFrame
end
end
end)
local function roundTimer()
while wait() do
for i = intermessionLength, 1, -1 do
inRound.Value = false
wait(1)
Status.Value = "Intermission: ".. i .." seconds left!"
end
for i = roundLeg, 1, -1 do
inRound.Value = true
wait(1)
Status.Value = i
end
end
end
spawn(roundTimer)
i tried all tutorials on yt but it only makes it worse

1 comment
gogle fun