- Home /
Need help with health script
I'm wondering if i can get help to create 2 scripts. One that should be attached to the player, giving him health point system. The second one to the enemy that drags hp from player when he collides with him. I also wonder if you can be nice and help me create a health bar.
Answer by Dreamer · May 12, 2011 at 07:50 AM
Please don't ask for scripts in UnityAnswers. You will never learn anything without studying and explore yourself.
And I believe this type of questions has been asked a lot of times, you should use learn to use "Search".
http://answers.unity3d.com/questions/34355/working-health-script
Answer by Steve Edwards · May 12, 2011 at 06:50 AM
There's a pretty good tutorial here http://www.youtube.com/watch?v=YYqzz1dy3Ak , and generally searching 'Unity3D health bar' on YouTube finds lots.
Thanks for the video, however i forget to tell that i really prefer Java Script. I also tried to search on Youtube for "Unity3d health bar" and "Unity3D Health system" haven't found anything yet thought :/
Your answer
![](https://koobas.hobune.stream/wayback/20220613133626im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Health Bar to Render On Top 2 Answers
Healthbar Energy Bar and MiniMaps? 0 Answers
need help with GUI healthbar 1 Answer
How do i add a healthbar/actionbar gui 4 Answers
Expecting ) found = 1 Answer