So im making a script that when the player joins their camera view will be the same as a part 's view here it is:
local CurrCam = workspace.Camera
local NewCam = workspace.NewCam
CurrCam.CameraType = Enum.CameraType.Scriptable
while true do
CurrCam.CFrame = NewCam.CFrame
end
I wrote this by raw btw

3 comments
make sure to always add Wait() to every loop bcs otherwise it may crash the game and other stuff
What is i do
What is i put wait at the end of the loop