I'm trying to make it to where when I use a proximity prompt, the LIGHTS turn on. I don't have any code snips since I don't have a clue on how to even start.
local lightsFolder = workspace.LightsFolder:GetChildren() --Light Model (NOT THE SAME PART/MODEL AS THE PROXIMITY PROMPT) script.Parent.ProximityPrompt.TriggerEnded:Connect(function() for i,v in pairs(lightsFolder) do v.PointLight.Enabled = true end end)
This will turn the lights under the model/Folder on (it will not turn them off)