Okay! I've remade this post about two times and was asked to be more descriptive. What I'm trying to do is have the function work for both models at the same time if that makes sense. I'm not sure if I properly set it up for it to do that. I don't really know how to explain it! I'm REALLY new to scripting, that's why I'm here lol.
The script:
function onClick()
for i,v in pairs (game.Workspace.MLights:GetChildren()) or (game.Workspace.MSLights:GetChildren())
do
v.Part.Transparency
