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

Best way to put part logic on client side?

Asked by 4 years ago

I have a scrolling texture part script and using network for this sounds kinda inefficient. Iirc, local scripts can only work in starterPlayer/Character, backpack, gui and replicatedFirst.

So far my only idea is to keep a local script in replicatedFirst and scroll through all parts that need this script executed. While this is a not bad method, is there anything else I can do?

0
Sure, but you probably don't want/need it in replicatedfirst, starterplayerscripts should be fine. You can read on the wiki what replicated first does and can/should be used for: https://developer.roblox.com/en-us/api-reference/class/ReplicatedFirst gullet 471 — 4y
0
Right, tnx. This is a general workflow for lua gamedev anyway (I think) ItsNimbusCloud 66 — 4y

Answer this question