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

My script won't run in a regular game and it only works in Studio when I run script?

Asked by
x1961x -2
6 years ago

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

0
Is filtering enabled? Bryson467 12 — 6y
0
>Bryson Nope x1961x -2 — 6y
0
Where is the localscript located? PyccknnXakep 1225 — 6y
0
I keep it in workspace, maybe that's wrong? x1961x -2 — 6y
View all comments (2 more)
0
Read my bio @x1961x hiimgoodpack 2009 — 6y
0
Read my bio @x1961x hiimgoodpack 2009 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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!

0
I'ma test it, if it works then gg man that's great, I won't have any problem accepting at all. x1961x -2 — 6y
1
Dude holy, thanks alot you know if I could I would give you 10 accepts, but since I can only do 1 for now you deserve it anyway. x1961x -2 — 6y
0
Thanks! PyccknnXakep 1225 — 6y
Ad

Answer this question