Import Players Character Through A Script [Solved]

Hello, I need help with importing player characters into the workspace through scripts!
Sort of like what the “Moon Animator Character Inserter” but through a script.
I’m trying to make a small cutscene where a killer kills “you” the character.

The Roblox Game “Flicker” has a similar feature where you can find the player who died’s character model.

If you just want to “import” the player’s character you could just clone their actual character model in the Workspace.

Something like this in a server script:

-- Get the player however you want (replace the player variable below)
local char = game.Workspace:WaitForChild(player):Clone()
char.Parent = game.Workspace

Use Players:CreateHumanoidModelFromUserId

Here is your script, this might work

local Player = "Roblox" -- player to clone

local userid = game.Players:GetUserIdFromNameAsync(Player)
local playermodel = game.Players:CreateHumanoidModelFromUserId(userid)

playermodel.Parent = game.Workspace
8 Likes

This actually works, thank you for your help :smiley:

1 Like

No problem, if you got any more questions just shoot me a message! :smiley: