How can I spawn a ragdoll of myself?

So basically, I’d like to add a button to my gui that has the current users profile pic and it clones their character into a ragdoll (gmod concept) I’m really new to scripting, so I don’t know how to do this.
image

Do you want the ragdoll to only be shown on their client, or do you want it to be shown to everyone?

I would like my ragdoll to be shown serversided.

https://create.roblox.com/docs/reference/engine/classes/HumanoidDescription

1 Like

I made a placefile for you and all the code is available.

Placefile:
RagdollTesting.rbxl (42.1 KB)

  1. To get it working in your game, run this code in your command bar:
--//Run this code in your command bar
local PhysicsService = game:GetService("PhysicsService")
PhysicsService:CreateCollisionGroup("A")
PhysicsService:CreateCollisionGroup("B")
PhysicsService:CollisionGroupSetCollidable("A", "B", false)
  1. Copy the local script in the placefile’s StarterGui button, and paste it in your button.
    image

  2. Copy the remote event from ReplicatedStorage and paste it into your game’s ReplicatedStorage.
    image

  3. Copy these scripts from ServerScriptService and paste it into your game’s ServerScriptService.
    image

It should work now.

Example video:

1 Like

thank you very much, this is perfect

1 Like

No problem. If you have any more questions, feel free to ask.