SebTDZ

Rufus14's Anti-Skid v5

Jul 10th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Script made by Rufus14
  2. --owner = game.Players[script.Parent.Name]
  3. script.Parent = game.ServerScriptService
  4. cannotify = true
  5. function message(msg)
  6.     if cannotify then
  7.         cannotify = false
  8.         local messagesound = Instance.new("Sound", workspace)
  9.         messagesound.SoundId = "rbxassetid://651986414"
  10.         messagesound.Volume = 5.999
  11.         messagesound:Play()
  12.         game.Debris:AddItem(messagesound, messagesound.TimeLength)
  13.         if owner.Character then
  14.             if owner.Character:findFirstChild("HumanoidRootPart") then
  15.                 local pos1 = math.random(-5,5)
  16.                 local pos2 = math.random(-5,5)
  17.                 local model = Instance.new("Model", owner.Character)
  18.                 model.Name = [[(Anti-Skid v5)
  19.                 ]]..msg
  20.                 local human0 = Instance.new("Humanoid", model)
  21.                 human0.Name = "MessageHuman0id"
  22.                 human0.MaxHealth = 0
  23.                 human0.Health = 0
  24.                 local part = Instance.new("Part", model)
  25.                 part.Size = Vector3.new(0,0,0)
  26.                 part.BrickColor = BrickColor.Random()
  27.                 part.Material = "ForceField"
  28.                 part:BreakJoints()
  29.                 part.CanCollide = false
  30.                 part.CFrame = owner.Character.HumanoidRootPart.CFrame
  31.                 part.Name = "Head"
  32.                 local bodyposition = Instance.new("BodyPosition", part)
  33.                 bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  34.                 bodyposition.Position = owner.Character.HumanoidRootPart.Position
  35.                 local function spinandpos()
  36.                     while wait() do
  37.                         if owner.Character:findFirstChild("HumanoidRootPart") then
  38.                             bodyposition.Position = owner.Character:findFirstChild("HumanoidRootPart").Position + Vector3.new(pos1,0,pos2)
  39.                         end
  40.                         part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0.02,0.02,0.02)
  41.                     end
  42.                 end
  43.                 local function resize()
  44.                     while wait() and part.Size.x < 1.5 do
  45.                         part.Size = part.Size + Vector3.new(0.05,0.05,0.05)
  46.                     end
  47.                     wait(4)
  48.                     for i = 1,30 do
  49.                         part.Size = part.Size + Vector3.new(0.05,0.05,0.05)
  50.                         part.Transparency = part.Transparency + 0.015
  51.                         wait()
  52.                     end
  53.                     model:destroy()
  54.                 end
  55.                 local function let()
  56.                     wait(0.5)
  57.                     cannotify = true
  58.                 end
  59.                 spawn(let)
  60.                 spawn(spinandpos)
  61.                 spawn(resize)
  62.             end
  63.         end
  64.     end
  65. end
  66. function punishplayer(character)
  67.     if not character:findFirstChild("pwned") then
  68.         Instance.new("BoolValue", character).Name = "pwned"
  69.         local punishrandom = math.random(1,4)
  70.         for i,v in pairs(character:GetChildren()) do
  71.             if v.ClassName == "Sound" then
  72.                 v:destroy()
  73.             end
  74.             for q,w in pairs(v:GetChildren()) do
  75.                 if w.ClassName == "Sound" and w.Name ~= "JevilTheme" then
  76.                     w:destroy()
  77.                 end
  78.             end
  79.         end
  80.         if punishrandom == 1 then
  81.             for i = 1,20 do
  82.                 for q,w in pairs(character:GetChildren()) do
  83.                     if w.ClassName == "Part" then
  84.                         w.Transparency = w.Transparency + 0.05
  85.                     end
  86.                     if w.ClassName == "Accessory" then
  87.                         if w:findFirstChild("Handle") then
  88.                             w.Handle.Transparency = w.Handle.Transparency + 0.05
  89.                         end
  90.                     end
  91.                     if w.Name == "Head" then
  92.                         if w:findFirstChildOfClass("Decal") then
  93.                             w:findFirstChildOfClass("Decal").Transparency = w:findFirstChildOfClass("Decal").Transparency + 0.05
  94.                         end
  95.                     end
  96.                 end
  97.                 wait()
  98.             end
  99.             for q,w in pairs(character:GetChildren()) do
  100.                 if w.ClassName == "Part" or w.ClassName == "Accessory" then
  101.                     w:destroy()
  102.                 end
  103.             end
  104.         elseif punishrandom == 2 then
  105.             character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  106.             character:findFirstChildOfClass("Humanoid").JumpPower = 0
  107.             local function addweld()
  108.                 if character:findFirstChild("Torso") then
  109.                     local heead = Instance.new("Weld", character.Torso)
  110.                     heead.Part0 = character.Torso
  111.                     heead.Part1 = character.Head
  112.                     heead.C0 = CFrame.new(0,1.5,0)
  113.                     heead.Name = "HeadWeld"
  114.                     wait(0.7)
  115.                     for i = 0,1 , 0.08 do
  116.                         heead.C0 = heead.C0:lerp(CFrame.new(0,1.5,0.4) * CFrame.fromEulerAnglesXYZ(1.2,0,0),i)
  117.                         wait()
  118.                     end
  119.                     wait(0.7)
  120.                     while wait() do
  121.                         heead.C0 = heead.C0 * CFrame.fromEulerAnglesXYZ(0.5,0.5,0.5)
  122.                     end
  123.                 elseif character:findFirstChild("UpperTorso") then
  124.                     local heead = Instance.new("Weld", character.UpperTorso)
  125.                     heead.Part0 = character.UpperTorso
  126.                     heead.Part1 = character.Head
  127.                     heead.C0 = CFrame.new(0,1.5,0)
  128.                     heead.Name = "HeadWeld"
  129.                     wait(0.7)
  130.                     for i = 0,1 , 0.08 do
  131.                         heead.C0 = heead.C0:lerp(CFrame.new(0,1.5,0.4) * CFrame.fromEulerAnglesXYZ(1.2,0,0),i)
  132.                         wait()
  133.                     end
  134.                     wait(0.7)
  135.                     while wait() do
  136.                         heead.C0 = heead.C0 * CFrame.fromEulerAnglesXYZ(0.5,0.5,0.5)
  137.                     end
  138.                 end
  139.             end
  140.             spawn(addweld)
  141.             local banhamma = Instance.new("Part", character)
  142.             banhamma.Size = Vector3.new(3, 10, 2)
  143.             banhamma:BreakJoints()
  144.             banhamma.CFrame = character.Head.CFrame * CFrame.new(0,20,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,1)
  145.             banhamma.Name = "ban"
  146.             banhamma.Transparency = 1
  147.             banhamma.Anchored = true
  148.             local mesh = Instance.new("SpecialMesh", banhamma)
  149.             mesh.MeshId = "http://www.roblox.com/asset/?id=10604848"
  150.             mesh.TextureId = "http://www.roblox.com/asset/?id=10605252"
  151.             local special = Instance.new("Sound", banhamma)
  152.             special.SoundId = "rbxassetid://427090157"
  153.             special.Volume = 2
  154.             special:Play()
  155.             for i = 1,20 do
  156.                 banhamma.Transparency = banhamma.Transparency - 0.05
  157.                 wait()
  158.             end
  159.             local hammertime = Instance.new("Sound", banhamma)
  160.             hammertime.SoundId = "rbxassetid://176192087"
  161.             hammertime.Volume = 3
  162.             hammertime:Play()
  163.             wait(1)
  164.             if character:findFirstChild("Head") then
  165.                 local scream = Instance.new("Sound", character.Head)
  166.                 scream.SoundId = "rbxassetid://176238381"
  167.                 scream.Volume = 2
  168.                 scream:Play()
  169.                 banhamma.Anchored = false
  170.                 local angularvel = Instance.new("BodyAngularVelocity", banhamma)
  171.                 angularvel.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  172.                 angularvel.AngularVelocity = banhamma.CFrame.rightVector * 20
  173.                 local touchedban = false
  174.                 local function touched(part)
  175.                     if part.Name == "Head" and part.Parent == character then
  176.                         touchedban = true
  177.                         local aaaaaaaa = Instance.new("Sound", banhamma)
  178.                         aaaaaaaa.SoundId = "rbxassetid://147722910"
  179.                         aaaaaaaa.Volume = 2
  180.                         aaaaaaaa:Play()
  181.                         angularvel:Destroy()
  182.                         banhamma.CanCollide = true
  183.                         for i,v in pairs(character:GetChildren()) do
  184.                             if v.ClassName == "Part" and v.Name ~= "ban" or v.ClassName == "Accessory" then
  185.                                 v:destroy()
  186.                             end
  187.                         end
  188.                     end
  189.                 end
  190.                 banhamma.Touched:connect(touched)
  191.                 wait(2)
  192.                 if not touchedban and character:findFirstChild("Head") then
  193.                     banhamma.CFrame = character:findFirstChild("Head").CFrame
  194.                 end
  195.             end
  196.         elseif punishrandom == 3 then
  197.             character:BreakJoints()
  198.             character:findFirstChildOfClass("Humanoid").Health = 0
  199.             local explo = Instance.new("Explosion", character)
  200.             explo.Position = character.Head.Position
  201.             explo.BlastPressure = 0
  202.             local boom = Instance.new("Sound", character.Head)
  203.             boom.SoundId = "rbxassetid://262562442"
  204.             boom.Volume = 3
  205.             boom:Play()
  206.             for i,v in pairs(character:GetChildren()) do
  207.                 if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  208.                     local velocity = Instance.new("BodyVelocity", v)
  209.                     velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  210.                     velocity.Velocity = Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
  211.                     game.Debris:AddItem(velocity, 0.5)
  212.                 end
  213.             end
  214.             wait(2)
  215.             if character:findFirstChild("Head") then
  216.                 character:findFirstChild("Head"):destroy()
  217.             end
  218.         elseif punishrandom == 4 then
  219.             character.Head:destroy()
  220.             if character:findFirstChild("HumanoidRootPart") then
  221.                 local boom = Instance.new("Sound", character.HumanoidRootPart)
  222.                 boom.SoundId = "rbxassetid://775395533"
  223.                 boom.Volume = 1.5
  224.                 boom:Play()
  225.             end
  226.         end
  227.     end
  228. end
  229. function scan()
  230.     while wait() do
  231.         for i,w in pairs(workspace:GetChildren()) do
  232.             if w.ClassName == "Sound" and w.Name ~= "Sound" and not w:findFirstChild("muted") then
  233.                 if w.Volume >= 6 then
  234.                     Instance.new("BoolValue", w).Name = "muted"
  235.                     local function lolriplmao()
  236.                         while game:GetService("RunService").Heartbeat:wait() do
  237.                             w.Volume = 1
  238.                         end
  239.                     end
  240.                     spawn(lolriplmao)
  241.                     message("Detected loud audio coming from workspace")
  242.                 end
  243.             end
  244.         end
  245.         for i,v in pairs(game:GetService("Players"):GetChildren()) do
  246.             if v.ClassName == "Sound" then
  247.                 v:destroy()
  248.             end
  249.             if v.Character then
  250.                 if not v.Character:findFirstChild("pwned") then
  251.                     --ultra instict 2019
  252.                     if v.Character:findFirstChild("Hair") then
  253.                         if v.Character.Hair:findFirstChild("Mesh") then
  254.                             if v.Character.Hair.Mesh.MeshId == "rbxassetid://455100513" then
  255.                                 local function uncol()
  256.                                     while game:GetService("RunService").Heartbeat:wait() do
  257.                                         v.Character.Hair.CanCollide = false
  258.                                     end
  259.                                 end
  260.                                 spawn(uncol)
  261.                                 for q,w in pairs(v.Character:GetChildren()) do
  262.                                     if w.Name == "NewPart" then
  263.                                         w.CanCollide = false
  264.                                     end
  265.                                 end
  266.                                 punishplayer(v.Character)
  267.                                 message(v.Name.." has used Ultra Instict.")
  268.                             end
  269.                         end
  270.                     end
  271.                     --nahid Chara
  272.                     if v.Character:findFirstChild("Blob") then
  273.                         if v.Character:findFirstChild("Name") then
  274.                             if v.Character:findFirstChild("Name"):findFirstChild("TextLabel") then
  275.                                 v.Character:findFirstChild("Name").TextLabel.Text = "lol skid"
  276.                                 punishplayer(v.Character)
  277.                                 message(v.Name.." has used nahid Chara/Jevil.")
  278.                             end
  279.                         end
  280.                     end
  281.                     --star glitcher
  282.                     if v.Character:findFirstChild("Head") then
  283.                         if v.Character.Head:findFirstChild("ModeName") then
  284.                             if v.Character.Head:findFirstChild("ModeName"):findFirstChildOfClass("TextLabel") then
  285.                                 v.Character.Head:findFirstChild("ModeName"):findFirstChildOfClass("TextLabel").Text = "nah get out star skid"
  286.                                 punishplayer(v.Character)
  287.                                 message(v.Name.." has used Star Glitcher.")
  288.                             end
  289.                         end
  290.                     end
  291.                     if v.Character:findFirstChildOfClass("Sound") then
  292.                         if v.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://614032233" or v.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://415898123" or v.Character:findFirstChildOfClass("Sound").Name == "wrecked" then
  293.                             punishplayer(v.Character)
  294.                             message(v.Name.." has used Star Glitcher.")
  295.                         end
  296.                     end
  297.                     --big ban theory
  298.                     if v.Character:findFirstChild("Hammer") then
  299.                         v.Character:findFirstChild("Hammer"):destroy()
  300.                         punishplayer(v.Character)
  301.                         message(v.Name.." probably used Big Ban Theory.")
  302.                     end
  303.                     --dual doom
  304.                     if v.Character:findFirstChild("Dual Doom") then
  305.                         v.Character:findFirstChild("Dual Doom"):destroy()
  306.                         if v.Character:findFirstChild("Dual Doom") then
  307.                             v.Character:findFirstChild("Dual Doom"):destroy()
  308.                         end
  309.                         punishplayer(v.Character)
  310.                         message(v.Name.." used Dual Doom.")
  311.                     end
  312.                     --jevil (im so sorry mrfunnylaughs)
  313.                     if v.Character:findFirstChild("Torso") then
  314.                         if v.Character.Torso:findFirstChild("JevilTheme") then
  315.                             v.Character.Torso:findFirstChild("JevilTheme").SoundId = "rbxassetid://1953695670"
  316.                             v.Character.Torso:findFirstChild("JevilTheme").TimePosition = 5
  317.                             v.Character.Torso:findFirstChild("JevilTheme"):Play()
  318.                             punishplayer(v.Character)
  319.                             message(v.Name.." has used Jevil.")
  320.                         end
  321.                     end
  322.                     --dead gun
  323.                     if v.Character:findFirstChild("Torso") then
  324.                         if v.Character.Torso:findFirstChild("Sound") then
  325.                             if v.Character.Torso:findFirstChild("Sound").SoundId == "rbxassetid://318812395" then
  326.                                 v.Character.Torso:findFirstChild("Sound").SoundId = "rbxassetid://775395533"
  327.                                 punishplayer(v.Character)
  328.                                 message(v.Name.." has used Dead Gun.")
  329.                             end
  330.                         end
  331.                     end
  332.                     --guest glitcher
  333.                     if v.Character:findFirstChild("wreckeda") then
  334.                         punishplayer(v.Character)
  335.                         message(v.Name.." has used Guest Glitcher/Galaxy Glitcher.")
  336.                     end
  337.                     --xester
  338.                     if v.Character:findFirstChild("Torso") then
  339.                         if v.Character.Torso:findFirstChild("doomtheme") then
  340.                             punishplayer(v.Character)
  341.                             message(v.Name.." has used Xester.")
  342.                         end
  343.                     end
  344.                     --remote
  345.                     if v.Character:findFirstChild("Torso") then
  346.                         if v.Character:FindFirstChild("Remote") then
  347.                             punishplayer(v.Character)
  348.                             message(v.Name.." has used Remote.")
  349.                         end
  350.                     end
  351.                     --the switcher
  352.                     if v.Character:findFirstChild("_status") then
  353.                         if v.Character["_status"]:findFirstChildOfClass("TextLabel") then
  354.                             v.Character["_status"]:findFirstChildOfClass("TextLabel").Text = "skiddity swooty"
  355.                             punishplayer(v.Character)
  356.                             message(v.Name.." has probably used The Switcher or any op script.")
  357.                         end
  358.                     end
  359.                     --chaotic glicher
  360.                     if v.Character:findFirstChild("_status") then
  361.                         if v.Character["_status"]:findFirstChild("TextLabel") then
  362.                             if string.sub(v.Character["_status"]:findFirstChild("TextLabel").Text,1,5) == "Lunar" then
  363.                                 v.Character["_status"]:findFirstChild("TextLabel").Text = "rip chaotic lol"
  364.                                 punishplayer(v.Character)
  365.                                 message(v.Name.." has used Chaotic Glicher.")
  366.                             end
  367.                         end
  368.                     end
  369.                 end
  370.             end
  371.         end
  372.     end
  373. end
  374. spawn(scan)
  375. function commands(chat)
  376.     if string.sub(chat, 1,5) == ",stop" then
  377.         local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 7))
  378.         if ply then
  379.             if ply.Name == "Rufus14" then
  380.                 message("get out")
  381.                 punishplayer(owner.Character)
  382.             else
  383.                 if ply.Character then
  384.                     punishplayer(ply.Character)
  385.                     message("Punished "..ply.Name..".")
  386.                 else
  387.                     message("Player didnt spawn yet.")
  388.                 end
  389.             end
  390.         else
  391.             message("Cannot find the player named '"..string.sub(chat, 10).."'.")
  392.         end
  393.     end
  394.     if string.sub(chat, 1,10) == ",unsandbox" then
  395.         local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 12))
  396.         if ply then
  397.             local lool = Instance.new("BoolValue", ply)
  398.             lool.Name = "stopsandboxing"
  399.             game.Debris:AddItem(lool, 0.5)
  400.             message("Unsandboxed "..ply.Name..".")
  401.         else
  402.             message("Cannot find the player named '"..string.sub(chat, 12).."'.")
  403.         end
  404.     end
  405.     if string.sub(chat, 1,8) == ",sandbox" then
  406.         if string.sub(chat, 10,12) == "all" then
  407.             for i,v in pairs(game:GetService("Players"):GetChildren()) do
  408.                 if v.Character then
  409.                     local ply = v
  410.                     modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  411.                     modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  412.                     local scamhumanoid = Instance.new("Humanoid", modell)
  413.                     modell2 = Instance.new("Model", modell)
  414.                     modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  415.                     ply.Character.Parent = modell2
  416.                     ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  417.                     local function checkifnil()
  418.                         if ply.Character:findFirstChild("HumanoidRootPart") then
  419.                             if ply:findFirstChild("humrootpos") then
  420.                                 ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  421.                             else
  422.                                 local posnow = Instance.new("CFrameValue", ply)
  423.                                 posnow.Value = ply.Character.HumanoidRootPart.CFrame
  424.                                 posnow.Name = "humrootpos"
  425.                             end
  426.                         end
  427.                         while wait() and not ply:findFirstChild("stopsandboxing") do
  428.                             if ply.Character then
  429.                                 if ply.Character:findFirstChild("HumanoidRootPart") then
  430.                                     if ply:findFirstChild("humrootpos") then
  431.                                         ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  432.                                     else
  433.                                         local posnow = Instance.new("CFrameValue", ply)
  434.                                         posnow.Value = ply.Character.HumanoidRootPart.CFrame
  435.                                         posnow.Name = "humrootpos"
  436.                                     end
  437.                                 end
  438.                             end
  439.                             if ply.Character.Parent == nil or modell.Parent == nil or modell2.Parent == nil then
  440.                                 ply:LoadCharacter()
  441.                                 while not ply.Character do
  442.                                     game:GetService("RunService").Heartbeat:wait()
  443.                                 end
  444.                                 ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  445.                                 wait()
  446.                                 modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  447.                                 modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  448.                                 local scamhumanoid = Instance.new("Humanoid", modell)
  449.                                 modell2 = Instance.new("Model", modell)
  450.                                 modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  451.                                 ply.Character.Parent = modell2
  452.                                 ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  453.                             end
  454.                         end
  455.                         print("stopped")
  456.                         ply:LoadCharacter()
  457.                         while not ply.Character do
  458.                             game:GetService("RunService").Heartbeat:wait()
  459.                         end
  460.                         ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  461.                         ply:findFirstChild("humrootpos"):destroy()
  462.                     end
  463.                     spawn(checkifnil)
  464.                     message("Separated every player from workspace.")
  465.                 end
  466.             end
  467.         else
  468.             local ply = game:GetService("Players"):findFirstChild(string.sub(chat, 10))
  469.             if ply then
  470.                 if ply.Character then
  471.                     modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  472.                     modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  473.                     local scamhumanoid = Instance.new("Humanoid", modell)
  474.                     modell2 = Instance.new("Model", modell)
  475.                     modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  476.                     ply.Character.Parent = modell2
  477.                     ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  478.                     local function checkifnil()
  479.                         if ply.Character:findFirstChild("HumanoidRootPart") then
  480.                             if ply:findFirstChild("humrootpos") then
  481.                                 ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  482.                             else
  483.                                 local posnow = Instance.new("CFrameValue", ply)
  484.                                 posnow.Value = ply.Character.HumanoidRootPart.CFrame
  485.                                 posnow.Name = "humrootpos"
  486.                             end
  487.                         end
  488.                         while wait() and not ply:findFirstChild("stopsandboxing") do
  489.                             if ply.Character then
  490.                                 if ply.Character:findFirstChild("HumanoidRootPart") then
  491.                                     if ply:findFirstChild("humrootpos") then
  492.                                         ply:findFirstChild("humrootpos").Value = ply.Character.HumanoidRootPart.CFrame
  493.                                     else
  494.                                         local posnow = Instance.new("CFrameValue", ply)
  495.                                         posnow.Value = ply.Character.HumanoidRootPart.CFrame
  496.                                         posnow.Name = "humrootpos"
  497.                                     end
  498.                                 end
  499.                             end
  500.                             if ply.Character.Parent == nil or modell.Parent == nil or modell2.Parent == nil then
  501.                                 ply:LoadCharacter()
  502.                                 while not ply.Character do
  503.                                     game:GetService("RunService").Heartbeat:wait()
  504.                                 end
  505.                                 ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  506.                                 wait()
  507.                                 modell = Instance.new("Model", workspace:FindFirstChildOfClass("Terrain"))
  508.                                 modell.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  509.                                 local scamhumanoid = Instance.new("Humanoid", modell)
  510.                                 modell2 = Instance.new("Model", modell)
  511.                                 modell2.Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  512.                                 ply.Character.Parent = modell2
  513.                                 ply.Character:findFirstChildOfClass("Humanoid").Name = tostring(math.random(1,999999)) + tostring(math.random(1,999999))
  514.                             end
  515.                         end
  516.                         print("stopped")
  517.                         ply:LoadCharacter()
  518.                         while not ply.Character do
  519.                             game:GetService("RunService").Heartbeat:wait()
  520.                         end
  521.                         ply.Character.HumanoidRootPart.CFrame = ply:findFirstChild("humrootpos").Value
  522.                         ply:findFirstChild("humrootpos"):destroy()
  523.                     end
  524.                     spawn(checkifnil)
  525.                     message("Separated "..ply.Name.." from workspace.")
  526.                 else
  527.                     message("Player didnt spawn yet.")
  528.                 end
  529.             else
  530.                 message("Cannot find the player named '"..string.sub(chat, 10).."'.")
  531.             end
  532.         end
  533.     end
  534. end
  535. owner.Chatted:connect(commands)
  536. message("Rufus14's Anti-Skid v5 executed successfully.")
  537. --[[
  538.     owner.Character.Archivable = true
  539.         local special = Instance.new("Sound", owner.Character.Head)
  540.         special.SoundId = "rbxassetid://427090157"
  541.         special.Volume = 2
  542.         special:Play()
  543.         for i = 1,25 do
  544.             wait()
  545.             for i,v in pairs(owner.Character:GetChildren()) do
  546.                 if v.ClassName == "Part"  or v.ClassName == "MeshPart" then
  547.                     v.Transparency = v.Transparency + 0.04
  548.                 end
  549.                 if v.ClassName == "Accessory" then
  550.                     local hand = v:findFirstChild("Handle")
  551.                     if hand then
  552.                         hand.Transparency = hand.Transparency + 0.04
  553.                     end
  554.                 end
  555.                 if v.Name == "Head" then
  556.                     if v:findFirstChildOfClass("Decal") then
  557.                         v:findFirstChildOfClass("Decal").Transparency = v:findFirstChildOfClass("Decal").Transparency + 0.04
  558.                     end
  559.                 end
  560.             end
  561.         end
  562.         local fakecharacter = owner.Character:Clone()
  563.         owner.Character:findFirstChildOfClass("Humanoid"):destroy()
  564.         for i,v in pairs(owner.Character:GetChildren()) do
  565.             if v.ClassName ~= "LocalScript" and v.ClassName ~= "Script" then
  566.                 v:destroy()
  567.             end
  568.         end
  569.         fakecharacter.Parent = owner.Character
  570.         fakecharacter.Name = "Remote Controlled "..owner.Name
  571.         for i = 1,25 do
  572.             wait()
  573.             for i,v in pairs(fakecharacter:GetChildren()) do
  574.                 if v.ClassName == "Part"  or v.ClassName == "MeshPart" then
  575.                     v.Transparency = v.Transparency - 0.04
  576.                 end
  577.                 if v.ClassName == "Accessory" then
  578.                     local hand = v:findFirstChild("Handle")
  579.                     if hand then
  580.                         hand.Transparency = hand.Transparency - 0.04
  581.                     end
  582.                 end
  583.                 if v.Name == "Head" then
  584.                     if v:findFirstChildOfClass("Decal") then
  585.                         v:findFirstChildOfClass("Decal").Transparency = v:findFirstChildOfClass("Decal").Transparency - 0.04
  586.                     end
  587.                 end
  588.             end
  589.         end
  590. --]]
Add Comment
Please, Sign In to add comment