Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//====================================================\\--
- --|| SIMPLE ANTISKID BY SHACKLUSTER
- --\\====================================================//--
- script.Parent = game.ServerScriptService
- local PLAYERSERVICE = game:GetService("Players")
- local SPACE = workspace
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- ANGLES = CFrame.Angles
- MRANDOM = math.random
- script.Name = "|| SHACKLUSTER - ANTISKID ||"
- --//=================================\\
- --|| FUNCTIONS
- --\\=================================//
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "rbxassetid://"..ID
- NEWSOUND:play()
- end))
- return NEWSOUND
- end
- function JointKiller(Model)
- for index, CHILD in pairs(Model:GetDescendants()) do
- if CHILD:IsA("JointInstance") then
- CHILD.Part0 = nil
- CHILD.Part1 = nil
- CHILD:remove()
- end
- end
- end
- function KILL(MODEL)
- coroutine.resume(coroutine.create(function()
- local PARENT = MODEL
- JointKiller(MODEL)
- MODEL:BreakJoints()
- for index, CHILD in pairs(MODEL:GetChildren()) do
- if CHILD:IsA("BasePart") then
- local FLIGHTFORCE = IT("BodyPosition",CHILD)
- FLIGHTFORCE.D = 215
- FLIGHTFORCE.P = 200
- FLIGHTFORCE.maxForce = VT(40000,40000,40000)
- FLIGHTFORCE.position = CHILD.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(2,15)).p
- game:GetService("Debris"):AddItem(FLIGHTFORCE,MRANDOM(12,25)/10)
- if (CHILD.Name == "Torso" or CHILD.Name == "UpperTorso") and CHILD:FindFirstChild("ANTISKID") == nil then
- local F = IT("Folder",CHILD)
- F.Name = "ANTISKID"
- CreateSound(245910488, CHILD, 10, MRANDOM(7,13)/10)
- end
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- CHILD.Parent = workspace
- CHILD.CanCollide = true
- end))
- elseif CHILD:IsA("Humanoid") then
- game:GetService("Debris"):AddItem(CHILD,0.1)
- end
- game:GetService("Debris"):AddItem(CHILD,4)
- end
- end))
- end
- --//=================================\\
- --|| LOOP THE SCRIPT
- --\\=================================//
- warn([[
- YO WHADDUP G
- //=================================\\
- SHACKLUSTER ANTISKID
- LOADED SUCCESFULLY
- \\=================================//]])
- local LOOP = 0
- while true do
- wait()
- for index, CHILD in pairs(PLAYERSERVICE:GetChildren()) do
- if CHILD.Character then
- local KILLTHISSKID = false
- AVATAR = CHILD.Character
- if AVATAR.Parent ~= workspace then
- KILLTHISSKID = true
- else
- if AVATAR:FindFirstChild("Warden") or AVATAR:FindFirstChild("Deadeyes") or AVATAR:FindFirstChild("Monarch") then
- KILLTHISSKID = true
- end
- end
- if KILLTHISSKID == true then
- AVATAR.Parent = workspace
- KILL(AVATAR)
- end
- end
- if LOOP == 0 then
- LOOP = 1
- warn("SUCCESFULLY LOOPED")
- end
- end
- end
- --//==================================\\
- --||IT'S SIMPLE, BUT GETS THE JOB DONE
- --\\==================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement