Alright, so...
I have this problem where the shooting system in my fps is not working. So here is what I have
I do have something that stops shooting when input ended
local UIS = game:GetService("UserInputService")
UIS.InputBegan:connect(function(inputObject) -- on input
if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then -- MB1
delay(0,function() -- To stop lag in the framework
if Automatic == true then
shoot()
wait(0.5)
shoot()
else
Shooting = true
Shooting = false
end
end)
end
end)
and yes before you say it: it should shoot wait 0.5 and shoot again yes. But here's the problem it shoots as fast as the wait() what can I do to fix this.

1 comment
connect is deprecated so use Connect