Enabling / Disabling Movement Player Script?

Hello guys, i want to ask u about how to enabling / disabling script when it touches something… i’ve seen so many example about how to enabling/disabling script but i didn’t seen one that suits my need…
This is the illustration…
36543-askun.jpg

Thank you, and sorry for my bad english…

You don’t need to disable the scripts you just need a bool within the script to say if that player can move. e.g.
public lbool CanIMove;

then when player1 reaches the flag Set the bool to false and reference the script to set player2 and player3 bool true.

sorry if it’s a bit vague but I don’t know what your scripts look like.