The idea is to have the screen shake from side to side, which it nicely does. Only issue… whenever you move, the camera’s stuck in place whilst your character goes. Any way to have the camera adapt and stick to the character, even when it’s moving?
local dest = cam.CFrame * CFrame.Angles(0, 0, 0.1)
local camTween = tweenService:Create(
cam,
TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, true, 0),
{CFrame = dest}
)
camTween:Play()
camTween.Completed:Wait()
you’re right, i forgot about that… could you maybe try using math.noise and/or constantly setting the camera with :lerp()? this would remove the issue of the tween object overriding the camera’s character following properties