So i want to check if player are in a task Example: When a player is in a task name "Particles1". He cant join other task
Going off of what I think you mean, I would add an identifier for the player, like the name, and save it in an array when the task is started. Then, you can check that array when starting other tasks.