I deleted this post character limit

I deleted this post character limit

1 Like

instead of doing Input.KeyCode == “F”, Do Input.UserInputType == enum.UserInputType.MouseButton1

Btw a quick google search would’ve sufficed…

3 Likes

Use UserInputType. MouseButton1 is not a KeyCode man. This could have been solved by lookking at object browser.

3 Likes
game:GetService("UserInputService").InputBegan:Connect(function(input, event)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
db = false
2 Likes