Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I remove fire from a part?

I'm quite new to scripting and I was wondering why the fire isn't being removed when I run the game.

Instance.new("Fire", script.Parent)

wait(2)

game.Workspace.Part.Fire = Remove()

1 comment

0

Why don't you use a Variable for this problem? :P WIKI Documentary on Variables: http://wiki.roblox.com/index.php?title=Variables

2 answers

✓ Accepted answer

Remove() is a method that you can call on instances (parts, fires, sparkles, etc.) You call methods like this:

script.Parent.Fire:Remove()

Just so you know, Remove() is deprecated. That means it probably works, but it's old and outdated. Use Destroy().

Full script:

Instance.new("Fire", script.Parent)

wait(2)

script.Parent.Fire:Destroy() --The fire is already in the part, so use script.Parent.Fire

Just like funyun said use :Destroy() after almost anything to just get rid of it PLUS I LOVE U YOZOH UR SO AWSOME

This discussion is preserved as it was. New answers, comments, and votes are closed.