local c={}local g={WindPower="\110\117\109\098\101\114",WindSpeed="\110\117\109\098\101\114",WindDirection="\086\101\099\116\111\114\051"}function c.new(c,o)local p=table.create(3)local w=c:GetAttribute("\087\105\110\100\080\111\119\101\114")local R=c:GetAttribute("\087\105\110\100\083\112\101\101\100")local J=c:GetAttribute("\087\105\110\100\068\105\114\101\099\116\105\111\110")p.WindPower=typeof(w)==g.WindPower and w or o.WindPower p.WindSpeed=typeof(R)==g.WindSpeed and R or o.WindSpeed p.WindDirection=typeof(J)==g.WindDirection and J or o.WindDirection local Y=w local y=R local v=J local G=(c:GetAttributeChangedSignal("\087\105\110\100\080\111\119\101\114")):Connect(function()Y=c:GetAttribute("\087\105\110\100\080\111\119\101\114")p.WindPower=typeof(Y)==g.WindPower and Y or o.WindPower end)local a=(c:GetAttributeChangedSignal("\087\105\110\100\083\112\101\101\100")):Connect(function()y=c:GetAttribute("\087\105\110\100\083\112\101\101\100")p.WindSpeed=typeof(y)==g.WindSpeed and y or o.WindSpeed end)local B=(c:GetAttributeChangedSignal("\087\105\110\100\068\105\114\101\099\116\105\111\110")):Connect(function()v=c:GetAttribute("\087\105\110\100\068\105\114\101\099\116\105\111\110")p.WindDirection=typeof(v)==g.WindDirection and v or o.WindDirection end)function p.Destroy(c)G:Disconnect()a:Disconnect()B:Disconnect()table.clear(p)end return p end return c


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;

