local rooms = game.Workspace:WaitForChild("Rooms")
local camera = game.Workspace:WaitForChild("Rooms"):WaitForChild("Camera1")
local target = game.Workspace:WaitForChild("Rooms"):WaitForChild("Target1")
local cam = game.Workspace.CurrentCamera
local Button = script.Parent
function SendCamera()
wait(10)
cam.CameraSubject = camera
cam.CameraType="Custom"
cam.Focus=CFrame.new(target.Position)
cam.CoordinateFrame= CFrame.new(camera.Position)
end
if cam.Cameratype="Custom" then
cam.Cameratype="Scriptable"
Button.MouseButton1Click:connect(SendCamera)
Tried all possible with this and it wont work
