I transferred my team change from an old game into a new one and the team change had camera manipulation. Now the team change still works, but not the camera manipulation. It 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
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

2 comments
is the scripts parents parent the starter gui
Yes the scripts parent parent is the startergui