uis.InputBegan won't work

Well just copy and paste the code from the local script into a normal script and change the run context to client