1. local plr = game:GetService("Players").LocalPlayer
  2. while wait(1) do
  3. if plr.leaderstats.Wins.Value == plr.requiredwins.value then
  4. game:GetService("ReplicatedStorage"):WaitForChild("RebirthEvent"):FireServer()
  5. print("Rebirthed!")
  6. else
  7. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(194584.453, 122862.148, 326.917)
  8. end
  9. end