Userneem
(Userneem)
#1
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!
n4dar
(MrWalkEmDown2Hell)
#2
1 Like
msix29
(msix29)
#4
If I got you correctly, Use mouse.target
and check if it’s parent has a humanoid, and do whatever u want
1 Like
Userneem
(Userneem)
#5
I am trying this out, and do i make mouse.taget on the client or the server?
CLIENT

SERVER
msix29
(msix29)
#6
It can’t be on the server it’s ONLY accessible on the client, send the target and position other than the mouse itself
Userneem
(Userneem)
#7
So i need to send to the server what the mousetarget is?
msix29
(msix29)
#8
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