local I={}local T={WindPower="\110\117\109\098\101\114",WindSpeed="\110\117\109\098\101\114",WindDirection="\086\101\099\116\111\114\051"}function I.new(I,N)local l=table.create(3)local x=I:GetAttribute("\087\105\110\100\080\111\119\101\114")local w=I:GetAttribute("\087\105\110\100\083\112\101\101\100")local t=I:GetAttribute("\087\105\110\100\068\105\114\101\099\116\105\111\110")l.WindPower=typeof(x)==T.WindPower and x or N.WindPower l.WindSpeed=typeof(w)==T.WindSpeed and w or N.WindSpeed l.WindDirection=typeof(t)==T.WindDirection and t or N.WindDirection local o=x local c=w local J=t local E=(I:GetAttributeChangedSignal("\087\105\110\100\080\111\119\101\114")):Connect(function()o=I:GetAttribute("\087\105\110\100\080\111\119\101\114")l.WindPower=typeof(o)==T.WindPower and o or N.WindPower end)local y=(I:GetAttributeChangedSignal("\087\105\110\100\083\112\101\101\100")):Connect(function()c=I:GetAttribute("\087\105\110\100\083\112\101\101\100")l.WindSpeed=typeof(c)==T.WindSpeed and c or N.WindSpeed end)local X=(I:GetAttributeChangedSignal("\087\105\110\100\068\105\114\101\099\116\105\111\110")):Connect(function()J=I:GetAttribute("\087\105\110\100\068\105\114\101\099\116\105\111\110")l.WindDirection=typeof(J)==T.WindDirection and J or N.WindDirection end)function l.Destroy(I)E:Disconnect()y:Disconnect()X:Disconnect()table.clear(l)end return l end return I
-- Decompiled with the Synapse X Luau decompiler.

local v1 = {}
local u1 = {
	WindPower = "number",
	WindSpeed = "number",
	WindDirection = "Vector3",
}
function v1.new(p1, p2)
	local v2 = table.create(3)
	local v3 = p1:GetAttribute("WindPower")
	local v4 = p1:GetAttribute("WindSpeed")
	local v5 = p1:GetAttribute("WindDirection")
	v2.WindPower = typeof(v3) == u1.WindPower and v3 or p2.WindPower
	v2.WindSpeed = typeof(v4) == u1.WindSpeed and v4 or p2.WindSpeed
	v2.WindDirection = typeof(v5) == u1.WindDirection and v5 or p2.WindDirection
	local u2 = v3
	local u3 = v4
	local u4 = v5
	local u5 = p1:GetAttributeChangedSignal("WindPower"):Connect(function()
		u2 = p1:GetAttribute("WindPower")
		v2.WindPower = typeof(u2) == u1.WindPower and u2 or p2.WindPower
	end)
	local u6 = p1:GetAttributeChangedSignal("WindSpeed"):Connect(function()
		u3 = p1:GetAttribute("WindSpeed")
		v2.WindSpeed = typeof(u3) == u1.WindSpeed and u3 or p2.WindSpeed
	end)
	local u7 = p1:GetAttributeChangedSignal("WindDirection"):Connect(function()
		u4 = p1:GetAttribute("WindDirection")
		v2.WindDirection = typeof(u4) == u1.WindDirection and u4 or p2.WindDirection
	end)
	function v2.Destroy(p3)
		u5:Disconnect()
		u6:Disconnect()
		u7:Disconnect()
		table.clear(v2)
	end
	return v2
end
return v1
