Humanoid target system

Hello developers,

I was working on my taget system, and i was stuck where i could start.

I just want to make a system that sees what target (everything with a humanoid) your mouse is pointing at.

Does everybody understand what i mean? If not than please just ask!

I don’t know if this will help but try using this

https://developer.roblox.com/en-us/api-reference/property/Mouse/Hit

1 Like

If I got you correctly, Use mouse.target and check if it’s parent has a humanoid, and do whatever u want

1 Like

I am trying this out, and do i make mouse.taget on the client or the server?

CLIENT
image

SERVER


image

It can’t be on the server it’s ONLY accessible on the client, send the target and position other than the mouse itself

So i need to send to the server what the mousetarget is?

Yes, the mouse.Target and mouse.Hit.Position, I saw you used it as well, basically any thing For the mouse send it as a Parameter