and it doesn't work.
The script is on a Movie Clip and the variable "coins" appear on the game like "Coins: <coins>". I don't know if it changes something, but just to you guys know. So, whats the problem?
a wild guess, try if(_parent.Coins==0)
since the if is IN a movieclip and the variable is declared ON the main timeline (the _parent of the movieclip).
Also Coins and coins are 2 different variables. make sure you spelled it right.
Okey... I changed not the variable to " Coins ".
I tried what ZippyDee said but it didn't work or I did something wrong.
I uploaded the map so you guys can help me cuz i'm tired of the problem.
Thank you.