Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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

2 answers

Log in to vote
1
Answered by 4 years ago
MouseButton1Click:Connect(function() --Put your tool before MouseButton1Click ie; tool.MouseButton1Click
--your function here

Hope this helps! Good luck!

Ad
Log in to vote
0
Answered by 4 years ago
-- Make a variable for the tool or just index it your self

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

Answer this question