Very self explanatory...
pl = Instance.new("PointLight",workspace["Part Name"]) pl.Range = 30 -- how far the light will reach pl.Brightness = 1 -- how bright the light is while wait() do for i=30,1,-1 do pl.Range = i wait() end for i=1,30,1 do pl.Range = i wait() end end
that will make the light pulse just replace Part Name with the Name of the part you want to light up if you have any questions about the script feel free to ask as a comment
If you want it to kind of like go off and on randomly like a broken light or lightning or something then just do a loop that turns it off and on at "random" intervals.
You would put this script as a child under the part that parents the point light
Light = script.Parent.PointLight while true do Light.Enabled = false wait(0.1) Light.Enabled = true wait(0.4) Light.Enabled = false wait(0.789) Light.Enabled = true wait(0.29) Light.Enabled = false wait(0.025) Light.Enabled = true wait(0.07) end
There's probably a quicker and more efficient way, but yeah :P Just change the wait times to be shorter or longer to your liking. And, if you want it to seem more random then just add tons and tons more of those to the loop lol Also next time you ask a question, you should probably like say that you've at least tried to make the script yourself. A lot of questions get downvoted and removed because all it has is a question to make a script.