Helgodxdd

Untitled

Apr 7th, 2021 (edited)
2,855
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. local runService = game:GetService("RunService")
  2. local Stepped
  3. Stepped =
  4. runService.Stepped:Connect(
  5. function()
  6. for i, v in next, game:GetService("Players"):GetPlayers() do
  7. if v ~= game.Players.LocalPlayer then
  8. if _G.Hitboxesenable == true then
  9. if _G.TargetHitbox == true then
  10. if v.Name == _G.GetTarget().Name then
  11. pcall(
  12. function()
  13. v.Character.HumanoidRootPart.Size = _G.RegularSize()
  14. v.Character.HumanoidRootPart.Transparency = _G.HitboxesTransparency
  15. v.Character.HumanoidRootPart.Color = _G.HitboxesColor
  16. v.Character.HumanoidRootPart.Material = _G.HitboxesMaterial
  17. end
  18. )
  19. else
  20. pcall(
  21. function()
  22. v.Character.HumanoidRootPart.Size = Vector3.new(2, 2, 1)
  23. v.Character.HumanoidRootPart.Transparency = 1
  24. end
  25. )
  26. end
  27. else
  28. pcall(
  29. function()
  30. v.Character.HumanoidRootPart.Size = _G.RegularSize()
  31. v.Character.HumanoidRootPart.Transparency = _G.HitboxesTransparency
  32. v.Character.HumanoidRootPart.Color = _G.HitboxesColor
  33. v.Character.HumanoidRootPart.Material = _G.HitboxesMaterial
  34. end
  35. )
  36. end
  37. else
  38. pcall(
  39. function()
  40. v.Character.HumanoidRootPart.Size = Vector3.new(2, 2, 1)
  41. v.Character.HumanoidRootPart.Transparency = 1
  42. end
  43. )
  44. end
  45. end
  46. end
  47. end
  48. )
Add Comment
Please, Sign In to add comment