local G={}local w=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local E=TweenInfo.new(2,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut)function G.OPEN(G)if not G then return end;(w:Create(G.Door.Main,E,{CFrame=G.Door.Goal.CFrame})):Play()G.Door.Main.DoorOpenFADEOUT:Play()end function G.CLOSE(G)if not G then return end G.Door.Main.CFrame=G.Door.Home.CFrame end return G
--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(2, 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
