Alright so im trying to make a script where, if a tool is equipped and i click. then something happens. but i don’t know how to detect if a player clicked. how would i do it?
1 Like
tool.Activated:Connect(functionName)
2 Likes
Hi!
You use this from base in a localscript, inside your tool:
local tool = script.Parent
tool.Activated:Connect(function()
print("test")
end)
I hope this help you.
Thanks, rafa0874
1 Like
thanks! it worked. (really happy)
1 Like
this also worked but the other guy was first or sum. idk im not gonna make yall fight for a “solution” thingy. it worked anyway, so thank you!
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.