Advertisement
SkidScripts

War Ship Respawn Server Script

Nov 16th, 2022
2,134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local args = {
  2.     [1] = game:GetService("Teams"):FindFirstChild("Royal Navy Police"),
  3.     [2] = "Free"
  4. }
  5.  
  6. game:GetService("ReplicatedStorage").Aero.AeroRemoteServices.TeamsService.ChangeTeam:FireServer(unpack(args))
  7.  
  8. while wait do
  9. wait(0.3)
  10. for i,v in pairs(game.Players:GetChildren()) do
  11.     if v:IsA("Player") and v ~= game.Players.LocalPlayer then
  12. local args = {
  13.     [1] = game:GetService("Players")[v.Name]
  14. }
  15.  
  16. game:GetService("ReplicatedStorage").Aero.AeroRemoteServices.PoliceService.RespawnEvent:FireServer(unpack(args))
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement