Josiahiscool73

steal a brainrot anti ragdoll

Nov 23rd, 2025
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. local RS = game:GetService("RunService")
  2. local Plrs = game:GetService("Players")
  3. local Gui = game:GetService("GuiService")
  4. local LP = Plrs.LocalPlayer
  5.  
  6. local Scripts = LP:WaitForChild("PlayerScripts")
  7. local Module = require(Scripts:WaitForChild("PlayerModule"))
  8. local Controls = Module:GetControls()
  9.  
  10. local Banned = {"BallSocketConstraint", "HingeConstraint", "NoCollisionConstraint"}
  11.  
  12. local function FixControls()
  13. Controls:Enable()
  14.  
  15. if LP.DevTouchMovementMode == Enum.DevTouchMovementMode.Scriptable then
  16. LP.DevTouchMovementMode = Enum.DevTouchMovementMode.UserChoice
  17. end
  18.  
  19. if LP.DevComputerMovementMode == Enum.DevComputerMovementMode.Scriptable then
  20. LP.DevComputerMovementMode = Enum.DevComputerMovementMode.UserChoice
  21. end
  22.  
  23. if not Gui.TouchControlsEnabled then
  24. Gui.TouchControlsEnabled = true
  25. end
  26. end
  27.  
  28. local function Clean(char)
  29. if not char then return end
  30. local hum = char:FindFirstChildOfClass("Humanoid")
  31. if not hum then return end
  32.  
  33. if hum.PlatformStand then hum.PlatformStand = false end
  34. if hum.Sit then hum.Sit = false end
  35.  
  36. local state = hum:GetState()
  37. if state == Enum.HumanoidStateType.Physics or state == Enum.HumanoidStateType.Dead then
  38. hum:ChangeState(Enum.HumanoidStateType.Running)
  39. end
  40.  
  41. if hum.WalkSpeed < 16 then hum.WalkSpeed = 16 end
  42.  
  43. for _, v in ipairs(char:GetDescendants()) do
  44. if table.find(Banned, v.ClassName) then
  45. v:Destroy()
  46. elseif v:IsA("Motor6D") and not v.Enabled then
  47. v.Enabled = true
  48. elseif v:IsA("Attachment") and (v.Name == "Attachment" or v.Name == "Attachment 6") then
  49. if v.Parent and v.Parent:IsA("BasePart") and not v.Parent.Parent:IsA("Accessory") then
  50. v:Destroy()
  51. end
  52. end
  53. end
  54. end
  55.  
  56. RS:BindToRenderStep("AntiRagdoll", Enum.RenderPriority.Last.Value + 1, function()
  57. FixControls()
  58. if LP.Character then
  59. Clean(LP.Character)
  60. end
  61. end)
Advertisement
Add Comment
Please, Sign In to add comment