Again SpriteKit! Pass a variable from one scene to another is very simple to register a few lines of code is enough:
The first Scene1

internal var score: NSInteger = 0

The second Scene2 (from her variable is passed)

let endScene = Scene1 ()
endScene.score = self.score
view? .presentScene (endScene)