Universal Script 📌
62.9k Views
6.3k Executions

antistun

Universal Script 📌
vincent009
vincent00910 followers
1 year 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

Entertainment purposes only This Roblox Anti-Ragdoll Script prevents your character from being stunned, ragdolled, or forced into unwanted states (like sitting or falling down). It automatically detects when your Humanoid tries to enter a ragdoll state and forces it back into a standing position, keeping you in control at all times. Key Features: ✔ Blocks ragdolling (prevents forced knockdowns) ✔ Stops unintentional sitting/falling (no more random stuns) ✔ Works automatically on character respawn ✔ Lightweight & efficient (no lag or performance impact) ✔ Like a Tab Glitch Recommend for: ✔ Probably Auto execute for combat games (e.g, TSB, JJS, etc.) Not recommended to: ✖ BUCKSHOT [4+2 Player] and other sit requirement games Ideal for: Combat games where ragdoll effects are annoying Preventing stun-lock exploits Ensuring your character stays upright in any situation Enjoy the script! If there's a issue with the script please leave a comment below

Updates

  1. Script edited: Update script

  2. Script edited: Speeding up the antistun

  3. Script edited: Fixed stunned unsit character in the script (discovered by me)

  4. Script edited: Added detection and the script tested

  5. Script edited: Forgot to add antisit

View Raw
--add us on roblox vincentplayz9356
local player = game:GetService("Players").LocalPlayer

local function setupCharacter(character)
    local humanoid = character:WaitForChild("Humanoid")
    humanoid.Sit = false
    
    local connections = {}
    
    local function handleBadState(newState)
        if newState == Enum.HumanoidStateType.Ragdoll or 
           newState == Enum.HumanoidStateType.FallingDown or 
           newState == Enum.HumanoidStateType.PlatformStanding or
           newState == Enum.HumanoidStateType.Seated then
            humanoid.Sit = false
            humanoid.PlatformStand = false
            humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
            if character:FindFirstChild("HumanoidRootPart") then
                character.HumanoidRootPart.Anchored = false
            end
            return true
        end
        return false
    end
    
    handleBadState(humanoid:GetState())
    
    table.insert(connections, humanoid.StateChanged:Connect(function(_, newState)
        handleBadState(newState)
    end))
    
    for _, seat in pairs(workspace:GetDescendants()) do
        if seat:IsA("Seat") then
            table.insert(connections, seat:GetPropertyChangedSignal("Occupant"):Connect(function()
                if seat.Occupant == humanoid then
                    task.wait(0.01)
                    humanoid.Sit = false
                    humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
                end
            end))


Comments

3
Log in to join the conversation. Login
Defyz's profile picture
Defyz1 year ago

Yes

2
Defyz's profile picture
Defyz1 year ago

Nice

2
KOTE's profile picture
KOTE1 year ago

не работает в -subway mayhem- исправьте пж пж пж

1

Tags

More universal scripts

See all
Universal Script 📌
4.6k
3.0k
Bumped 51 minutes ago
Script hub
9.7k
70.7k
Bumped 2 hours ago
Key System
Script hub
187.0k
1.9M
Bumped 4 hours ago
Key System

Script hub

#13 this week

Verified script badgeAirflow HUB

Script hub
602.2k
52.8k
Bumped 4 hours ago
Script hub
45.6k
11.1k
Bumped 5 hours ago
Key System
Paid

Script hub

#25 this month

Verified script badgeZekeHub - 58 Games, 1,300+ Features