Change player character easier using CustomTransform

Hello developers.

I made a quick module which allows to set any (currently R6 only) character size and look using another character

Example:

The module:
https://www.roblox.com/library/8363996526/CustomTransformModule

and Test Place
CharacterChanger.rbxl (52.0 KB)

I haven’t done al ot of tests but on first glance it should work with R6. R15 currently doesn’t work as intended since it needs humanoid description (which cant be acquired in every situation).

Issue:

If u encounter any bugs make sure to contact me via DevForum

8 Likes

tbh its good but eeeeee you can make another way to do the same exact thing

local TransformModule = {}

function TransformModule.Transform(PlrChar,Morph)
   local Plr = game.Players:GetPlayerFromCharacter(PlrChar)
   local Char = game:FindFirstChild(Morph,true)
   local C = Char:Clone()
   C.Parent = game.StarterPlayer
   C.Name = "StarterCharacter"
   local PlrCFrame = PlrChar.PrimaryPart.CFrame
   PlrChar.Humanoid.Health = 0
   game.Players.CharacterAutoLoads = false
   Plr:LoadCharacter()
   Plr.Character.PrimaryPart.CFrame = PlrCFrame
   game.Players.CharacterAutoLoads = true
   C:Destroy()
end

return TransformModule

I made this script above that does the exact same thing but its easier to understand and its short and it got more feature like in this u just have to type the char and enter the name of the dummy and that’s it! just hook it up with a function and it works just fine

1 Like

Can’t wait for the R15 version!

The problem is your character needs to reset mine does not. (which keeps scripts running inside the character)

true true i can also make it so that it keeps it inside

mine works on R6 and R15

1 Like

the whole point of this script is to keep play alive so u dont have to reset (also r15 will be supported soon)