How to make the camera move aside when opening the gui

So the question is how to make it so that when you open any button in the Gui, the player’s camera slightly receded back for beauty. Like this:

2 Likes

I believe it increases the Camera’s FOV using a Tween.

2 Likes
-- When you Open the Menu
game:GetService("TweenService"):Create(game.Workspace.CurrentCamera, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), {FieldOfView = 95}):Play()

--When you Close the Menu
game:GetService("TweenService"):Create(game.Workspace.CurrentCamera, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), {FieldOfView = 70}):Play()

Similarly, you could also tween or enable/create a blur effect for the player.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.