Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

LinkedSources magically stopped working?

Asked by 7 years ago

So I'm working on this game and it requires a script for each door, so I made life easier by making a LinkedSource. Yesterday and this morning it was working perfectly, but now none of my linkedsources load at all. Has something happened? Am I doing something wrong? They instantly don't load.

This is my output

1 answer

Log in to vote
0
Answered by 7 years ago

You make sure the source is loaded before referencing it. The WaitForChild() function will pause the script till the object is found or loaded.

Ad

Answer this question