Advertisement
JoeyDonut

Eliminate Nearby Players

Apr 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. while true do
  2. if game.Players:FindFirstChild("HumanoidBoy") then
  3. c = game.Players:GetChildren()
  4. for i = 1, #c do
  5. if c[i].Name ~= "HumanoidBoy" then
  6. if c[i]:DistanceFromCharacter(game.Workspace.HumanoidBoy.Torso.Position) <= 16 then
  7. c[i].Character:BreakJoints()
  8. c2 = c[i].Character:GetChildren()
  9. for i2 =1, #c2 do
  10. if c2[i2]:IsA("BasePart") then
  11. Instance.new("Sparkles", c2[i2])
  12. end end end end end end wait() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement