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

What is wrong with this script?

Asked by
tumadrina 179
10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
local Part=workspace.Light
local found=Part:FindFirstChild("Fire")
while true do 
    wait()
Instance.new("Fire",Part)
if found then
    wait()
    found:Remove()
    Instance.new("Fire",Part)
end
end

It just stays with the fire lit, I think I'm supposed to do something with break for loops but I'm not sure how.

1
Please use the code block to make your post easier to read. MasterDaniel 320 — 10y
0
oh yeah, and thank you in advanced tumadrina 179 — 10y
0
Sorry about that :) tumadrina 179 — 10y
0
I forgot to mention that nothing shows up in the output tumadrina 179 — 10y
View all comments (2 more)
0
Well what are you trying to do? Perci1 4988 — 10y
0
I'll just mess around with enabled properties tumadrina 179 — 10y

Answer this question