Basically, I've been working on a flight simulator and I would like my script to have my smoke visible when touched a certain brick, say...named...Runway1?????
This is the script I'm currently using
smk = script.Parent.Smoke
function onTouched()
smk.Enabled = true
wait(3)
smk.Enabled = false
wait(0.1)
end
script.Parent.Touched:connect(onTouched)

1 comment
Put your code in a code block by clicking the Lua button and pasting you code inside the block. It's more legible that way.