Browsing Wiremod's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2019-10-13. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Gate shared code with if SERVER then ... else ... end

💻 Expression 2Updated 2 days ago•0 views
Wrap realm-specific code: if SERVER then ...server... else ...render code... end - the else branch only runs clientside so others won't see your screen contents…

How to keep render code clientside in a shared starfall script

Wrap realm-specific code: if SERVER then ...server... else ...render code... end - the else branch only runs clientside so others won't see your screen contents logic.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.