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

My script won't run if it is in a cloned part?

Asked by 4 years ago
Edited 4 years ago

I have a game where at some point, I need to clone a "cough droplet" which can hover around and eventually get stuck to surfaces. Problem is, the script that I'm using to let it stick to things does not run AT ALL. The script is parented to the cough droplet, which is a regular base part. I put a print statement at the very beginning of the script, so that it would have to print something, but it didn't print, meaning that the script doesn't run. Does anybody know why or how?

1 answer

Log in to vote
0
Answered by 4 years ago

Haha I'm an idiot. I just discovered that if you clone a server script from a local script, the server script will clone like normal but then never run, since it will never exist for the server...

Ad

Answer this question