How to make WORKING Ragdoll Death in Roblox Studio!

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 52

  • @fastoche05
    @fastoche05 4 месяца назад +2

    BRO THANK YOU SO MUCH FOR MAKING THIS SO EASY AND SIMPLE! I following cuz i really value teachers like you. please don't ever stop making this awesome content man!

  • @fireschoolbus
    @fireschoolbus 9 месяцев назад +1

    It’s me mightybroyoung thank you for making this video! Now my game can be more realistic

  • @brokuson3470
    @brokuson3470 6 месяцев назад

    I have a problem, my character parts (arms and legs) cant collide even tough i make them collide through a script

  • @idolicdahvslemon
    @idolicdahvslemon 6 месяцев назад +1

    May i ask if we could make affects for every single weapon a way for a roblox ava dies?
    If you could make a tut it would help alot you really helped me since im a begginer ^^!

    • @devmelonroblox
      @devmelonroblox  6 месяцев назад

      Wdym?

    • @idolicdahvslemon
      @idolicdahvslemon 6 месяцев назад

      @@devmelonroblox so like I mean maybe in mm2 or kat if they die by a kind of effect they freeze/turn into a duck LOL

    • @devmelonroblox
      @devmelonroblox  6 месяцев назад

      @idolicdahvslemon ohhhh ok

  • @Leon-ec7pl
    @Leon-ec7pl 10 месяцев назад +4

    2nd!!!!!!!

  • @Nomo6372
    @Nomo6372 4 месяца назад +5

    Script:
    game.Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
    local Humanoid = Character:WaitForChild("Humanoid")
    Humanoid.BreakJointsOnDeath = false
    Humanoid.Died:Connect(function()
    for i, part in pairs(Character:GetDescendants()) do
    if part:IsA("Motor6D") then
    local Socket = Instance.new("BallSocketConstraint")
    local a1 = Instance.new("Attachment")
    local a2 = Instance.new("Attachment")
    a1.Parent = part.Part0
    a2.Parent = part.Part1
    Socket.Parent = part.Parent
    Socket.Attachment0 = a1
    Socket.Attachment1 = a2
    a1.CFrame = part.C0
    a2.CFrame = part.C1
    Socket.LimitsEnabled = true
    Socket.TwistLimitsEnabled = true
    part:Destroy()
    end
    end
    end)
    end)
    end)

  • @zmigal
    @zmigal 10 месяцев назад +3

    Firist , no one can stop me 😎

  • @Officer_Eta10
    @Officer_Eta10 10 месяцев назад +5

    Does it work on R6?

    • @devmelonroblox
      @devmelonroblox  9 месяцев назад +1

      Yes it does!

    • @fireschoolbus
      @fireschoolbus 9 месяцев назад +2

      @@devmelonrobloxeven better

    • @ste4k2333
      @ste4k2333 9 месяцев назад +1

      @@devmelonroblox then why isn't it working :(

    • @ste4k2333
      @ste4k2333 9 месяцев назад

      @@devmelonroblox IT ISN'T working on the arms only and on the head too

    • @SDUA-c5r
      @SDUA-c5r 4 месяца назад

      @@ste4k2333make sure there’s no errors that may be why!

  • @goodypuffer9
    @goodypuffer9 25 дней назад

    The head still somehow spins all over the place.. How can i fix this?

  • @RogueStudiosRoblox
    @RogueStudiosRoblox 2 месяца назад +1

    im the 100th like!

    • @devmelonroblox
      @devmelonroblox  2 месяца назад

      @@RogueStudiosRoblox let’s gooo 👏

  • @saint_r6g9
    @saint_r6g9 6 месяцев назад

    Whenever i reset it just makes my whole body stiff how can I fix this?

    • @saint_r6g9
      @saint_r6g9 6 месяцев назад

      also is there a way to make it work on npcs as well, Thanks!

  • @Loxleychr123
    @Loxleychr123 Месяц назад +1

    im abusing this new power...

  • @GabeWarr
    @GabeWarr 7 месяцев назад +10

    those who really don't feeling like to code
    game.Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
    local Humanoid = Character:WaitForChild("Humanoid")
    Humanoid.BreakJointsOnDeath = false
    Humanoid.Died:Connect(function()
    for i, part in pairs(Character:GetDescendants()) do
    if part:IsA("Motor6D") then
    local Attachment0 =Instance.new("Attachment")
    local Attachment1 =Instance.new("Attachment")
    Attachment0.Parent = part.Part0
    Attachment1.Parent = part.Part1
    Attachment0.CFrame = part.C0
    Attachment1.CFrame = part.C1

    local Constraint = Instance.new("BallSocketConstraint")
    Constraint.Attachment0 = Attachment0
    Constraint.Attachment1 = Attachment1
    part.Parent = part.Parent
    if part.Parent.Name == "Head" then
    Constraint.LimitsEnabled = true
    Constraint.TwistLimitsEnabled = true
    Constraint.UpperAngle = 45
    Constraint.TwistLowerAngle = -75
    Constraint.TwistUpperAngle = 4
    end
    part.Parent.CanCollide = true
    part:Destroy()

    end
    end
    end)
    end)
    end)

  • @bjorna.147
    @bjorna.147 Месяц назад

    Nice

  • @TheD0c000
    @TheD0c000 10 месяцев назад +1

    NOO EVIL DEV MELONNN!

  • @8ruhp1y3r
    @8ruhp1y3r 9 месяцев назад +1

    it doesnt work my character stays straight up and dont ragdoll

    • @devmelonroblox
      @devmelonroblox  9 месяцев назад

      That happens when you reset while standing sometimes

    • @8ruhp1y3r
      @8ruhp1y3r 9 месяцев назад

      @@devmelonroblox but it always happen

    • @gordonakeen6339
      @gordonakeen6339 9 месяцев назад

      you have to turn off platformstand in the humanoid so it doesn't stand up

  • @utuber87
    @utuber87 8 месяцев назад

    does it work with r6

  • @clasick014
    @clasick014 10 месяцев назад +1

    3rd :)

  • @Bigmanba4
    @Bigmanba4 8 месяцев назад

    It doesnt work on R6

  • @DurpleSmh
    @DurpleSmh 6 месяцев назад

    it doesn't work, my character gets dismantled bruh

  • @ajiteshgaming1234
    @ajiteshgaming1234 8 месяцев назад +1

    "NOOOOOOOOOOOOO"

  • @blerb204
    @blerb204 28 дней назад

    down below

  • @snowrazijuneptune9272
    @snowrazijuneptune9272 5 месяцев назад

    Hey DevMelon, There Is A Problem With The Script That I Solved The Script Correctly But If I Reset My Character, It Just Doesn't Falls Apart And It Turns Into A Unanchored Mannequin.
    Here Are The Problems:
    1.RunService:UnbindFromRenderStep removed different functions with same reference name utility-focus-state-inspect- 2 times.
    2. Cframe is not a valid member of Attachment "Workspace..LeftLowerArm.Attachment" - Server - RagdollOnDeath:13
    3. Cframe is not a valid member of Attachment "Workspace..LeftLowerArm.Attachment" - Server - RagdollOnDeath:13
    4. Cframe is not a valid member of Attachment "Workspace.>MyUsername?LeftLowerArm.Attachment" - Server - RagdollOnDeath:13
    Please Solve These Problems.

    • @idkwhattoputhere7826
      @idkwhattoputhere7826 2 месяца назад

      on the second problem change the Cframe in the script to CFrame