How to morph a player into another

Im making a admin script (just for fun and bcs i want to explore new options in roblox) and im trying to do a command that transforms one player into another (also morphing players that arent the LocalPlayer) my system uses targetPlayer and targetPlayer2 for knowing who is the player, i tried cloning the player2 character but when i create the clone its just marked as nil, i tried so hard and get so far, but at the end it doesn’t even matter, the clone function just was nil in all the cases, the last thing i was trying was this (so someone can make an idea of how its supposed to work)

also if i can get new ideas to make in the script it would be good

2 Likes

Try setting newChar.Parent to StarterPlayer, and use targetPlayer:LoadCharacter to change characters.

local cframe = char1.PrimaryPart.CFrame

newChar.Parent = game:GetService("StarterPlayer")
targetPlayer:LoadCharacter()

targetPlayer.Character.PrimaryPart:PivotTo(cframe)

newChar is marked as nil, please read before giving a solution

you could try this, much simpler

Oh yeah, I’m sorry. Set targetPlayer2.Character.Archivable to true, and then clone it.

Normally this happens if the player archivable isn’t on

a friend of mine gave me a solution, this is the script i got to (if someone needs it in a future and to mark this as solved bcs the others solutions werent too helpful)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.