gun_cd
Lets you set the cooldown from a gun tool to a specified value
modules.gun_cd(tool: Tool, value: number)
Example
local gun = modules.get_gun()
if not gun then return end
-- the function returns the original cooldown before it was changed, the value will always be the same and will not change
local original_cooldown = modules.gun_cd(gun, 0) -- 0 cooldown
Last updated