Fire Effect



Where to put this script


Put this code inside the part that you want to touch to activate the fire effect

Fire Effect


firePart = script.Parent

function lightOnFire(part)
    print("Going to light this part on fire:")
    print(part.Name)
 
    local fire = Instance.new("Fire")
    fire.Parent = part
    wait(5)
    part.Fire:Destroy()
end
 
firePart.Touched:Connect(lightOnFire)

Line by Line

Customize