Script to change a player's torso

Hello once again, members of the devforum. I have come for the scripters help again…
For the past hour I’ve been trying to find tutorials on how to add a very simple torso/morph changer within a gui i’ve constructed. I thought this would’ve a simple youtube tutorial*(It was not)*

I’m asking for your help with how I would go about making one? I’m not very good at scripting.

Are you attempting to change it to a package piece? (Torso)

Yeah the 3.0 torso. I want the players to have an option seeing I removed other packages entirely.

Hopefully this helps

local CharacterMesh = Instance.new("CharacterMesh")
CharacterMesh.Parent = --Make your player variable here
CharacterMesh.MeshId =  "rbxassetid://82907945" 
CharacterMesh.BodyPart = PlayerVariable:FindFirstChild("Torso") 

I’ve seen some of the names in other scripts I looked through, but I’m unsure on how to connect it with my text button:
image
Could you help?

Could you please explain a bit better.

If they click the button I showed, I’d like the script to change their Character mesh to the 3.0 torso

https://developer.roblox.com/en-us/api-reference/event/GuiButton/MouseButton1Click

1 Like