Unable to Morph into this character?

So Im trying to make a simple morph UI but it doesn’t seem to work… I’ve tried a lot of methods in order for it to work and it just doesn’t let the player morph?

			UI_Character.Select.Activated:Connect(function()
				if not MorphDebounce then
					MorphDebounce = true
					script.MorphSFX:Play()
					Remote_MORPH:FireServer(Type, ChosenMorph.Name)
					task.wait(0.5)
					MorphDebounce = false
				end
			end)

Server:

Remote_MORPH.OnServerEvent:Connect(function(Player, Type, Name)
	local PlayerCharacter = Player.Character or Player.CharacterAdded:Wait()
	
	local ChosenCharacter = Morphs:WaitForChild(Type):FindFirstChild(Name)
	local CharClone = ChosenCharacter:Clone()
	CharClone.Name = Player.Name
	PlayerCharacter = CharClone

	local rootPart = CharClone:FindFirstChild("HumanoidRootPart") or CharClone:FindFirstChild("Torso")
	local plrRoot = PlayerCharacter:FindFirstChild("HumanoidRootPart") or PlayerCharacter:FindFirstChild("Torso")

	if rootPart and plrRoot then
		rootPart.CFrame = plrRoot.CFrame
	end

	CharClone.Parent = workspace
end)

Maybe set the Player object’s character property to the cloned morph?

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