Advertisement
Rufus14

vibe checker 3000

Oct 1st, 2019
3,267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.19 KB | None | 0 0
  1. --By Rufus14
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4.     local env = getfenv(func)
  5.     local newenv = setmetatable({},{
  6.         __index = function(self,k)
  7.             if k=="script" then
  8.                 return var
  9.             else
  10.                 return env[k]
  11.             end
  12.         end,
  13.     })
  14.     setfenv(func,newenv)
  15.     return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Script3 = Instance.new("Script")
  23. Part4 = Instance.new("Part")
  24. SpecialMesh5 = Instance.new("SpecialMesh")
  25. Sound6 = Instance.new("Sound")
  26. Sound7 = Instance.new("Sound")
  27. Sound8 = Instance.new("Sound")
  28. Weld9 = Instance.new("Weld")
  29. Weld10 = Instance.new("Weld")
  30. Weld11 = Instance.new("Weld")
  31. Weld12 = Instance.new("Weld")
  32. Weld13 = Instance.new("Weld")
  33. Weld14 = Instance.new("Weld")
  34. Tool0.Name = "vibe checker 3000"
  35. Tool0.Parent = mas
  36. Tool0.TextureId = "http://www.roblox.com/asset/?id=4009515464"
  37. Tool0.ToolTip = "vibe_checker.exe"
  38. Part1.Name = "black"
  39. Part1.Parent = Tool0
  40. Part1.CFrame = CFrame.new(-19.4799976, 2.45000386, -5.06250334, 1.00000012, 0, 0, 0, 1.00000012, 0, 0, 0, 1)
  41. Part1.Position = Vector3.new(-19.4799976, 2.45000386, -5.06250334)
  42. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  43. Part1.Size = Vector3.new(0.0999987945, 0.499999911, 0.174999669)
  44. Part1.BottomSurface = Enum.SurfaceType.Smooth
  45. Part1.BrickColor = BrickColor.new("Really black")
  46. Part1.CanCollide = false
  47. Part1.TopSurface = Enum.SurfaceType.Smooth
  48. Part1.brickColor = BrickColor.new("Really black")
  49. Part2.Name = "black"
  50. Part2.Parent = Tool0
  51. Part2.CFrame = CFrame.new(-19.1799984, 2.45000386, -5.06250334, 1.00000012, 0, 0, 0, 1.00000012, 0, 0, 0, 1)
  52. Part2.Position = Vector3.new(-19.1799984, 2.45000386, -5.06250334)
  53. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  54. Part2.Size = Vector3.new(0.0999987945, 0.499999911, 0.174999669)
  55. Part2.BottomSurface = Enum.SurfaceType.Smooth
  56. Part2.BrickColor = BrickColor.new("Really black")
  57. Part2.CanCollide = false
  58. Part2.TopSurface = Enum.SurfaceType.Smooth
  59. Part2.brickColor = BrickColor.new("Really black")
  60. Script3.Name = "nice"
  61. Script3.Parent = Tool0
  62. table.insert(cors,sandbox(Script3,function()
  63. --By Rufus14
  64. canattack = true
  65. step = game:GetService("RunService").Stepped
  66. tool = script.Parent
  67. handle = tool.Handle
  68. swing = handle.swoosh
  69. boom = handle.boom
  70. hitshovel = handle.hit
  71. owner = nil
  72. function equip()
  73.     tool = script.Parent
  74.     owner = tool.Parent
  75.     local guitarweld = owner["Right Arm"]:WaitForChild("RightGrip")
  76.     guitarweld.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-0.3,math.pi-0.4)
  77.     guitarweld.C0 = guitarweld.C0 * CFrame.new(1,0,0.9)
  78. end
  79. function checkvibe()
  80.     if canattack then
  81.         canattack = false
  82.         local fakehead = Instance.new("Part", owner)
  83.         fakehead.CanCollide = false
  84.         fakehead.Transparency = 1
  85.         fakehead.Size = Vector3.new(1,1,1)
  86.         fakehead.Name = "talk"
  87.         fakehead:BreakJoints()
  88.         local weldfake = Instance.new("Weld", fakehead)
  89.         weldfake.Part0 = owner.Head
  90.         weldfake.Part1 = fakehead
  91.         game.Chat:Chat(fakehead, "vibe check", "White")
  92.         wait(1.5)
  93.         if owner:findFirstChildOfClass("Humanoid").Health > 0 and owner:findFirstChild("HumanoidRootPart") and owner["Right Arm"]:findFirstChild("RightGrip") then
  94.             fakehead:destroy()
  95.             local rightarm = Instance.new("Weld", owner.Torso)
  96.             rightarm.Part0 = owner.Torso
  97.             rightarm.Part1 = owner["Right Arm"]
  98.             rightarm.C0 = CFrame.new(0.644886017, 0.311422348, -0.948092461, 0.727868438, 0.597291231, 0.33682403, 0.103718497, 0.389651388, -0.915103316, -0.677827239, 0.70100981, 0.221664846)
  99.             rightarm.Name = "RightArmWeld"
  100.             local leftarm = Instance.new("Weld", owner.Torso)
  101.             leftarm.Part0 = owner.Torso
  102.             leftarm.Part1 = owner["Left Arm"]
  103.             leftarm.C0 = CFrame.new(-0.196815491, 0.211737633, -0.707389832, 0.979247332, -0.00607421994, -0.202576905, -0.191344753, 0.301717788, -0.933998585, 0.0667943656, 0.953377843, 0.294294178)
  104.             leftarm.Name = "LeftArmWeld"
  105.             local head = Instance.new("Weld", owner.Torso)
  106.             head.Part0 = owner.Torso
  107.             head.Part1 = owner.Head
  108.             head.C0 = CFrame.new(0, 1.50000024, 0, 0.76604414, 0, 0.642787814, 0, 1, 0, -0.642787814, 0, 0.76604414)
  109.             head.Name = "HeadWeld"
  110.             local humanoidrootpart = Instance.new("Weld", owner.HumanoidRootPart)
  111.             humanoidrootpart.Part0 = owner.HumanoidRootPart
  112.             humanoidrootpart.Part1 = owner.Torso
  113.             humanoidrootpart.Name = "HumanoidRootPartWeld"
  114.             humanoidrootpart.C0 = CFrame.new(0, 0, 0, 0.766044438, 0, -0.642787576, 0, 1, 0, 0.642787576, 0, 0.766044438)
  115.             owner["Right Arm"]:findFirstChild("RightGrip").C0 = owner["Right Arm"]:findFirstChild("RightGrip").C0 * CFrame.fromEulerAnglesXYZ(0,-0.7,0) * CFrame.new(0,0,1)
  116.             swing:Play()
  117.             --tool.TextureId = "http://www.roblox.com/asset/?id=4009516807"
  118.             local godmode = true
  119.             local function loophp()
  120.                 local yeshp = owner:findFirstChildOfClass("Humanoid").Health
  121.                 while step:wait() and owner["Right Arm"]:findFirstChild("RightGrip") and godmode do
  122.                     owner:findFirstChildOfClass("Humanoid").Health = yeshp
  123.                 end
  124.             end
  125.             spawn(loophp)
  126.             for i = 1,4 do
  127.                 owner.HumanoidRootPart.CFrame = owner.HumanoidRootPart.CFrame * CFrame.new(0,0,-0.4)
  128.                 step:wait()
  129.             end
  130.             for i,v in pairs(workspace:GetDescendants()) do
  131.                 if v.ClassName == "Model" then
  132.                     local humanoid = v:findFirstChildOfClass("Humanoid")
  133.                     local head = v:findFirstChild("Head")
  134.                     if humanoid and head and v ~= owner then
  135.                         if (head.Position - handle.Position).magnitude < 3 then
  136.                             hitshovel:Play()
  137.                             boom:Play()
  138.                             local explo = Instance.new("Explosion", workspace)
  139.                             explo.BlastPressure = 0
  140.                             explo.Position = head.Position
  141.                             v:BreakJoints()
  142.                             ragdollkill(v)
  143.                         end
  144.                     end
  145.                 end
  146.             end
  147.             if owner["Right Arm"]:findFirstChild("RightGrip") then
  148.                 owner["Right Arm"]:findFirstChild("RightGrip").C0 = owner["Right Arm"]:findFirstChild("RightGrip").C0 * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(120)) * CFrame.new(1.5,1,0)
  149.             end
  150.             rightarm.C0 = CFrame.new(1.17718029, 0.574066162, -0.971975327, -0.305964291, -0.924987078, -0.225354135, -0.55015856, 0.364965647, -0.751082718, 0.776988566, -0.105824046, -0.620556176)
  151.             leftarm.C0 = CFrame.new(1.23966789, 0.752839804, -1.32369041, -0.456587911, -0.879150152, -0.136464149, -0.405662119, 0.342237592, -0.84753263, 0.791811466, -0.331614763, -0.512899518)
  152.             head.C0 = CFrame.new(0, 1.50000024, 0, 0.173648104, 0, 0.984807611, 0, 1, 0, -0.984807611, 0, 0.173648104)
  153.             humanoidrootpart.C0 = CFrame.new(0, 0, 0, 0.173648223, 0, -0.98480773, 0, 1, 0, 0.98480773, 0, 0.173648223)
  154.             for i = 1,5 do
  155.                 owner.HumanoidRootPart.CFrame = owner.HumanoidRootPart.CFrame * CFrame.new(0,0,-0.3)
  156.                 step:wait()
  157.             end
  158.             wait(1)
  159.             godmode = false
  160.             tool.TextureId = "http://www.roblox.com/asset/?id=4009515464"
  161.             if owner["Right Arm"]:findFirstChild("RightGrip") then
  162.                 owner["Right Arm"]:findFirstChild("RightGrip").C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-0.3,math.pi-0.4)
  163.                 owner["Right Arm"]:findFirstChild("RightGrip").C0 = owner["Right Arm"]:findFirstChild("RightGrip").C0 * CFrame.new(1,0,0.9)
  164.             end
  165.             rightarm:destroy()
  166.             leftarm:destroy()
  167.             head:destroy()
  168.             humanoidrootpart:destroy()
  169.         else
  170.             fakehead:destroy()
  171.         end
  172.         canattack = true
  173.     end
  174. end
  175. function ragdollkill(character)
  176.     local victimshumanoid = character:findFirstChildOfClass("Humanoid")
  177.     if not character:findFirstChild("UpperTorso") then
  178.         character.Archivable = true
  179.         for i,v in pairs(character:GetChildren()) do
  180.             if v.ClassName == "Sound" then
  181.                 v:remove()
  182.             end
  183.             for q,w in pairs(v:GetChildren()) do
  184.                 if w.ClassName == "Sound" then
  185.                     w:remove()
  186.                 end
  187.             end
  188.         end
  189.         local ragdoll = character:Clone()
  190.         ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  191.         if ragdoll:findFirstChild("Head") then
  192.             local velo = Instance.new("BodyVelocity", ragdoll.Head)
  193.             velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  194.             velo.Velocity = Vector3.new(0,300,0)
  195.             game.Debris:AddItem(velo,0.2)
  196.         end
  197.         if ragdoll:findFirstChild("Health") then
  198.             if ragdoll:findFirstChild("Health").ClassName == "Script" then
  199.                 ragdoll:findFirstChild("Health").Disabled = true
  200.             end
  201.         end
  202.         for i,v in pairs(character:GetChildren()) do
  203.             if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  204.                 v:destroy()
  205.             end
  206.         end
  207.         for i,v in pairs(character:GetChildren()) do
  208.             if v.ClassName == "Accessory" then
  209.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  210.                 if attachment1 then
  211.                     for q,w in pairs(character:GetChildren()) do
  212.                         if w.ClassName == "Part" then
  213.                             local attachment2 = w:findFirstChild(attachment1.Name)
  214.                             if attachment2 then
  215.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  216.                                 hinge.Attachment0 = attachment1
  217.                                 hinge.Attachment1 = attachment2
  218.                                 hinge.LimitsEnabled = true
  219.                                 hinge.LowerAngle = 0
  220.                                 hinge.UpperAngle = 0
  221.                             end
  222.                         end
  223.                     end
  224.                 end
  225.             end
  226.         end
  227.         ragdoll.Parent = workspace
  228.         if ragdoll:findFirstChild("Right Arm") then
  229.             local glue = Instance.new("Glue", ragdoll.Torso)
  230.             glue.Part0 = ragdoll.Torso
  231.             glue.Part1 = ragdoll:findFirstChild("Right Arm")
  232.             glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  233.             glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  234.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  235.             limbcollider.Size = Vector3.new(1,1.4,1)
  236.             limbcollider.Transparency = 1
  237.             limbcollider.Name = "LimbCollider"
  238.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  239.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  240.             limbcolliderweld.Part1 = limbcollider
  241.             limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
  242.         end
  243.         if ragdoll:findFirstChild("Left Arm") then
  244.             local glue = Instance.new("Glue", ragdoll.Torso)
  245.             glue.Part0 = ragdoll.Torso
  246.             glue.Part1 = ragdoll:findFirstChild("Left Arm")
  247.             glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  248.             glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  249.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  250.             limbcollider.Size = Vector3.new(1,1.4,1)
  251.             limbcollider.Name = "LimbCollider"
  252.             limbcollider.Transparency = 1
  253.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  254.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  255.             limbcolliderweld.Part1 = limbcollider
  256.             limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
  257.         end
  258.         if ragdoll:findFirstChild("Left Leg") then
  259.             local glue = Instance.new("Glue", ragdoll.Torso)
  260.             glue.Part0 = ragdoll.Torso
  261.             glue.Part1 = ragdoll:findFirstChild("Left Leg")
  262.             glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  263.             glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  264.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  265.             limbcollider.Size = Vector3.new(1,1.4,1)
  266.             limbcollider.Shape = "Cylinder"
  267.             limbcollider.Name = "LimbCollider"
  268.             limbcollider.Transparency = 1
  269.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  270.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  271.             limbcolliderweld.Part1 = limbcollider
  272.             limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
  273.         end
  274.         if ragdoll:findFirstChild("Right Leg") then
  275.             local glue = Instance.new("Glue", ragdoll.Torso)
  276.             glue.Part0 = ragdoll.Torso
  277.             glue.Part1 = ragdoll:findFirstChild("Right Leg")
  278.             glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  279.             glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  280.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  281.             limbcollider.Size = Vector3.new(1,1.4,1)
  282.             limbcollider.Shape = "Cylinder"
  283.             limbcollider.Name = "LimbCollider"
  284.             limbcollider.Transparency = 1
  285.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  286.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  287.             limbcolliderweld.Part1 = limbcollider
  288.             limbcolliderweld.C0 = CFrame.new(0,-0.4,0)
  289.         end
  290.         game.Debris:AddItem(ragdoll, 10)
  291.         local function aaaalol()
  292.             wait(0.2)
  293.             local function searchforvelocity(wot)
  294.                 for i,v in pairs(wot:GetChildren()) do
  295.                     searchforvelocity(v)
  296.                     if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  297.                         v:destroy()
  298.                     end
  299.                 end
  300.             end
  301.             searchforvelocity(ragdoll)
  302.             wait(0.5)
  303.             if ragdoll:findFirstChildOfClass("Humanoid") then
  304.                 ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  305.             end
  306.             if ragdoll:findFirstChild("HumanoidRootPart") then
  307.                 ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  308.             end
  309.         end
  310.         --ragdoll.Head:BreakJoints()
  311.         spawn(aaaalol)
  312.     elseif character:findFirstChild("UpperTorso") then
  313.         character.Archivable = true
  314.         for i,v in pairs(character:GetChildren()) do
  315.             if v.ClassName == "Sound" then
  316.                 v:remove()
  317.             end
  318.             for q,w in pairs(v:GetChildren()) do
  319.                 if w.ClassName == "Sound" then
  320.                     w:remove()
  321.                 end
  322.             end
  323.         end
  324.         local ragdoll = character:Clone()
  325.         ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  326.         if ragdoll:findFirstChild("Head") then
  327.             local velo = Instance.new("BodyVelocity", ragdoll.Head)
  328.             velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  329.             velo.Velocity = Vector3.new(0,300,0)
  330.             game.Debris:AddItem(velo,0.2)
  331.         end
  332.         if ragdoll:findFirstChild("Health") then
  333.             if ragdoll:findFirstChild("Health").ClassName == "Script" then
  334.                 ragdoll:findFirstChild("Health").Disabled = true
  335.             end
  336.         end
  337.         for i,v in pairs(character:GetChildren()) do
  338.             if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  339.                 v:destroy()
  340.             end
  341.         end
  342.         for i,v in pairs(character:GetChildren()) do
  343.             if v.ClassName == "Accessory" then
  344.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  345.                 if attachment1 then
  346.                     for q,w in pairs(character:GetChildren()) do
  347.                         if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  348.                             local attachment2 = w:findFirstChild(attachment1.Name)
  349.                             if attachment2 then
  350.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  351.                                 hinge.Attachment0 = attachment1
  352.                                 hinge.Attachment1 = attachment2
  353.                                 hinge.LimitsEnabled = true
  354.                                 hinge.LowerAngle = 0
  355.                                 hinge.UpperAngle = 0
  356.                             end
  357.                         end
  358.                     end
  359.                 end
  360.             end
  361.         end
  362.         ragdoll.Parent = workspace
  363.         local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  364.         Humanoid.PlatformStand = true
  365.         local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  366.             local connection = Instance.new('BallSocketConstraint', limb)
  367.             connection.LimitsEnabled = true
  368.             connection.Attachment0 = attachementone
  369.             connection.Attachment1 = attachmenttwo
  370.             connection.TwistLimitsEnabled = true
  371.             connection.TwistLowerAngle = twistlower
  372.             connection.TwistUpperAngle = twistupper
  373.             local limbcollider = Instance.new("Part", limb)
  374.             limbcollider.Size = Vector3.new(0.1,1,1)
  375.             limbcollider.Shape = "Cylinder"
  376.             limbcollider.Transparency = 1
  377.             limbcollider:BreakJoints()
  378.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  379.             limbcolliderweld.Part0 = limb
  380.             limbcolliderweld.Part1 = limbcollider
  381.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  382.         end
  383.         local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  384.             local connection = Instance.new('HingeConstraint', limb)
  385.             connection.LimitsEnabled = true
  386.             connection.Attachment0 = attachementone
  387.             connection.Attachment1 = attachmenttwo
  388.             connection.LimitsEnabled = true
  389.             connection.LowerAngle = lower
  390.             connection.UpperAngle = upper
  391.             local limbcollider = Instance.new("Part", limb)
  392.             limbcollider.Size = Vector3.new(0.1,1,1)
  393.             limbcollider.Shape = "Cylinder"
  394.             limbcollider.Transparency = 1
  395.             limbcollider:BreakJoints()
  396.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  397.             limbcolliderweld.Part0 = limb
  398.             limbcolliderweld.Part1 = limbcollider
  399.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  400.         end
  401.         makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  402.         makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  403.         makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  404.         makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  405.         --
  406.         makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  407.         makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  408.         makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  409.         --
  410.         makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  411.         makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  412.         makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  413.         --
  414.         makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  415.         makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  416.         makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  417.         for i,v in pairs(Humanoid.Parent:GetChildren()) do
  418.             if v.ClassName == "Accessory" then
  419.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  420.                 if attachment1 then
  421.                     for q,w in pairs(Humanoid.Parent:GetChildren()) do
  422.                         if w.ClassName == "Part" then
  423.                             local attachment2 = w:findFirstChild(attachment1.Name)
  424.                             if attachment2 then
  425.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  426.                                 hinge.Attachment0 = attachment1
  427.                                 hinge.Attachment1 = attachment2
  428.                                 hinge.LimitsEnabled = true
  429.                                 hinge.LowerAngle = 0
  430.                                 hinge.UpperAngle = 0
  431.                             end
  432.                         end
  433.                     end
  434.                 end
  435.             end
  436.         end
  437.         for i,v in pairs(ragdoll:GetChildren()) do
  438.             for q,w in pairs(v:GetChildren()) do
  439.                 if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then
  440.                     w:destroy()
  441.                 end
  442.             end
  443.         end
  444.         if ragdoll:findFirstChild("HumanoidRootPart") then
  445.             ragdoll.HumanoidRootPart.Anchored = true
  446.             ragdoll.HumanoidRootPart.CanCollide = false
  447.         end
  448.         if ragdoll:findFirstChildOfClass("Humanoid") then
  449.             ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  450.         end
  451.         local function waitfordatmoment()
  452.             wait(0.2)
  453.             local function searchforvelocity(wot)
  454.                 for i,v in pairs(wot:GetChildren()) do
  455.                     searchforvelocity(v)
  456.                     if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  457.                         v:destroy()
  458.                     end
  459.                 end
  460.             end
  461.             searchforvelocity(ragdoll)
  462.         end
  463.         spawn(waitfordatmoment)
  464.         --ragdoll.Head:BreakJoints()
  465.         game.Debris:AddItem(ragdoll, 10)
  466.     end
  467. end
  468. tool.Activated:connect(checkvibe)
  469. tool.Equipped:connect(equip)
  470. end))
  471. Part4.Name = "Handle"
  472. Part4.Parent = Tool0
  473. Part4.CFrame = CFrame.new(-21.1299992, 2.40000391, -5.10000324, 1.00000012, 0, 0, 0, 1.00000012, 0, 0, 0, 1)
  474. Part4.Position = Vector3.new(-21.1299992, 2.40000391, -5.10000324)
  475. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  476. Part4.Size = Vector3.new(4.79999924, 1.20000005, 0.19999969)
  477. Part4.BottomSurface = Enum.SurfaceType.Smooth
  478. Part4.BrickColor = BrickColor.new("Institutional white")
  479. Part4.CanCollide = false
  480. Part4.TopSurface = Enum.SurfaceType.Smooth
  481. Part4.brickColor = BrickColor.new("Institutional white")
  482. SpecialMesh5.Name = "yeah"
  483. SpecialMesh5.Parent = Part4
  484. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=1082816"
  485. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  486. Sound6.Name = "boom"
  487. Sound6.Parent = Part4
  488. Sound6.SoundId = "rbxassetid://440431180"
  489. Sound6.Volume = 1
  490. Sound7.Name = "hit"
  491. Sound7.Parent = Part4
  492. Sound7.SoundId = "rbxassetid://247879481"
  493. Sound7.Volume = 2
  494. Sound8.Name = "swoosh"
  495. Sound8.Parent = Part4
  496. Sound8.SoundId = "rbxassetid://1489705211"
  497. Weld9.Parent = Part4
  498. Weld9.C0 = CFrame.new(1.65000045, 0.0500000119, 0.0374999046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  499. Weld9.Part0 = Part4
  500. Weld9.Part1 = Part1
  501. Weld9.part1 = Part1
  502. Weld10.Parent = Part4
  503. Weld10.C0 = CFrame.new(1.95000029, 0.0500000119, 0.0374999046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  504. Weld10.Part0 = Part4
  505. Weld10.Part1 = Part2
  506. Weld10.part1 = Part2
  507. Weld11.Parent = Part4
  508. Weld11.C0 = CFrame.new(0, 0.100000143, 4.76837158e-07, 0.999048233, -0.0436200127, 0, 0.0436200127, 0.999048233, 0, 0, 0, 1)
  509. Weld11.Part0 = Part4
  510. Weld11.Part1 = nil
  511. Weld11.part1 = nil
  512. Weld12.Parent = Part4
  513. Weld12.C0 = CFrame.new(0, -0.0999996662, 4.76837158e-07, 0.999048352, 0.0436190143, 0, -0.0436190143, 0.999048352, 0, 0, 0, 1)
  514. Weld12.Part0 = Part4
  515. Weld12.Part1 = nil
  516. Weld12.part1 = nil
  517. Weld13.Parent = Part4
  518. Weld13.C0 = CFrame.new(0, -0.199999809, 4.76837158e-07, 0.996194899, 0.087154977, 0, -0.0871549845, 0.996194899, 0, 0, 0, 1)
  519. Weld13.Part0 = Part4
  520. Weld13.Part1 = nil
  521. Weld13.part1 = nil
  522. Weld14.Parent = Part4
  523. Weld14.C0 = CFrame.new(0, 0.199999809, 4.76837158e-07, 0.996194899, -0.0871549845, 0, 0.087154977, 0.996194899, 0, 0, 0, 1)
  524. Weld14.Part0 = Part4
  525. Weld14.Part1 = nil
  526. Weld14.part1 = nil
  527. for i,v in pairs(mas:GetChildren()) do
  528.     v.Parent = owner.Character
  529.     pcall(function() v:MakeJoints() end)
  530. end
  531. mas:Destroy()
  532. for i,v in pairs(cors) do
  533.     spawn(function()
  534.         pcall(v)
  535.     end)
  536. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement