Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I do something like make an item do something when I click?

I'm making a simulator and I want it to add a point.

2 answers

MouseButton1Click:Connect(function() --Put your tool before MouseButton1Click ie; tool.MouseButton1Click
--your function here

Hope this helps! Good luck!

-- Make a variable for the tool or just index it your self

Tool.MouseButton1Click:Connect(function() 
       print("Clicked")
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.