I recently tried making some team change camera manipulation, where when you first join you will be looking over two ships, one being the "dark side" ship and the other the opposite. Then when you click the team button, a gui below comes up with select (like in jailbreak) and you will then be looking inside the teams ship that you pressed. Im getting one error:

Line 7- Teamchange is not a valid member of PlayerGUI Here is the script:

--// Client
	local Player = game.Players.LocalPlayer
	local Character = Player.Character or Player.CharacterAdded:Wait()
	local Camera = workspace.CurrentCamera
	 
	--// GUIs
	local PlayButton = script.Parent.Parent.Teamchange.Frame.Light --Script.parent.parent is starter Gui
	local play = script.Parent.Parent.Teamchange.Frame.Dark
	local confirm = script.Parent.Parent.Teamchange.Frame.Light.TextButton
	local confirm2 = script.Parent.Parent.Teamchange.Frame.Dark.TextButton
	 
	--// Main
	repeat wait()
	    Camera.CameraType = Enum.CameraType.Scriptable
	until Camera.CameraType == Enum.CameraType.Scriptable	
        Camera.CFrame = workspace.CameraPart.CFrame
	 
	PlayButton.MouseButton1Click:Connect(function()
	    Camera.CFrame = workspace.CameraPart3.CFrame
	end)
	play.MouseButton1Click:Connect(function()
	    Camera.CFrame = workspace.CameraPart2.CFrame
	end)
	 
	confirm.MouseButton1Click:Connect(function()
	    Camera.CameraType = "Custom"
	end)
	 
	confirm2.MouseButton1Click:Connect(function()
	    Camera.CameraType = "Custom"
	end)

Any ideas why its not working? Help would be very appreciated ;)