setthreadidentity
Sets the current thread's identity to the wanted value
function setthreadidentity(id: number): ()Parameters
id- The wanted identity to change to
Example
setthreadidentity(2)
print(game.CoreGui) -- Throws an error
setthreadidentity(8)
print(pcall(Instance.new, "Player")) -- Output: true PlayerLast updated