I already have an onClick function ending in adding points to a player's leaderboard, but what kind of thing do I have to code for the clicking to only function if the player is holding a particular tool?
✓ ANSWER ACCEPTED
I need help with a Click function help please?
1 answer
✓ Accepted answer
Uhhh u just add a script IN the tool? Code:
script.Parent.Activated:connect(function()
print("clicked")
end)
prints clicked when u click anywhere holding the tool with the script in it
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
thannks babe
Well you can use
np :)