If a person uses a knife or uses a sword, it takes out some energy. so if you use a knife, it takes 5 energy but if your energy is 4, 3,2,1 or 0, it wont let you use the knife. and tell me where to put the script.
COMMUNITY QUESTION
How do you make an Energy Bar GUI?
3 answers
You should be able to put the actual script anywhere as long as its in workspace. Does it include anything in the script that would involve a "Parent?"
Put this where the bug is.
--Something something something
Energy = Energy -1
--Something something something
The energy will be -1 or -2 or -3 or -4 or -5. I think it's best to do it with a health bar. You can put the script... Anywhere... It doesn't matter. Unless the script is using...
example:clone().Parent = script.Parent
___________
See the script.Parent? I don't see anything wrong. Well because you didn't post the script so... I wouldn't know.
1 comment
0
Where do I put in something something something?
PM me I dont have time to put up solutions here...
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I don't think so