I don’t know how to make a wait timer can anyone help me?
Cooldown timers, gun bullet intervals, shot spacing, rate of fire:
GunHeat (gunheat) spawning shooting rate of fire:
I use my CallAfterDelay class for delayed action.
See usage notes at bottom below gist code.
You may also be interested in a beginner intro to coroutines:
(no affiliation).