So, this skript works perfectly fine but I couldn't figure out how to make it so this skript does not teleport people in gamemode spectator... If anyone was to help that would be nice
https://pastebin.com/0vju6QED
https://pastebin.com/0vju6QED