So I'm making a script and in the outbox it says
16:24:35.412 - Card1 is not a valid member of Model
16:24:35.412 - Script 'Workspace.Screening.Jobs.Job4.Script', Line 2
16:24:35.412 - Stack End
Although here is a picture of the lighting before the script is ran
Picture: http://prntscr.com/bod81x
And here is the script
script.Parent.ClickDetector.MouseClick:connect(function()
game.Lighting.Cards.Card1 = game.Workspace.JobTray.Jobs
game.Workspace.JobTray.Jobs.Card1.Anchored = false
end)

1 comment
Try using game.Lighting.Cards:WaitForChild('Card1') --Stuff