There's a problem with my Score gui

I followed the process used in the war battles tutorial but whenever i run the game it doesn’t add to the score please what could the problem be?

Does the log show any errors? Have you added the gui script to the score gui?

no it doesn’t

Ok, so let’s start by doing some sanity checks:

  1. Please verify that you have added the gui script to the gui. Was it added?
  2. Please add print("hello", message_id) to the top of the on_message() function in the gui script. Do you see any print in the console?
  3. Please add a print("foobar") before the line that does the msg.post() call. Can you see “foobar” in the console?
1 Like

thanks

1 Like

Did you try it yet? Did you figure out what was wrong?

1 Like