Question by
Lucien_Luc_PWS · May 28, 2017 at 06:28 PM ·
scripting problemfirefire ratefire1
my fire script doesn't work properly
when i appay this script on my gun my gun fires bullets when i don't press any buttons. please help me because i am trying to find an anser for a week now.
2017-05-28.png
(85.5 kB)
Comment
Answer by nathanlink169 · May 28, 2017 at 07:12 PM
Remove the semi-colon from after your if statement on line 22.
When you have a semi colon, it indicates the end of the statement. So by being the end of the statement, you're not linking the if statement to the Instantiate.
Your answer
