Skip to content

Api > Script > OnBecomeOwner()


Script.OnBecomeOwner()⚓︎

Called when the current client becomes the owner of the object.

Usage⚓︎

local script = LUA.script;

--- OnBecomeOwner message from Script

function script.OnBecomeOwner()
   -- your code here 
end