Alright so I want x to still be in p when I change the parent of p. I've tried this but it doesn't work:
function fire()
local p = Instance.new("Part")
p.Name = "Something"
p.Position = script.Parent.Position
x = Instance.new("FileMesh", p)
x.MeshId = "http://www.roblox.com/asset/?id=1286103"
x.Parent = p
p.Parent = script.Parent
end
Please explain how I would keep the mesh with it's parent.

1 comment
It looks like you're trying to parent 'p' to another part?