Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a limit to how much scripts i can put on a part?

Everytime i try to add a third script it doesn't seem to work for some reason, or maybe my script is wrong i don't know.

4 comments

1

No, there isn't a limit. However, an excessive amount of scripts can cause lag depending on what they do.

0

math.huge is the limit xd

0

There is a limit of how many total Scripts (Lua threads) the VM supports, but you're not going to hit it. There is no limit of 2 scripts per part, so you have a bug or a disabled script.

0

I agree with "0b1w". Just try avoiding adding so many scripts and try to merge it to one, to avoid lags.

1 answer

There isn't a limit to how many scripts you can put in a part but once you reach a certain point it can become laggy.

1 comment

0

That's actually false, lag is not affected with amount of scripts but what's inside them.

This discussion is preserved as it was. New answers, comments, and votes are closed.