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
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