i need help because i am new to scripting and im doing the roblox tutorials Help!
The code is trying to find an instance named "FirePart" in the Workspace and it's not there.
Looks like you miss placed it, when you ran the script. Make sure FirePart is in the Workspace when you start.
@xx
function lightOnFire(part) print("Going to light this part on fire:") print(part.Name)
fire = Instance.new("Fire") fire.Parent = part
end
firePart = game.Workspace.FirePart firePart.Touched:connect(lightOnFire)