EconomicSerg

Sort of ads? (Aim down sights)

Jan 18th, 2021 (edited)
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. -- Aim down sights script
  2. -- Script by EconomicSerg
  3. -- Level: Easy
  4.  
  5. local player = game:GetService("Players").LocalPlayer
  6. local mouse = player:GetMouse()
  7. local cam = game.Workspace.CurrentCamera
  8.  
  9. mouse.Button2Down:Connect(function()
  10.         if cam.FieldOfView == 70 then
  11.             cam.FieldOfView = 35
  12.         else
  13.             cam.FieldOfView = 70
  14.         end
  15. end)
Add Comment
Please, Sign In to add comment