Flic

Hitbox Extender

Apr 1st, 2020 (edited)
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.83 KB | None | 0 0
  1. --[[
  2.   This works but can be buggy depending on the game, so if it's buggy just change the HumanoidRootPart.Size lower than (30,30,30)
  3. ]]
  4.  
  5. function getplrsname()
  6. for i,v in pairs(game:GetChildren()) do
  7. if v.ClassName == "Players" then
  8. return v.Name
  9. end
  10. end
  11. end
  12. local players = getplrsname()
  13. local plr = game[players].LocalPlayer
  14. coroutine.resume(coroutine.create(function()
  15. while  wait(1) do
  16. coroutine.resume(coroutine.create(function()
  17. for _,v in pairs(game[players]:GetPlayers()) do
  18. if v.Name ~= plr.Name and v.Character then
  19. if v.Team ~= plr.Team then
  20. v.Character.LowerTorso.CanCollide = false
  21. v.Character.LowerTorso.Material = "Neon"
  22. v.Character.LowerTorso.Size = Vector3.new(30,30,30)
  23. v.Character.LowerTorso.Transparency = 0.9
  24. v.Character.HumanoidRootPart.Size = Vector3.new(30,30,30)
  25. end
  26. end
  27. end
  28. end))
  29. end
  30. end))
Add Comment
Please, Sign In to add comment