Let's say you wanted to trigger a mousebutton1Down for a tool? How would you trigger it? Like I don't believe it'd be this way:
Tool = script.Parent
Tool.MouseButton1Down:connect(function()
-- Whatever here lol
end)
It just doesn't look right.
Let's say you wanted to trigger a mousebutton1Down for a tool? How would you trigger it? Like I don't believe it'd be this way:
Tool = script.Parent
Tool.MouseButton1Down:connect(function()
-- Whatever here lol
end)
It just doesn't look right.
This might help you,
Tool = script.Parent
function functionname() -- functionname is the name of the function but it could be whatever you want
-- whatever here
end
Tool.MouseButton1Down:connect(functionname)
I could be wrong but i think it is like this!
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
That's just another way to type it. There's not anything different..
Yes i forgot to mention that but it works