An error that freezes my studio when testing. It worked before but now it has a deprecated yield and i don't know which function it is
local function gi() local int = game:GetService("ReplicatedStorage").int local ni = game:GetService("ReplicatedStorage").nint local bo = game:GetService("ReplicatedStorage").gfd while true do if bo.Value == false then int.Value = int.Value - 10 if int.Value == 0 then bo.Value = true end end end while true do script.Parent.Text = "Intermission = "..int.Value wait(1) if int.Value == 0 then ni.Value = 200 script.Parent.Visible = false for _, player in pairs(game.Players:GetPlayers()) do if player.Character then player.Character:SetPrimaryPartCFrame(CFrame.new(-184, 0.5, 141)) end end end end end game:GetService("ReplicatedStorage").fui.OnClientEvent:Connect(gi)