How do i change the morph's or player's torso by clicking a part

so i’m trying to make a RP game about zombies and i want to be able to change the morphs’ and the players’ torso into female one by clicking on a part through a prompt like in be dead forever simulator but i’m new to coding and has zero idea on how to do this, the AI assistant doesn’t really help either.


i tried to find any forms, videos, docs, and anything that are related to this but there was nothing.

so if anybody knows or makes a tutorial about this, i would be very grateful.

1 Like

Do you want it to be when they touch it, or when they click it??

In HumanoidDescription.BodyParts and Find Torso and change it’s id to female torso or torso (this doesn’t need id, you can set 0 and it will be in default torso) by ID-assest.

usually it’s inside in Humanoid

i want them to change when i click the part.

sorry for the late reply. the notifications didn’t work.

1 Like

i meant like changing the player’s torso by clicking a part

Hey! If you want to change the player’s torso (or morph) when clicking a part, one of the easiest ways is by using a ProximityPrompt (or a ClickDetector).
When the player interacts with the part, you can either apply a new HumanoidDescription (for catalog assets) or replace the torso with a custom model.

Here’s a simple example using HumanoidDescription with a ProximityPrompt:

local part = script.Parent
local ProximityPrompt = part:WaitForChild("ProximityPrompt")

ProximityPrompt.Triggered:Connect(function(player)
	local character = player.Character
	if character then
		local humanoid = character:FindFirstChildOfClass("Humanoid")
		if humanoid then
			local description = humanoid:GetAppliedDescription()
			
			description.Torso = 123456789 
			
			humanoid:ApplyDescription(description)
		end
	end
end)
3 Likes

ah, thanks a lot bro! i really appreciate for your help.

2 Likes

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