Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I change the hitbox of a player?

I have a gun that I want to use for my game that I am making. I also have created armor for players to use. The only issue is that when the player puts on the armor, they can not be shot. This is because the armor is created of parts that block the bullet. I think that the solution is to enlarge the hitbox of the player when they have the armor on, but I do not know how to do this. Any help?

1 comment

0

Don't enlarge the hitbox. Just do a check whenever the gun bullet hits something and check if the thing it hit has an object named "Armour" or something

1 answer

Put the armor in the Player's Character and then use Humanoid.Touched to find when any part of the Character is touched, including the armor.

This discussion is preserved as it was. New answers, comments, and votes are closed.