GameCenter: Type: Assignment Actions: On Assignment: - trigger name:proximity toggle:true radius:20 On Enter Proximity: - run script:GameCenterAction GameCenterAction: Type: Task Script: - foreach { - run script:GiveClassItems as:%value% delay:60s } GiveClassItems: Type: Task Script: - if == 1 { - give } else if yer.flag[klasa]> == 2 { } else if yer.flag[klasa]> == 3 { } else if yer.flag[klasa]> == 4 { } else if yer.flag[klasa]> == 5 { }