Advertisement
pa1nx9

Encounters KILL ALL

Nov 14th, 2021
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. repeat wait() until game.Players.LocalPlayer.Character
  2. local plr = game.Players.LocalPlayer
  3. local schar = plr.Character:FindFirstChildOfClass("Folder")
  4. local remote;
  5. local atype;
  6. if schar.Name == "Construct" then
  7. atype = "Unique"
  8. else
  9. atype = "Ultimate"
  10. end
  11. for i,v in pairs(game.ReplicatedStorage.RemoteEvents:GetChildren()) do
  12. if v.Name:find("%d") then
  13. remote = v
  14. end
  15. end
  16. while wait() do
  17. for i,v in pairs(workspace:GetChildren()) do
  18. pcall(function()
  19. if v:FindFirstChild("HumanoidRootPart") and v ~= plr.Character then
  20. local ohTable1 = {
  21. ["char"] = plr.Character,
  22. ["direction"] = Vector3.new(10,0,10),
  23. ["charName"] = schar.Name,
  24. ["charhit"] = v,
  25. ["attackType"] = atype
  26. }
  27. remote:FireServer(ohTable1)
  28. end
  29. end)
  30. end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement