Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

mousebutton1 detection viewmodel gun trying to make raycast gun?

Fast question i can't find anywhere how can i detect if player clicked the mousebutton1 in viewmodel "local script" GoodNight now.

1 answer

Tool.Equppied:connect(function(mouse) mouse.Button1Down:connect(function() -- script here end) end)

1 comment

0

:| i said viewmodel not "Tool" what i meant by saying viewmodel its gun model welded to camera :| https://imgur.com/a/zRLQKSV

This discussion is preserved as it was. New answers, comments, and votes are closed.