G_AddGametype({ name = "Hangout", identifier = "hangout", typeoflevel = TOL_COOP, rules = GTR_SPECTATORS|GTR_FRIENDLY|GTR_NOSPECTATORSPAWN|GTR_NOTITLECARD, rankingtype = GT_NONE, intermissiontype = int_COOP, defaultpointlimit = 0, defaulttimelimit = 4, description = 'No need to worry about reaching to goal or enemies just chill and hangout with friends WARNING: Not all boss acts will work such as metal sonic race.' }) local function AllEmeralds() if gametype == GT_HANGOUT then emeralds = $ | EMERALD1|EMERALD2|EMERALD3|EMERALD4|EMERALD5|EMERALD6|EMERALD7 end end addHook("PlayerThink", AllEmeralds)