I have a brick and it has text above it, and i made this script so it counts down then the text changes and says different stuff but the explosion wont work at the end. It says "Position is not a valid member of Model" and the brick wont remove as i put in the command at the bottom. Please help.
x=script.Parent
for i=10,0, -1 do
wait(1)
x.Name=(i)
if i==0 then x.Name="BOOM!"
wait(2.2)
x.Name="Haha"
wait(1.2)
x.Name="just kidding"
wait(0.9)
x.Name="But, seriously"
wait(0.5)
x.Name="BOOM!"
wait(0.001)
local e = Instance.new("Explosion")
e.Position = x.Position
e.Parent = game.Workspace
e.BlastPressure = 100000
e.BlastRadius = 120
x:remove()
end
end
