ILovePotato

Untitled

Dec 10th, 2024
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. --[[
  2. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. function isSpawned(player)
  5. if workspace:FindFirstChild(player.Name) and player.Character:FindFirstChild("HumanoidRootPart") then
  6. return true
  7. else
  8. return false
  9. end
  10. end
  11.  
  12. while wait() do
  13. for i, v in pairs(game.Players:GetPlayers()) do
  14. if isSpawned(v) and v ~= game.Players.LocalPlayer and not v.Character.Head:FindFirstChild("UnoReverseCard") then
  15. if (v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= 50 then
  16. game:GetService("ReplicatedStorage").b:FireServer(v.Character["Right Arm"])
  17. wait(0.1)
  18. end
  19. end
  20. end
  21. end
Add Comment
Please, Sign In to add comment