Advertisement
NightGolden

Untitled

Mar 12th, 2023
17,686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. spawn(function()
  2. while wait(0.1) do
  3. for i, v in next, game:GetService("Players"):GetChildren() do
  4. pcall(function()
  5. if v~= game:GetService("Players").LocalPlayer and not v.Character:FindFirstChildOfClass("ForceField") and v.Character.Humanoid.Health > 0 then
  6. while v.Character:WaitForChild("Humanoid").Health > 0 do
  7. wait();
  8. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame;
  9. for x, c in next, game:GetService("Players"):GetChildren() do
  10. if c ~= game:GetService("Players").LocalPlayer then game.ReplicatedStorage.meleeEvent:FireServer(c) end
  11. end
  12. end
  13. end
  14. end)
  15. wait()
  16. end
  17. end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement