Ragdoll System Test Script | KILLAURA, GODMODE, ANTI-RAGDOLL

Created by skyr3x

Features:

  • KILLAURA
  • GODMODE
  • ANTI-RAGDOLL
local autoheal = true -- automatically heal
local antiragdoll = true -- instantly get back up when getting ragdolled, doesnt prevent knockback

local minhealth = 50 -- health at which you will heal back up

local attackrange = 32 -- actual attack range is 30 i think
local toolname = "Kick" -- what tool to use
local p2wonly = true -- set to true to only attack people that bought the baseball bat

local pl = game:GetService("Players")
local lp = pl.LocalPlayer
local char = lp.Character
local hrp = char.HumanoidRootPart
local tool = lp.Backpack:FindFirstChild(toolname) or char:FindFirstChild(toolname)

if tool.Parent ~= char then
    tool.Parent = char
    wait()
end


local function isp2w(plr)
    local bat = plr.StarterGear:FindFirstChild("Baseball Bat")
    local banana = plr.StarterGear:FindFirstChild("Banana Peel")
    if bat and not banana then
        return true
    end
    return false
end

local hasantid = false

local con;con = game:GetService("RunService").Heartbeat:Connect(function()
    for i,v in pairs(pl:GetPlayers()) do
        if v ~= lp and tool.Parent == char and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v then
            if (hrp.Position - v.Character.HumanoidRootPart.Position).magnitude < attackrange then
                if (p2wonly and isp2w(v)) or p2wonly == false then
                    tool.Remote:InvokeServer(v.Character)
                end
            end
        end
    end
    if autoheal and char.Humanoid.Health <= minhealth then
        game:GetService("ReplicatedStorage").FallDamageEvent:FireServer(-math.huge, false)
    end
    if antiragdoll and char:FindFirstChild("CollisionPart") and hasantid == false then
        game:GetService("ReplicatedStorage").FallRagdollerEvent:FireServer(0, false)
        hasantid = true
        wait(.2)
        hasantid = false
    end
    wait()
end)

char.Humanoid.Died:Connect(function()
    con:Disconnect()
end)

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

More Scripts!

TOP 10 TRENDING SCRIPTS