I am a Person who likes to make police lights but I don't know how to script them in to make them work with a button, Please help.
COMMUNITY QUESTION
Scripting Police Lights?
2 answers
Use the Click Detector and parent it to the lights
In a Script use this event.
local light = script.Parent
light.Detector.MouseClick:connect(function()
--Code
end)
make it change its ambiet light every 1 second using while true do
This discussion is preserved as it was. New answers, comments, and votes are closed.
