Im just curious as to the function of a player right clicking.
COMMUNITY QUESTION
How do I detect player right clicking?
1 answer
script.Parent.Equipped:connect(function(mouse)
mouse.Button2Down:connect(function()
print("Detected!")
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
https://developer.roblox.com/api-reference/event/UserInputService/InputBegan < check that the UserInputType is MouseButton2