It looks like the function to Cast to your gamemode then set the gamemodevar is ok. It may not matter but have you set your map to use your gamemode?
I don’t see why the rest wouldn’t work if you fire the function instead of the destroy.
Add a print string to the Cast Failed output in the Cast To node. See if you get a failed message.