script.Parent.ClickDetector.MouseClick:connect(function() script.sound:play() if script.Parent.Light.Enabled == true then script.Parent.Light.Enabled = false else script.Parent.Light.Enabled = true if script.Parent.ClickDetector.MouseClick:connect(function() pointlight.Sound:pause() end end
✓ ANSWER ACCEPTED
Click part play sound and activate point light at the same time?
1 answer
✓ Accepted answer
This is not complicated. You'd have to remake the entire script. I wish I could.. But I'm in school. PM voltoxus.
4 comments
0
THANKS!
0
I have still no reply :/
0
script.Parent.ClickDetector.MouseClick:connect(function() script.sound:play() if script.Parent.Light.Enabled == true then script.Parent.Light.Enabled = false else script.Parent.Light.Enabled = true if script.Parent.ClickDetector.MouseClick:connect(function() pointlight.Sound:pause() end end
0
It's red at line 6...
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Use the "code block" formatting symbol next time.