This is the script i used to make the part, Meteor, fall and when it hits other parts it makes those parts get destroyed from the game. Though it doesn't work and i can't figure out why not.
local meteor = Instance.new('Part', game.Workspace)
meteor.Name = 'Meteor'
meteor.Anchored = false
meteor.Touched:connect(function(boom)
if boom.Name ~= 'Baseplate' and boom ~= nil then
local boom = Instance.new('Explosion', game.Workspace)
boom.Position = boom.Position
boom:Destroy()
end
end)
