Advertisement
SSCRIPTZ_LUCAZ

STRUCID HITBOX SCRIPT OP ASF

Jun 4th, 2022
4,239
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 1 0
  1. -- if your reading this ur a stinky butthole
  2. -- loop
  3. game:GetService("RunService").Stepped:Connect(function()
  4. -- gets all players in the server
  5. for _, player in next, game:GetService("Players"):GetPlayers() do
  6. -- checks if the player found was not the local player, so the local player doesnt get his hitbox extended
  7. if player ~= game:GetService("Players").LocalPlayer then
  8. -- finds humanoid root part, then changes transparecy and can collide so you can walk through the hitbox and it wont be wonky
  9. if player.Character:FindFirstChild("HumanoidRootPart") then
  10. player.Character["HumanoidRootPart"].CanCollide = false
  11. player.Character["HumanoidRootPart"].Transparency = 0.5
  12. end
  13.  
  14. -- changes the humanoidrootpart size (basically the main code)
  15. if player.Character["HumanoidRootPart"].Size ~= Vector3.new(20, 20, 20) then
  16. player.Character["HumanoidRootPart"].Size = Vector3.new(20, 20, 20)
  17. end
  18. end
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement