Is not a valid member of model?
So I'm making a script and in the outbox it says
1 | 16 : 24 : 35.412 - Card 1 is not a valid member of Model |
2 | 16 : 24 : 35.412 - Script 'Workspace.Screening.Jobs.Job4.Script' , Line 2 |
3 | 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
1 | script.Parent.ClickDetector.MouseClick:connect( function () |
2 | game.Lighting.Cards.Card 1 = game.Workspace.JobTray.Jobs |
3 | game.Workspace.JobTray.Jobs.Card 1. Anchored = false |