Hello, so I want to repeat a task (which I know how to do) then stop the task after X amount of times. I previously made an integer and every time the task repeat, it would plus 1 to the number. Then is would check if the number was equal to 5, for example if would cancel the task. Only trouble with this is if multiple people would activate this task, it would be adding 2 or more to the number at one time, therefore skipping over the 5, so it would just continuously repeat until the server was restarted/reloaded. If anyone has an alternative way of doing this please respond! Thanks in advance.