Api > Script > OnLostOwnership()
Script.OnLostOwnership()⚓︎
Called when the current client loses the network ownership of the object.
Usage⚓︎
local script = LUA.script;
--- OnLostOwnership message from Script
function script.OnLostOwnership()
-- your code here
end