--[[
local attachment0 = Instance.new("Attachment", part)
local attachment1 = Instance.new("Attachment", char.PrimaryPart)

local AP = Instance.new("AlignPosition")
AP.Attachment0 = attachment0
AP.Attachment1 = attachment1
AP.MaxForce = math.huge
AP.Responsiveness = 200
AP.Parent = part

local AO = Instance.new("AlignOrientation")
AO.Attachment0 = attachment0
AO.Attachment1 = attachment1
AO.MaxTorque = math.huge
AO.Responsiveness = 200
AO.Parent = part
]]

part.Position = char.PrimaryPart.Position + Vector3.new(-100,0,0)
local weld = Instance.new("WeldConstraint")
weld.Part0 = part
weld.Part1 = char.PrimaryPart
weld.Parent = part

part.Parent = workspace.WeatherParts

for i,v in pairs(script:GetChildren()) do
	if v.Value > 0 then
		local particle = game.ReplicatedStorage.Particles[v.Name]:Clone()
		particle.Rate = math.huge
		particle.Parent = part
		--[[
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		particle:Clone().Parent = part
		]]
	end
end
