Like when u click the part it explodes.
script.Parent.MouseClick:Connect(function()
local explosionPart = script.Parent
local explosion = Instance.new("Explosion",script.Parent)
explosion.Position = explosionPart.position
end)
I saw two tutorials tried to combine the script.
You forgot the ClickDetector.
Insert ClickDetector into a part and put this script in the part too.
script.Parent.ClickDetector.MouseClick:Connect(function() local explosionPart = script.Parent local explosion = Instance.new("Explosion",script.Parent) explosion.Position = explosionPart.position end)
Sorry if I sound passive agressive, I talk like that ¯_(?)_/¯
If this was helpful please, accept this question. I will really appreciate it.