Hey guys! So, I tried looking on this link for a built-in function but I could not find anything (link: [You are not allowed to view external links. Register or Login to see them] ). What line of code would I write to have it so the player has to hold F for 5 seconds before it allows th rest of the script to run? I know how to do it for pressing F once, but I do not know how to write it so that you have to hold F for 5 seconds. Any help with this would be much appreciated!
On a second note, how do I go about making it so that while the player is holding F , a "progress bar" appears that fills up to show you how much longer you have to hold F for?