I want to click in a part and whean I click it, I want another part to light. I'm kinda noob with scripting so can someone help me?
Put a ClickDetector inside of the Part and this script as a descendant of the Part as well. Make sure it's a PointLight. If not, I'm sure you can modify this.
on = false script.Parent.ClickDetector.MouseClick:connect(function() if on == false then on = true script.Parent.PointLight.Enabled = true else on = false script.Parent.PointLight.Enabled = false end end)