I am trying to clone the player’s character and name it to: room.ID . . player.Name
But the error ( The current identity (2) cannot set a Character’s name (lacking permission 4) ) is showing up in the console, I haven’t found any posts with that. How can I give this necessary permission?
Code (LocalScript):
local character = player.Character or player.CharacterAdded:Wait()
character.Archivable = true
local characterClone = character:Clone()
characterClone.Parent = game.Workspace
character.Name = room.ID .. player.Name -- error line
local character = player.Character or player.CharacterAdded:Wait()
character.Archivable = true
local characterClone = character:Clone()
characterClone.Parent = game.Workspace
characterClone.Name = tostring(room.ID)..player.Name