Advertisement
UndyingSouls9423Disc

GuardHitBox

Jan 25th, 2020
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. -- Guards
  2. _G.HeadSize = 10
  3. _G.Disabled = true
  4. _G.Reset = true
  5.  
  6. game:GetService('RunService').RenderStepped:connect(function()
  7. if _G.Disabled then
  8. for i,v in pairs(game.Teams["Guards"]:GetPlayers()) do
  9. if v.Name ~= game:GetService('Players').LocalPlayer.Name then
  10. pcall(function()
  11. v.Character.HumanoidRootPart.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
  12. v.Character.HumanoidRootPart.Transparency = 0.7
  13. v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really blue")
  14. v.Character.HumanoidRootPart.Material = "Neon"
  15. v.Character.HumanoidRootPart.CanCollide = false
  16. end)
  17. if _G.Reset then
  18. if v.Character.Humanoid.Health == 0 then
  19. v.Character.HumanoidRootPart.Size = Vector3.new(1,1,1)
  20. end
  21. end
  22. end
  23. end
  24. end
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement