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

local DoorFX = {}

local tweenService = game:GetService("TweenService")

local tweenInfo = TweenInfo.new(1.5, 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
