Hello, i have a problem:
As you can see, if i move my mouse gun stops firing. Same thing happens on mobile, when i move my finger the gun stops firing.
I know why this happens, i think. It’s because of my script:
ContexAction:BindAction("Shot",function(name,state,obj)
if state == Enum.UserInputState.Begin then -- starts when my mouse button down
fire()
else -- stops when my mouse button up or i moving the mouse
stopfire()
end
end,true,Enum.UserInputType.MouseButton1)
I need change this method to fix this, any ideas?