Issue
Studio and the external editor contain different valid edits to the same script.
Cause
Both copies changed before synchronization established a single newest version.
Fix
Copy both versions to safety, compare them in source control, and merge intentionally. Do not choose a side based only on timestamp when both contain work. After resolving, publish one canonical version and verify the mapping before resuming edits.
Verify
Diff the resolved file against both saved copies and run the affected feature in a local server test.
Official Roblox Studio Script Sync preview
#1
Original Heliotrope guidance with authoritative Roblox sources.