I created GLOBAL variable called Score with initial value 0.
OBJECT - on collision with OBJECT2 > OBJECT2 destroy
> System - Add 1 to Score
> ScoreText - Set text to Score
and the same on the second Event sheet + Layout 2.
When I destroy the OBJECT2 and then move to Layout 2, the score bar starts again with value 0. I want it to start with the previous value from Layout 1.
What is interesting --> when I finished with score 20 and in the next Layout I kill monster for another 20 points it shows 40 but initial value (on start layout) is 0 and no 20 from previous layout
Where is problem?