rrixh

FE RAGDOLL r6

Jul 9th, 2023
2,425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. local A_1 = "This is it im doing it."
  2. local A_2 = "All"
  3. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  4. Event:FireServer(A_1, A_2)
  5. wait(1)
  6. local A_1 = "I'm going to commit oof."
  7. local A_2 = "All"
  8. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  9. Event:FireServer(A_1, A_2)
  10. wait(1)
  11. local A_1 = "Sayonara cruel world."
  12. local A_2 = "All"
  13. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  14. Event:FireServer(A_1, A_2)
  15. wait(1)
  16. LocalPlayer = game:GetService("Players").LocalPlayer
  17. LocalPlayer.Character.Humanoid:MoveTo(LocalPlayer.Character.HumanoidRootPart.Position + LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 10)
  18. LocalPlayer.Character.Humanoid.Jump = true
  19. wait(0.5)
  20. function Iterate(instance, func)
  21. for i, v in next, instance:GetChildren() do
  22. func(v)
  23. end
  24. end
  25. limbs = {
  26. ["Right Leg"] = true;
  27. ["Right Arm"] = true;
  28. ["Left Leg"] = true;
  29. ["Left Arm"] = true;
  30. }
  31. Iterate(LocalPlayer.Character, function(v)
  32. if v:IsA("BasePart") then
  33. local attachment = Instance.new("Attachment")
  34. attachment.Parent = v
  35. attachment.Name = (v.Name .. "[Attachment]")
  36. if limbs[v.Name] then
  37. attachment.Position = Vector3.new(0, v.Size.Y/2, 0)
  38. elseif v.Name == "Head" then
  39. attachment.Position = Vector3.new(0, -v.Size.Y/2, 0)
  40. attachment.Rotation = Vector3.new(0, 0, -90)
  41. end
  42. end
  43. end)
  44. local leftLegAttachment = Instance.new("Attachment")
  45. leftLegAttachment.Position = Vector3.new(-.5, -1, 0)
  46. leftLegAttachment.Rotation = Vector3.new(0, -90, 0)
  47. local rightLegAttachment = Instance.new("Attachment")
  48. rightLegAttachment.Position = Vector3.new(.5, -1, 0)
  49. rightLegAttachment.Rotation = Vector3.new(0, -90, 0)
  50. rightLegAttachment.Parent, leftLegAttachment.Parent = LocalPlayer.Character.Torso, LocalPlayer.Character.Torso
  51. jointAttachments = {
  52. ['Head'] = {
  53. ['Attachment0'] = LocalPlayer.Character.Torso['NeckAttachment'];
  54. ['Attachment1'] = LocalPlayer.Character.Head['Head[Attachment]'];
  55. };
  56. ['Left Arm'] = {
  57. ['Attachment0'] = LocalPlayer.Character.Torso['LeftCollarAttachment'];
  58. ['Attachment1'] = LocalPlayer.Character['Left Arm']['Left Arm[Attachment]'];
  59. };
  60. ['Right Arm'] = {
  61. ['Attachment0'] = LocalPlayer.Character.Torso['RightCollarAttachment'];
  62. ['Attachment1'] = LocalPlayer.Character['Right Arm']['Right Arm[Attachment]'];
  63. };
  64. ['Left Leg'] = {
  65. ['Attachment0'] = leftLegAttachment;
  66. ['Attachment1'] = LocalPlayer.Character['Left Leg']['Left Leg[Attachment]'];
  67. };
  68. ['Right Leg'] = {
  69. ['Attachment0'] = rightLegAttachment;
  70. ['Attachment1'] = LocalPlayer.Character['Right Leg']['Right Leg[Attachment]'];
  71. };
  72. }
  73. LocalPlayer.Character.Humanoid.PlatformStand = true
  74. Iterate(LocalPlayer.Character, function(v)
  75. if v:IsA("BasePart") then
  76. if jointAttachments[v.Name] then
  77. local ballSocketJoint = Instance.new("BallSocketConstraint")
  78. ballSocketJoint.Parent = v
  79. ballSocketJoint.Radius = 0.15
  80. ballSocketJoint.Attachment0, ballSocketJoint.Attachment1 = jointAttachments[v.Name]['Attachment0'], jointAttachments[v.Name]['Attachment1']
  81. end
  82. end
  83. end)
  84. Iterate(LocalPlayer.Character.Torso, function(v)
  85. if v:IsA("Motor") then
  86. v:Remove()
  87. end
  88. end)
Add Comment
Please, Sign In to add comment