I want to add a camera bobble system, and a pov system (see the bottom part of your body).
thing is, both scripts requires the use of offset camera in the humanoid. Is it possible to have both of these scripts in, or is it a lost cause? (I tried adding a second humanoid in the player, didn’t turn out well, only other option is me using the camera in workspace or making a camera in the player)
I tried to do this last time, but I went into the POV script, and removed everything from line 19 and under. I was able to see my head. Do you think it’ll be better to delete my head rather than making it transparent?
What this method ultimately does is it runs in the order you want it to. The camera code runs at a certain time, and this function allows you to run code after the camera code is run, as well as other code before it.
--// Bobble script one
RunService:BindToRenderStep(
"POV",
Enum.RenderPriority.Camera.Value + 1, --> runs after the camera
function()
--> POV code
Camera.CFrame = povCFrame
end
)
--// Bobble script two
RunService:BindToRenderStep(
"Bobble2",
Enum.RenderPriority.Camera.Value + 2, --> runs after the camera and after the POV
function()
--> bobble code
Camera.CFrame = Camera.CFrame + bobbleAmount
end
)