So im building a game with swords and I don't want spam to happen with swords. Does anyone know how to add a reload function? Also please put a script if you can. Thanks!
0
This isn't a request site, so we cannot provide a free program for you. However, I can point you in the right direction. The approach you're looking for is called a Debounce; a Boolean switch that stalls the progression of a task based on a given condition. You can look up "How to use a debounce in Lua" to learn more. They're a lot simpler than you think!Ziffixture6913— 4y
0
u could have just said "use a debounce" db = false wait(1) db = trueHappyTimIsHim652— 4y
0
There are still missing aspects. a) Will he not actually learn how to dynamically apply them. b) The variable hasn't been conditioned, so no debounce will actually occurZiffixture6913— 4y