Im working on a small little project right now. And Im trying to achieve a effect like in this clip. Clip
The background is blurred out and darkened, the player has emphasis and the effect isnt affected by this blurring.
What im using to achieve this is viewport frames to render the player on a GUI, and ColorCorrection to blur the background. What im having trouble with is the effect. Im using a ScreenGui for the effect that sets its position to the target part. Only thing im having issue with is the scaling. When I zoom out, it grows. but when i zoom in, it shrinks. How could I make it so it shrinks when i zoom out/move away and grow when I zoom in/move closer? Thanks in advance!
EDIT: Actually, the size of the UI doesnt change at all. But I have no idea how to scale it based off my cameras zoom and the players distance from the target part.
while true do task.wait()
local vectors, onscreen = game.Workspace.Camera:WorldToScreenPoint(workspace.OrbThing.Position)
script.Parent.Position = UDim2.fromOffset(vectors.X,vectors.Y)
end
Yeah I tried using billboard GUI’s the issue is that it would be affected by lighting. And I have no idea if theres a option to disable it. And I cant put the billboard GUI over the screengui.
the size should be {1,0}{1,0}, this size will take up ur entire screen but just lower the values until its good. something like {0.5,0}{0.5,0} would be good for example.