Do I use iskeydown()?

How do I check if the player is holding down a key and when they have let go of it thanks.

You can use the UserInputService and the UserInputService:IsKeyDown() function to check when a certain key is down. You can also use other events that are accessible through the UserInputService, such as UserInputService:InputBegan and UserInputService:InputEnded. The documentation page for the UserInputService (the first hyperlink in this reply) should give you a list of all the functions and events with examples on how to use them.

The InputEnded helped me thanks alot!

1 Like