local F={}local u=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local A=TweenInfo.new(1,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut)function F.OPEN(F)if not F then return end;(u:Create(F.Door.Main,A,{CFrame=F.Door.Goal.CFrame})):Play()F.Door.Main.DoorOpenFADEOUT:Play()end function F.CLOSE(F)if not F then return end F.Door.Main.CFrame=F.Door.Home.CFrame end return F
--This module is for any client FX related to the Teleporter A's door

local DoorFX = {}

local tweenService = game:GetService("TweenService")

local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)

function DoorFX.OPEN(door)
	if not door then
		return
	end

	tweenService:Create(door.Door.Main, tweenInfo, { CFrame = door.Door.Goal.CFrame }):Play()

	door.Door.Main.DoorOpenFADEOUT:Play()
end

function DoorFX.CLOSE(door)
	if not door then
		return
	end

	door.Door.Main.CFrame = door.Door.Home.CFrame
end

return DoorFX
