Moving Camera in first person

hey everyone, today I saw my friend has added a cool camera feature to his weapons, Im trying to fingure out what this is so I can try it out. Any ways on how I can do this or what he used?


Hey NinjazBeast!

This effect can be accomplished by tweening the camera, it doesn’t matter if it’s first person.
However, one thing to think about is if you want the player to be able to also control their camera while this animation plays.

local TweenService = game:GetService("TweenService")
local Camera = workspace.CurrentCamera
Camera.CameraType = Enum.CameraType.Scriptable -- Note that the player won't be able to move their camera while this is going on.

local Tween = TweenService:Create(Camera,, {CFrame = Camera.CFrame * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0))})

Camera.CameraType = Enum.CameraType.Custom -- Allows the player to move on their own again.
1 Like