"This invocation calls a function that has the 'no_rollback' effect, which is not allowed by its context."

Because .GetTags does not have <transacts>, it can’t be used inside of an if statement. You’ll need an if statement for the .Has[Tag], but you should be able to do

        Tags := PlayerSpawnerDevice.GetTags()
        if(Tags.Has[Tag]):
            Print("Has tag")
4 Likes