my problem is the module i’m using has debounces. and since the data from the module is the same for every script once required, it still counts as a cooldown for the other player if one player uses a skill for example. how do i fix this?
1 Like
require(module)[userid].cooldown = true
1 Like
As the previous reply alluded to you should use unique cool downs for each player.
module.cooldown = true
should become module[player.UserId].cooldown = true
for example.
1 Like
yeah i ended up doing this, that seemed like the way to go. it’s just i couldn’t help but think that there’s a possibility or alternative way of using server modules in a local way.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.