Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

uhm i feel dumb but how to use instance.new with a fire?

Asked by
hokyboy 270 Moderation Voter
5 years ago
1local fire Instance.new("Fire")
2    fire.parent = script.Parent.Parent.tnt
3    fire.size = 4
0
you didnt put an = sign for the variable `local fire = Instance.new("Fire") KDarren12 705 — 5y

1 answer

Log in to vote
1
Answered by
sleazel 1287 Moderation Voter
5 years ago

Did you forgot the equal sign? Also good practice is to set Parent last, for the performance sake. (capital letter BTW)

1local fire = Instance.new("Fire")
2fire.size = 4
3fire.Parent = script.Parent.Parent.tnt
0
im stupid lol hokyboy 270 — 5y
Ad

Answer this question