How would I make a tool that when you click on a player or NPC, it executes a function?

Does anyone know how to do this? Any help would be appreciated.

You can use the the Mouse from UserInputService to figure out what the tool is clicking on, decide if its an NPC, and run that function. Mouse | Roblox Creator Documentation

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.