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

FirePart is not a valid member of Workspace?

i need help because i am new to scripting and im doing the roblox tutorials Help!

2 answers

✓ Accepted answer

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.

4 comments

0

@xx then where is firepart?

0

Find it or remake it. You have no code shown, nor do you have a link to the tutorial you are trying to do. Therefore, I don't have much information to tell you

0

Do you have the two parts out in the Workspace? Shown in the tutorial?

@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)

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