The script is a local script and it is pasted into the Local Script part, But the only time it runs is when I am in studio, click Test, and Run Script.
Is there a way to fix it?
The script is too long so I CANNOT paste it into this box
But here is the link to the model FOR the script so hopefully somebody can figure out what is wrong and reply back to me.
https://www.roblox.com/library/985106598/dragon <
-1961
The problem is you are trying to run a LocalScript
inside of the workspace
. If you look at the wiki, it tells you that LocalScripts
can only function in client related services like the Backpack, StarterGui, ReplicatedStorage, etc. That's why it is called a Local Script, because the script is meant for the client only and not the server. Please accept my answer if this helped!