Change the player's gravity when pressing a key
Here is what I need. I am super bad with programming and I really want to make a game where you press the F key and the gravity changes (you float up) but I don't know how to do it! If you know anything from the asset store or a script, please post the full script in the comments, and tell me where to attach it! Thanks :D
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612095052im_/https://answers.unity.com/themes/thub/images/avi.jpg)