|
| 22 Apr 2016 07:03 PM |
How to tell if the mouse clicked, I dont care where it clicked or anything, just if it clicked,
with User Input Service |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 07:36 PM |
Enum.UserInputType.MouseButton1 or something like that forgot
http://t7.rbxcdn.com/5be0c122f58c05a7094f5abc0fe5ceda |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 07:37 PM |
identify the mouse, then just make it a function Mouse.Button1Down:connect(function()
end)
sweg |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 07:40 PM |
| I said the UIS version.... I know that one already |
|
|
| Report Abuse |
|
|
|
| 22 Apr 2016 07:48 PM |
UIS = game:GetService("UserInputService")
UIS.InputBegan:connect(function(K) local code = K.KeyCode.Name -- if ty is Keyboard, you could check code against letters to get input local ty = K.UserInputType.Name
if ty == "MouseButton1" then -- mouse button 1 down end end) |
|
|
| Report Abuse |
|
|