I need to know the types of scripts to use when trying to make something happen if a user presses something. What I want to do is make the player fly when he presses F, but without making a tool to do it.
Look in previous questions, the key part has been asked many times, you are privileged enough to have access to the internet,use it before coming here on functions like this Key one, do your research first.
Anyhow, I will give you the Key
script, the rest you will have to figure out yourself, in future show us some scripting attempts or I shouldn't really help you at all. This is not a request site.
In a Local script:
player = game.Players.Localplayer Mouse = player:GetMouse() Mouse.KeyDown:connect(function(key) if key:lower() == "f" then -- If the key is f -- Do as you wish end end)