I needed help with scripting a flag for CTF. The concept is basically, if the other team conquers the flag // stands on it for about 7 seconds, the flag changes to their team color, but only if all enemy team opponents aren't on the flag, and if the other team holds the flag with none of the other team around, it's theirs, and they gain points from it on the leaderboard for their team. If you know how to do this, it would be great showing me how.
Thank you!

5 comments
Please link me some resources of how to do this. It says "Just let me know and I 'can't' link you stuff" As I'm assuming that was a mistake. What I'm trying to do is however long a team member is in the radius of the 'capture' (without enemy team there.) And if they stay there for a few seconds the colour of the area changes to that team color (aka flag colour.) If you could let me know how to do-
-This it would be greatly appreciated. Thank you once again!
https://developer.roblox.com/articles/Magnitude
https://developer.roblox.com/api-reference/property/Player/TeamColor
Thanks, it's a bit confusing but I'll try to manage, cheers mate!