Is it possible to do a "local" touch function?

Yes it is possible if you put the local script in the player, but script functions are better to use.

4 Likes