Universal Script 📌
828 Views
160 Executions

Auto Damage Fling

Universal Script 📌
Innovator
InnovatorPublished 10
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

All the script does is when you take damage, it throws you back, it's all WAAAAAAAH

View Raw
local player = game.Players.LocalPlayer
local runService = game:GetService("RunService")

local kbPower = 1000
local upForce = 250
local stunTime = 0.9
local cd = 0.5

local lastKb = 0
local ragdolled = false

local function ragdoll(char, enable)
	if not char then return end
	
	local hum = char:FindFirstChildOfClass("Humanoid")
	if not hum then return end
	
	local r6 = hum.RigType == Enum.HumanoidRigType.R6

	hum.PlatformStand = enable
	hum.AutoRotate = not enable
	hum.Sit = false

	if enable then
		for _, joint in char:GetDescendants() do
			if joint:IsA("Motor6D") then
				if r6 and joint.Name == "Neck" then continue end
				
				if joint.Enabled then
					joint.Enabled = false
					
					local a0 = Instance.new("Attachment")
					a0.Name = "TempAttachment0"
					a0.Parent = joint.Part0
					a0.CFrame = joint.C0
					
					local a1 = Instance.new("Attachment")
					a1.Name = "TempAttachment1"
					a1.Parent = joint.Part1
					a1.CFrame = joint.C1


Comments

1
Log in to join the conversation. Login
1ce1cey's profile picture
1ce1cey10 months ago

W W W Mango Mustard 67 Trollface Funk

1

Tags

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 5 minutes ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.5k
Bumped 3 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 7 hours ago
Script hub
3.5M
1.2M
Bumped 8 hours ago
Key System