Hello Scripters!
I am having an issue with my face changer, as you have probably already read in the title. Here is what the script looks like when it is using a Touched function and works completely fine:
Here is what the script looks like when I try to use the MouseClick function, which does not work:
If anyone knows why this could be happening, please let me know down below. Thank you in advance!
1 Like
Ah
So the MouseClick & Touched Events actually return back 2 different Instances here, the MouseClick Event actually returns back the Player Instance, so you would you have to reference the Player’s Character as local Character = Player.Character instead
The Touched Event does return back the HitPart (Which is a BasePart), which you can reference the Player’s Character with Hit.Parent
2 Likes
Thank you so much!
I took your advice, changed the script, and now it works perfectly fine!
Here is what the script looks like now:
1 Like