Advertisement
ProScripter29

Pirate Wars Fire All Cannons

Jun 9th, 2024 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2.  
  3. local Character = Player.Character
  4.  
  5. local Humanoid = Character:WaitForChild("Humanoid")
  6.  
  7. if not (Humanoid.SeatPart == nil) then
  8. while true do
  9. repeat
  10. for i, Detector in pairs(Humanoid.SeatPart.Parent:GetDescendants()) do
  11. if Detector:IsA("ClickDetector") then
  12. fireclickdetector(Detector)
  13. task.wait(0.025)
  14. end
  15. end
  16. task.wait()
  17. until Humanoid.SeatPart == nil
  18. repeat
  19. task.wait()
  20. until not (Humanoid.SeatPart == nil)
  21. task.wait()
  22. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement