How to make a auto zoom in and out script?

so i want a script that auto zooms out then zooms back in to orginal ,

2 Likes

i dont want this thing for gun aiming , i want this for timestop ability so i can zoom out to make the player see all the effects then zoom in back when the time stop gets completed

1 Like

you’re basically asking someone to make this script from scratch, thats not allowed

2 Likes

you can use a LocalScript that adjusts the camera’s FieldOfView and CameraType to create a dramatic effect. You can also use the CFrame if you want the camera to have precise movement during the time stop.

1 Like

I found the answer to my solution with max and min zoom

local bbc=ts:Create(game.Players.LocalPlayer,TweenInfo.new(2,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0),{CameraMinZoomDistance=200,CameraMaxZoomDistance=200})
   bbc:Play()
   bbc.Completed:Connect(function()
     local bbc=ts:Create(game.Players.LocalPlayer,TweenInfo.new(1.1,Enum.EasingStyle.Elastic,Enum.EasingDirection.In,0,false,0),{CameraMinZoomDistance=20,CameraMaxZoomDistance=20})
     bbc:Play()
     bbc.Completed:Wait()
     game.Players.LocalPlayer.CameraMaxZoomDistance,game.Players.LocalPlayer.CameraMinZoomDistance=25,.5
   end)
3 Likes

Already made it big bro and wanted guidance not a historical book .

it was difficult to tell do to the lack of information you provided. For future reference please give some more information of what you have accomplished, and some more information on the problem, this way it is less likely for others to assume that you are an amateur developer.

1 Like

I recorded a video to show aj example of what i want but it doesn’t let me upload it , when it reaches 100% it says failed to upload .also yes , i am a dev with very less knowledgeable ,

1 Like

Also do u know how to make the atmosphere’s color get red , purple , yellow , red and reverts back to original? I have seen this thing in some time stop model showcase .

1 Like

There are two methods you could use to achieve this effect:

  1. you could change the skybox to a red, blue, yellow, purple, etc.

  2. you could use the ColorCorrection effect and change the color values with that, this method will probably work better.

1 Like

I mean this

then the ColorCorrection effect is what you want

1 Like

So if i do your steps will i achieve the color effect in the video ?

1 Like

Ok , color correction? Should i add an extra color correction or the one i used to make the black and white atmosphere?

1 Like

The same one works, making multiple instances will make your game lag more, so it is more efficient to use the already existing effect

2 Likes

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