I decided to try and find a tutorial on how to add a health bar, I looked through a few but they were pretty bad ones that were made on much older version's of unity so I thought it would be best to not try that as something might not work in the newer version of Unity. So I decided to go through Jimmy Vegas's videos to try and find a health bar and of course I did thankfully. There was a lot of coding for just a health bar, much more then I thought there would be. It took a long time to get the health bar up and running, I was having a few problems with it, with sizing and placement etc. But in the end i got it working