I need to make certain text appear when I press space, I know how to do the basic code like if(Greenfoot.isKeyDown("space")) but I'm not that great, any ideas?
Is the text to be part of the world background or separate?
Will the text be changed or removed at a later time?
'isKeyDown' will register the key being down multiple times during one stroke of the key. You will either need to track the state of the key or use 'getKey', which only registers once (when the key is released), instead.
If it is separate, you should create an actor class to display the text. Create an instance of that class with the text required when the space keystroke is detected.