just makes that cam movable... i want the cam to go to the playeres cam when the buttons pressed
-- Assuming the button is a child of the ScreenGui named "Buttons"
local ScreenGui = game.Players.Rhsario.PlayerGui.Buttons
local Button = ScreenGui:WaitForChild("PlayButton") -- Make sure the button exists
local CameraPart = workspace.Cams:WaitForChild("CF") -- Wait until the part is available
local Camera = workspace.CurrentCamera
-- Set the camera's CFrame to the CameraPart's CFrame
Camera.CFrame = CameraPart.CFrame
-- Connect the button click event
Button.MouseButton1Click:Connect(function()
Camera.CameraType = Enum.CameraType.Custom
script:Destroy()
end)