Ok so I made a gun, semi auto works perfectly. I went into trying to make a full auto gun, it works except it doesn’t stop shooting. I am using Mouse.Button1Down I did ~~~~~~~~~~~~~~~~~while Mouse.Button1Down do
shoot()
wait(.2)
end~~~~~~~~~~~~~~~~~
Can anyone tell me how to make it so it only shoots when the left button is down and it stops shooting when I stop holding down the button?
Thanks

1 comment
or, y'know. UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)