So I need a script so when I press the key "K" it either I Get a max Hp of 200 while it depletes at a rate of 10 per second, OR if that can't happen then Increase Max Hp to 200 and increase the damage it does to others, The second one is what I really wanted but I'm not sure if that's a possible script.
We don't make scripts for you on here, we answer questions about premade scripts. To do this you'd need to user UserInputServer.InputBegan, that event returns a KeyObject, check if that KeyObject.KeyCode is Enum.KeyCode.K, if so fire a remote event. then handle the whole increase health and deplete health on the server side.
Closed as Not Constructive by VAHMPIN, IAmNotTheReal_MePipe, Dovydas1118, Cynical_Innovation, and JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?