i am using this script:

-- Locals --

local Camera = game.Workspace.CurrentCamera local Player = game.Players.LocalPlayer

-- Main Scripts --

repeat wait() until Player.Character

Camera.CameraType = "Scriptable" Camera.CFrame = game.Workspace.CamPart.CFrame

script.Parent.Enabled = true script.Parent.Background1.Visible = true

to make it so when you join a game it sets your camera to a part. Then Im putting this script: local Camera = game.Workspace.CurrentCamera

local Player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function() script.Parent.Parent.Parent.Enabled = false Camera.CameraType = "Custom" if Player.Character and Player.Character:FindFirstChild("UpperTorso") then Player.Character.UpperTorso.CFrame = CFrame.new(3.873, 58.618, -115.63) end end)

to change the camera and teleport the player. however there is a bug where if you die and re spawn you camera is set to the place where you died. thank you for any help you can provide