How do I make this background blur in this gui:
And I want to position the camera on a scene.
Thanks,
Cats767_99
1 Like
Go to Lighting in the Explorer, click on BlurEffect. The Size
property inside of it control the intensity.
And here is how to position the camera. I put them in functions so it would be easier to use.
local Camera = workspace.CurrentCamera;
local TweenService = game:GetService("TweenService");
local TweenInformation = TweenInfo.new(0,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut);
local CameraCFrame = workspace.PointDirection.CFrame -- Camera CFrame to look
----Places camera at scene
function FocusCameraOnScene()
Camera.CameraType = Enum.CameraType.Scriptable;
local T = TweenService:Create(Camera,TweenInformation,{CFrame = CameraCFrame});
T:Play();
T:Destroy();
end
----Places camera back at the player
function UnfocusCameraOnScene()
Camera.CameraType = Enum.CameraType.Custom;
end
---------------------------------------------- Example of use
wait(.1)
FocusCameraOnScene()
wait(3)
UnfocusCameraOnScene()
2 Likes
I think I know how to position the camera. Iām going to mark this as solved now. Thanks.
2 Likes