So my friend made me a simple first person lock script for my game, this is the script: wait(.1) game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.Classic game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
I've tried a couple ways to make it if they hold down say the button "g" it would free there mouse, But I can't get it to work. Anyone know a way how?

1 comment
In the future, it would be good to know what you've tried and what exactly isn't working