Space.setProperty method you set the property “Time” to the string “Final Time”. Remember that the first parameter of the method is the property-name, while the second is the value you are assigning to it. In your code, you’re doing it the other way around.
To make sure that you’re not mistaking variable names for strings, you can also write your “Time” and “Lives” variables in lowercase as “time” and “lives”.
Below is the correct version of your script. Notice how I re-named the variable names to be lowercase, and don’t use the ’ ’ - symbols around the variable.
Click to see solution
In this scene, make sure you assign a value to “lives” and “time” before giving it another value by script.