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

Issue with line 2, although this worked before. Can someone help?

Asked by 5 years ago
script.Parent.Touched:Connect(function()
    script.Parent.Left.ParticleEmitter.Enabled = true
    game.Workspace.Scripted.Left2.ParticleEmitter.Enabled = true
    game.Workspace.Scripted.Right.ParticleEmitter.Enabled = true
    game.Workspace.Scripted.Right2.ParticleEmitter.Enabled = true
    wait(10)
    game.Workspace.Scripted.Left.ParticleEmitter.Enabled = false
    game.Workspace.Scripted.Left2.ParticleEmitter.Enabled = false
    game.Workspace.Scripted.Right.ParticleEmitter.Enabled = false
    game.Workspace.Scripted.Right2.ParticleEmitter.Enabled = false
end)
0
What sort of "issue"? An error message? Your game doesn't behave like you expect? aschepler 135 — 5y
0
WaitForChild is your best friend. Fifkee 2017 — 5y

Answer this question