Universal Script 📌
2.6k Views
4.0k Executions

AntiRagdoll Script

Universal Script 📌
gianniscripts2026
gianniscripts202610K executions
10 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

AntiRagdoll Script por SAB or Ragdoll game.

View Raw
-- LocalScript (CLIENT ONLY)

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

-- Guardamos la posición original de las articulaciones
local joints = {}
for _, joint in pairs(character:GetDescendants()) do
	if joint:IsA("Motor6D") then
		joints[joint.Name] = {Part0 = joint.Part0, Part1 = joint.Part1, C0 = joint.C0, C1 = joint.C1}
	end
end

-- Función para restaurar joints
local function restoreJoints()
	for name, data in pairs(joints) do
		if data.Part0:FindFirstChild(name) == nil then
			local joint = Instance.new("Motor6D")
			joint.Name = name
			joint.Part0 = data.Part0
			joint.Part1 = data.Part1
			joint.C0 = data.C0
			joint.C1 = data.C1
			joint.Parent = data.Part0
		end
	end
end

-- Previene la caída (ragdoll) cada frame
game:GetService("RunService").RenderStepped:Connect(function()
	if humanoid:GetState() == Enum.HumanoidStateType.Physics or
	   humanoid:GetState() == Enum.HumanoidStateType.Freefall or
	   humanoid:GetState() == Enum.HumanoidStateType.Seated then
		humanoid:ChangeState(Enum.HumanoidStateType.Running)
		restoreJoints()
	end
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
24
0
Approved 59 minutes ago
Key System
Script hub
3.0M
1.1M
Bumped 5 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
256
103
1 day ago
Script hub
277.6k
165.7k
Bumped 6 hours ago
Key System
Universal Script 📌
6.7k
17.1k
Bumped 7 hours ago
Script hub
1.7M
432.5k
Bumped 8 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported