Hi
Today I have to try to script the loading screen when it success loading then I want to wait until player press key on their keyboard?
local UserInputService = game:GetService("UserInputService")
repeat wait() until script.Parent.Frame.MouseButton1Click:Wait() or UserInputService.InputBegan:Wait()
print("End of the loop")
but when I try to use it when I press any key it doesn’t work at all
I am making a reload script and I am trying to make it where the gun doesn’t play the reload sound when someone presses ‘R’ and the gun isn’t equipped. How do I do that?