Whoops. That's what I get for quickreading in school.
Player Event Join → Start Process elytracheck
PROCESS elytracheck
Repeat forever {
Control Wait (1t) /Prevent getting stopped by lagslayer while waiting for the player to glide
If Player (Is Gliding) { /Check if the player is gliding...
I believe you can simply have code on Player Event StopFly, since it's not related to creative mode flying but elytra flying.
But you can do StartFly,
then have a Repeat While (IfPlayer IsGliding) {
Control: Wait (1t)
}
...code here you want to run.
So I'm assuming Sun is on instance 2 while you are on instance 1 and you're initiating two different minigames (which are on seperate instances.) I ask, what's the problem?