Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to check mouse click?

Asked by 6 years ago

So I have some question is there a way to check if player click other player?

1 answer

Log in to vote
1
Answered by
Oficcer_F 207 Moderation Voter
6 years ago

I would it is something like this:

checkHumanoid = mouse.Target.Parent:FindFirstChild("Humanoid")


if chekHumanoid then



end

Use the FindFirstChild function to see if the target has a Humanoid.

It would help if you would show us the script.

Ad

Answer this question