Making a custom explosion, and so I created a part with 2 particles, one is the smoke and the fire. When a explosion is created, it is then part clones with the particles and parented in a folder called effects in workspace but position wise, that part isn't working. Part is positioned at the centre of the world 0,0,0 instead of the explosion happening at for e.g. 126,35,235.
local work = game:GetService("Workspace") work.DescendantAdded:Connect(function(descendant) if descendant:IsA("Explosion") then local p = Instance.new("Part") p.Position = descendant.Position end end)
You have to parent the Part to Workspace.
local p = Instance.new("Part", workspace)