Character morphing not working

I’m trying to morph a player into a ball rig and then teleport it to a random position in a part but when I run the function the camera remains where the old player rig was and the ball rig is messed up (the humanoid root part and the sphere itself are far from eachother physically).

Here is the code where I try to make the morph work:

local dataManager = require(game:GetService("ServerScriptService").Data.Data.DataManager)
local profile = dataManager.Profiles[plr]
local currentBall = skinFolder:FindFirstChild(profile.Data.EquippedSkin):Clone()
local ballSpawn = getRandomPositionInPart(peiceSpawns)

currentBall.Parent = workspace
currentBall.PrimaryPart.Position = ballSpawn
currentBall.Name = plr.Name
plr.Character = currentBall
plr.IsPlaying.Value = true

And here is the rig I’m trying to morph into:
image
(None of the parts are anchored)

For more context, previously to morphing, I run a cutscene, but I put the CameraType back to Custom.

for the camera u change Camera.CameraSubject to the ball humanoid

1 Like

That works for the camera, but then at the same time the ball’s parts are not together

i put currentBall.Parent = workspace after changing all the properties and stuff and it works now.

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