Advertisement
ERROR_CODE

Untitled

Dec 2nd, 2023 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local UserInputService = game:GetService("UserInputService")
  2. UserInputService.InputBegan:Connect(function(input)
  3. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
  4. print("Computer")
  5. else
  6. if input.UserInputType == Enum.UserInputType.Touch then
  7. print("Touch device")
  8. end
  9. end
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement