script.Parent.Parent.SpectateButton.Spectate.MouseButton1Down:connect(function(Q)if script.Parent.GuiActive.Value==false then script.Parent.GuiActive.Value=true script.Parent.Parent.ChangePlayer.Visible=true elseif script.Parent.GuiActive.Value==true then resetGui()end end)
--// initialize opening/closing spectate //--
script.Parent.Parent.SpectateButton.Spectate.MouseButton1Down:connect(function(click)
	if script.Parent.GuiActive.Value == false then
		script.Parent.GuiActive.Value = true
		script.Parent.Parent.ChangePlayer.Visible = true
	elseif script.Parent.GuiActive.Value == true then
		resetGui()
	end
end)
