Grab Player tool

So ive been programming for a while now and I want to make a grab tool. I know how to use welds and stuff but how would I get the humanoid of the player who touched the raycast for the tool. So I have an animation to when I activate the tool and it activates the hitbox of the tool. I use:

but how can I get the players humanoid? and weld my humanoid to the other players?

SetNetworkOwnerShip() or something would be helpful for you i guess or you could just weld the grabbed players hrp to you hrp

could you explain SetNetworkOwnerShip() does? I dont know much about some things

well funny thing i get confused with setnetworkownership too you might wanna check the devhub to understand more so in my way to explain i would say its a function to make a part physics based on another part instead of the physics based alone

1 Like