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

Cannot find the KeyCode for the Left Click Enum?

Asked by
Vlym 19
4 years ago
Edited 4 years ago

What is the KeyCode property for Left Click? I can't seem to find it or its name

ty in advance

1 answer

Log in to vote
1
Answered by 4 years ago
UserInputService.InputBegan:Connect(function(Input)
    if Input.UserInputService == Enum.UserInputType.MouseButton1 then
    -- Here what the script to do
    end
end)

Have Fun!

Ad

Answer this question