:Union() returning a message perhaps?

The :Union() method of Plugin should return a boolean or message to tell whether or not the operation was successful. It returns an error, but we don’t want to be able to see that from a plugin-

local success,returnValue = pcall(function() return plugin:Union({parts}) end)

if success then
print(“Union was successful”)
game.Selection:Set({returnValue})
else
error(returnValue)
end

[quote] local success,returnValue = pcall(function() return plugin:Union({parts}) end)

if success then
print(“Union was successful”)
game.Selection:Set({returnValue})
else
error(returnValue)
end [/quote]

Ah I see now, thanks!