Сontent continues after AD

Script – Survive Wave Z

Thank you for using our website
Your script:

				
					getgenv().settings = {
    teleport = {
        enabled = true,
        players = true -- teleports to dead players to revive them
    }
}

game:GetService("RunService").Heartbeat:Connect(function()
    if getgenv().settings.teleport.enabled then
        if game:GetService("Players").LocalPlayer.Character and game:GetService("Players").LocalPlayer.Character.Humanoid.Health <= 0 then
            if game:GetService("Players").LocalPlayer.Character.Head.RevivePrompt then
                fireproximityprompt(game:GetService("Players").LocalPlayer.Character.Head.RevivePrompt)
            end
        end
        if getgenv().settings.teleport.players then
            for i, v in pairs(game:GetService("Players"):GetPlayers()) do
                if v ~= game:GetService("Players").LocalPlayer and v.Character and v.Character.Humanoid.Health <= 0 and v.Character.Head.RevivePrompt and game:GetService("Players").LocalPlayer.Character and game:GetService("Players").LocalPlayer.Character.Humanoid.Health > 0 then
                    game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
                    fireproximityprompt(v.Character.Head.RevivePrompt)
                end
            end
        end
    end
end)
				
			

if the script does not work, try other scripts on our website