How do i make my roblox camera be instant

What i mean’t with “Instant” is something like this (Thanks to TheFlamingGamerX)

And instead of it being First person, i want it to be like that every time i zoom,
i aswell tried old roblox cameras i found on toolbox but it added ControlScript which is pretty old and doenst support much stuff that my game does.

All i want is a instant camera snapping that is PlayerModule and not “CameraScript” based

i aswell tried forking the playermodule but the code is rlly hard for me to understand a thing

1 Like

Get the magnitude from the players HumanoidRootPart to the CurrentCamera.CFrame.Position. if its within a certain distance eg < 10 then snap it into first person.

1 Like

?
im using classic camera and it does go smooth i tried changing some values and didnt work

1 Like

You mean you want to be able to see the hands as well, I dont quite understand?

its cause when i go to first person or go outside theres a renderstepped that renders the stuff the player is holding and armors, when going into first person its transparent instantly, and aswell removes the armor and stuff the player is holding, but with the smoothness on, it’ll remove the stuff and the camera didnt even reach first person yet

or basically when going first person with the camera snap on it’ll unrender the stuff before the tween starts

local CharacterParts = { "Right Arm", "Left Arm" } -- Add any other parts you want visible here;
game:GetService("RunService").RenderStepped:Connect(function()
	for _, part in pairs(CharacterParts) do
		if game.Players.LocalPlayer.Character:FindFirstChild(part) then
			local FoundPart = game.Players.LocalPlayer.Character[part]
			FoundPart.Transparency = 0;
		end
	end;
end);

this should fix that.

Screen capture - f7b74f69d16478578a67fd4d80c93fa8 - Gyazo
i need something like this (credits to wizashii)

Then you can use my previous answer, getting the magnitude from the HumanoidRootPart to the CurrentCamera, and snap it from there if its within a certain distance.

im just gonna show a video and hope u understand

[DELETED_VIDEO_BY_OWNER]

you can see the armor dissapearing before it turns transparent, aswell not rendering when i press f5 again

I apologize for misunderstanding, but my answer still stands. Theres no other way to know when to snap or unrender whatever the player has without getting a magnitude.

you HAVE to get a magnitude to know whether you should go or already are in first person to make it unrender.

OBJECTION!!!

if i do instant snap like ur saying, if the camera is like on a wall, when i press F5 it’ll noclip the wall for a second, thats not what i want!

The snap can be any snap you want, you don’t even have to snap to get your desired effect, however you handle the switch from rendering to unrendering the stuff is up to you.

didnt work :sob::sob::sob:

ill just try messing with the values for a while

You can use the previous script example I sent, with a few modifications to unrender them

GOT IT WORKING!!!

so simple… you just had to change the delta (1000 part)


( playerModule > CameraModule AND then line 512 )

i will use this too. Will mark this as a solved! Thanks

1 Like

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