I’m following the tutorial series of videos ROBLOX made a couple years ago and I followed their exact code to try and replicate what they’re doing. However, in the process of this I encountered that what the tutorial put in no longer works.
At 0:33 he creates a script for the bomb that causes it to explode after it has been created. However, when my bomb explodes it does not get deleted afterward. I checked for typos and errors multiple times and found nothing. Did ROBLOX change and deleting a part isn’t like this anymore?
local explosionPart = script.Parent
local explosion = Instance.new(“Explosion”)
explosion.Parent = game.Workspace
explosion.Position = explosionPart.Position
There’s the script that goes inside of the bomb part.
local explosionPart = game.Workspace.pipebomb
local function createExplosionPartCopy()
local explosionPartCopy = explosionPart:Clone()
explosionPartCopy.Parent = game.Workspace
while true do
Here’s the script that goes inside ServerScriptStorage. Instead of the location of the part being inside ServerStorage, I just left it in the Workspace. I changed the lines referencing it’s location to match it being in the Workspace.
It’s a really basic and new question, and you could probably tell that I am new to scripting, so I would like for you to help me out. Thanks