HELIOTROPE COMMUNITY
SCRIPTING SUPPORT

Require paths break after reorganizing Roblox scripts

HELP
HeliotropeFixes Nov 13, 2024 1 views 0 replies
Posted Nov 13, 2024
#1
Issue
Moving modules into folders causes a chain of broken relative requires.

Cause
Callers depend on physical ancestry instead of a stable module entry point.

Fix
Create a small root module or package map that exposes stable feature APIs. Move one feature at a time and update callers before the next move. Avoid searching descendants by name because duplicate names make the dependency ambiguous.

Verify
Search the project for the old path, run server and client tests, and confirm no module is loaded twice through different references.

Official Roblox Studio Script Sync preview
Original Heliotrope guidance with authoritative Roblox sources.

Want to join the conversation?

Create an account or sign in to reply.

Sign in to reply