I am tweening a brick when E is held down but when I use print to see whats in the output then I see it only print once rather than multiple times because I’m holding down E so if anyone has an idea of what to do because I can only make it detect if its pressed once rather than being held
Correct me if I am wrong, but there is appears to be a function in UserInputService called is key down. You should be able to check whether if key is down, if it is it returns true, if it isn’t, false.
I use that but it still prints the statement once
Try using while UIS:IsKeyDown(key) do?
Worked for me, remember to put a wait.