Script.Source Changed Broken (Collaborative Edit Mode)

When collaborative mode is enabled, the Changed returns the scripts source being worked on. Instead of returning source, it returns “SandBoxedSource”. Unsure as to when this bug started occurring.

-- Collaborative editing must be enabled.
local Connection = Script.Changed:Connect(function(Value)
    warn(Value)
end)

By running the code above in studio (i.e. plugin or command bar) you’ll see the bug occur when you edit the script you’ve connected the changed event to.
Having this fixed will help me work on plugins and make my ideas for studio a reality where smarter plugins rely on working as a script is being worked on are possible.

Hopefully this can be fixed soon, thank you!

2 Likes