Hi so i am making a game and i want a gui like the strongest battlegrounds where after doing enough damage the bar is full and when you press a certain key it activates the ability how can i do this
You can use UserInputService to detect when the player presses a key on their keyboard. You can view this to get a start.
The best way to make A “ability” is to use UserInputService and Mouse Pos. What you want to do is make a ray cast from the player’s hand to the mouse position and make a velocity system. You can use fastcast for that. Making a combat game with ranged weapons? FastCast may be the module for you!
1 Like