Advertisement
WoozyMan

Hitbox Script (changeable)

Jul 9th, 2020
1,172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. --Join my discord https://discord.gg/VWeenxq
  2. game:GetService("RunService").RenderStepped:connect(function()
  3. local players = game.workspace.Characters:GetChildren()
  4.  
  5. for i,v in pairs(players) do
  6. if v.Name ~= game.Players.LocalPlayer.Name then
  7. v.Hitbox.Head.Size = Vector3.new(100, 100, 100) ---where you can change hitbox size
  8. v.Hitbox.Head.Transparency = 0.8 --- remove if you dont want boxes
  9. end
  10. if v.Health.Value == 0 then
  11. v:Destroy()
  12. end
  13. end
  14.  
  15. -- remove below to stay unanchored
  16. local name1 = game.Players.LocalPlayer.Name
  17. local char1 = game.workspace.Characters:FindFirstChild(name1)
  18. char1.Root.Anchored = true
  19. wait(0.1)
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement