that looks very good i think its more efficient and takes less memory but
you are checking for HumRootPart There are more parts to check for like Legs/Arms/Head
if alot of things are touching the player it may fire the event alot
but yeah i think that is good
amnot sure of that you can wait until someone else respond
Usually the HRP is also touched, but yeah I’ll make sure to use a for loop on all the character’s baseparts. It would still be more effective in the long run though probably.
It depends on the game aswell, maybe some games will only have a few baseparts that need to be touched.
But obbies should probably use this sort of code all the time.
yeah am making an obby and i think i will use that method but i will wait for someone to respond amnot sure if it has any cons because i havnot seen anyone using it in a game before