I do not know any scripts at all if you could possibly answer me with a script that will toggle the scope by pressing Q
COMMUNITY QUESTION
How do i make a toggleable (Is that even a word?) scope
3 answers
You need to make a local script and put it in the weapon. Connect a function to the keypress event that, if the key is "Q", sets the CurrentCamera.FieldOfView to 20. If the FieldOfView is already 20, though, set it to 70.
The best way is KeyDown.
Like this (This is to just give you a hand)
if key == "q" do
So if you hit the key, Q, it'll make it scope. That is just one part though.
Camera.CameraType = "Scriptable"
script.Parent.KeyDown:connect(function(key)
if key == "Q" do
Camera.FieldOfView = -- Number here.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
i dont mean to be annoying but can you write down the coomplete script?