With this game, all you need to do is simple. Just move the bear with the arrow keys, and don't let it touch the Man with the Spear!
thanks to infinitynoob4048 for giving me the script to make everything work how it does. galaxyskin543 gets credit too for giving me the main idea.