Advertisement
iiJosephCats205

Power Tool [V2]

Nov 26th, 2019
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 30.47 KB | None | 0 0
  1. --By iiJoeCats
  2. wait(1)
  3. --[[
  4.    
  5.     ---------VERSION---------
  6.     Power Tool by iiJoeCats
  7.     VERSION 2
  8.     -------------------------
  9.    
  10.     --------CONTROLS---------
  11.     [Q] || FIREBALL
  12.     [E] || TELEPORT
  13.     [R] || DASH
  14.     [T] || RAINBOW TOGGLE {FOR R MOVE}
  15.     [F] || SUPER JUMP
  16.     [G] || HEAL
  17.     [Y] || DAMAGE ZONE
  18.     -------------------------
  19.    
  20.     -------UPDATE INFO-------
  21.     C - Changes/Updates
  22.     N - New
  23.     ! - Spoilers
  24.     --------------
  25.     C - Added Effects To Fireball Move And CFrame Animation For R6 Rigs ONLY
  26.     N - THIS
  27.     N - Ragdoll {Credit to Rufus14}
  28.     ! - Music Visualizer Coming Soon (Press Z to toggle it)
  29.     CN! - I think this script is going to get over 800 lines when I'm finished with Version 2
  30.     -------------------------
  31. ]]--
  32. local mouse = game.Players.LocalPlayer:GetMouse()
  33. local character = game.Players.LocalPlayer.Character
  34. local tors = character:FindFirstChild("HumanoidRootPart")
  35. local hum = character:FindFirstChildOfClass("Humanoid")
  36. local ammo = 1
  37. local gay = false
  38. local equipped = false
  39. local imgay = {
  40.     ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
  41.     ColorSequenceKeypoint.new(0.2, Color3.new(1, 0.333333, 0)),
  42.     ColorSequenceKeypoint.new(0.4, Color3.new(1, 1, 0)),
  43.     ColorSequenceKeypoint.new(0.6, Color3.new(0, 1, 0)),
  44.     ColorSequenceKeypoint.new(0.8, Color3.new(0, 0.666667, 1)),
  45.     ColorSequenceKeypoint.new(1, Color3.new(0.74902, 0, 1))
  46. }
  47. function ragdolll(char)
  48.     local victimshumanoid = char:findFirstChildOfClass("Humanoid")
  49.     local checkragd = char:findFirstChild("ragded")
  50.     if not checkragd then
  51.         local boolvalue = Instance.new("BoolValue", char)
  52.         boolvalue.Name = "ragded"
  53.         if not char:findFirstChild("UpperTorso") then
  54.             char.Archivable = true
  55.             for i,v in pairs(char:GetChildren()) do
  56.                 if v.ClassName == "Sound" then
  57.                     v:remove()
  58.                 end
  59.                 for q,w in pairs(v:GetChildren()) do
  60.                     if w.ClassName == "Sound" then
  61.                         w:remove()
  62.                     end
  63.                 end
  64.             end
  65.             local ragdoll = char:Clone()
  66.             if game:GetService("RunService"):IsClient() then
  67.                 if ragdoll.Name == character.Name then
  68.                     workspace.CurrentCamera.CameraSubject = ragdoll
  69.                 end
  70.             end
  71.             if math.random(1,100) == 1 then
  72.                 local burgerking = Instance.new("Sound",ragdoll)
  73.                 burgerking.SoundId = "rbxassetid://1402510823"
  74.                 burgerking.Volume = 1
  75.                 burgerking:Play()
  76.                 game.Debris:AddItem(ragdoll, burgerking.TimeLength)
  77.             else   
  78.                 local sond = Instance.new("Sound",ragdoll)
  79.                 sond.SoundId = "rbxassetid://178092307"
  80.                 local sond2 = Instance.new("Sound",ragdoll)
  81.                 sond2.SoundId = "rbxassetid://165315045"
  82.                 if ragdoll.Name == character.Name then
  83.                     sond.Volume = 1
  84.                     sond2.Volume = 1
  85.                 else
  86.                     sond.Volume = .25
  87.                     sond2.Volume = .25 
  88.                 end
  89.                 sond2:Play()
  90.                 sond:Play()
  91.                 game.Debris:AddItem(ragdoll, 5)
  92.             end
  93.             for i,v in pairs(ragdoll:GetDescendants()) do
  94.                 if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  95.                     v:destroy()
  96.                 end
  97.             end
  98.             ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  99.             ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  100.             if ragdoll:findFirstChild("Health") then
  101.                 if ragdoll:findFirstChild("Health").ClassName == "Script" then
  102.                     ragdoll:findFirstChild("Health").Disabled = true
  103.                 end
  104.             end
  105.             for i,v in pairs(char:GetChildren()) do
  106.                 if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  107.                     v:destroy()
  108.                 end
  109.             end
  110.             for i,v in pairs(char:GetChildren()) do
  111.                 if v.ClassName == "Accessory" then
  112.                     local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  113.                     if attachment1 then
  114.                         for q,w in pairs(char:GetChildren()) do
  115.                             if w.ClassName == "Part" then
  116.                                 local attachment2 = w:findFirstChild(attachment1.Name)
  117.                                 if attachment2 then
  118.                                     local hinge = Instance.new("HingeConstraint", v.Handle)
  119.                                     hinge.Attachment0 = attachment1
  120.                                     hinge.Attachment1 = attachment2
  121.                                     hinge.LimitsEnabled = true
  122.                                     hinge.LowerAngle = 0
  123.                                     hinge.UpperAngle = 0
  124.                                 end
  125.                             end
  126.                         end
  127.                     end
  128.                 end
  129.             end
  130.             ragdoll.Parent = workspace
  131.             if ragdoll:findFirstChild("Right Arm") then
  132.                 local glue = Instance.new("Glue", ragdoll.Torso)
  133.                 glue.Part0 = ragdoll.Torso
  134.                 glue.Part1 = ragdoll:findFirstChild("Right Arm")
  135.                 glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  136.                 glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  137.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  138.                 limbcollider.Size = Vector3.new(1.4,1,1)
  139.                 limbcollider.Shape = "Cylinder"
  140.                 limbcollider.Transparency = 1
  141.                 limbcollider.Name = "LimbCollider"
  142.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  143.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  144.                 limbcolliderweld.Part1 = limbcollider
  145.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  146.             end
  147.             if ragdoll:findFirstChild("Left Arm") then
  148.                 local glue = Instance.new("Glue", ragdoll.Torso)
  149.                 glue.Part0 = ragdoll.Torso
  150.                 glue.Part1 = ragdoll:findFirstChild("Left Arm")
  151.                 glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  152.                 glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  153.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  154.                 limbcollider.Size = Vector3.new(1.4,1,1)
  155.                 limbcollider.Shape = "Cylinder"
  156.                 limbcollider.Name = "LimbCollider"
  157.                 limbcollider.Transparency = 1
  158.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  159.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  160.                 limbcolliderweld.Part1 = limbcollider
  161.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  162.             end
  163.             if ragdoll:findFirstChild("Left Leg") then
  164.                 local glue = Instance.new("Glue", ragdoll.Torso)
  165.                 glue.Part0 = ragdoll.Torso
  166.                 glue.Part1 = ragdoll:findFirstChild("Left Leg")
  167.                 glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  168.                 glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  169.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  170.                 limbcollider.Size = Vector3.new(1.4,1,1)
  171.                 limbcollider.Shape = "Cylinder"
  172.                 limbcollider.Name = "LimbCollider"
  173.                 limbcollider.Transparency = 1
  174.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  175.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  176.                 limbcolliderweld.Part1 = limbcollider
  177.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  178.             end
  179.             if ragdoll:findFirstChild("Right Leg") then
  180.                 local glue = Instance.new("Glue", ragdoll.Torso)
  181.                 glue.Part0 = ragdoll.Torso
  182.                 glue.Part1 = ragdoll:findFirstChild("Right Leg")
  183.                 glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  184.                 glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  185.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  186.                 limbcollider.Size = Vector3.new(1.4,1,1)
  187.                 limbcollider.Shape = "Cylinder"
  188.                 limbcollider.Name = "LimbCollider"
  189.                 limbcollider.Transparency = 1
  190.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  191.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  192.                 limbcolliderweld.Part1 = limbcollider
  193.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  194.             end
  195.             if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  196.                 local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  197.                 HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  198.                 local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  199.                 connection.LimitsEnabled = true
  200.                 connection.Attachment0 = ragdoll.Torso.NeckAttachment
  201.                 connection.Attachment1 = HeadAttachment
  202.                 connection.UpperAngle = 60
  203.                 connection.LowerAngle = -60
  204.             elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  205.                 local hedweld = Instance.new("Weld", ragdoll.Torso)
  206.                 hedweld.Part0 = ragdoll.Torso
  207.                 hedweld.Part1 = ragdoll.Head
  208.                 hedweld.C0 = CFrame.new(0,1.5,0)
  209.             end
  210.             local function aaaalol()
  211.                 wait(0.2)
  212.                 local function searchforvelocity(wot)
  213.                     for i,v in pairs(wot:GetChildren()) do
  214.                         searchforvelocity(v)
  215.                         if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  216.                             v:destroy()
  217.                         end
  218.                     end
  219.                 end
  220.                 searchforvelocity(ragdoll)
  221.                 wait(0.5)
  222.                 if ragdoll:findFirstChildOfClass("Humanoid") then
  223.                     ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  224.                 end
  225.                 if ragdoll:findFirstChild("HumanoidRootPart") then
  226.                     ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  227.                 end
  228.             end
  229.             spawn(aaaalol)
  230.         elseif char:findFirstChild("UpperTorso") then
  231.             char.Archivable = true
  232.             for i,v in pairs(char:GetChildren()) do
  233.                 if v.ClassName == "Sound" then
  234.                     v:remove()
  235.                 end
  236.                 for q,w in pairs(v:GetChildren()) do
  237.                     if w.ClassName == "Sound" then
  238.                         w:remove()
  239.                     end
  240.                 end
  241.             end
  242.             local ragdoll = char:Clone()
  243.             if game:GetService("RunService"):IsClient() then
  244.                 if ragdoll.Name == character.Name then
  245.                     workspace.CurrentCamera.CameraSubject = ragdoll
  246.                 end
  247.             end
  248.             if math.random(1,100) == 1 then
  249.                 local burgerking = Instance.new("Sound",ragdoll)
  250.                 burgerking.SoundId = "rbxassetid://1402510823"
  251.                 burgerking.Volume = 1
  252.                 burgerking:Play()
  253.                 game.Debris:AddItem(ragdoll, burgerking.TimeLength)
  254.             else   
  255.                 local sond = Instance.new("Sound",ragdoll)
  256.                 sond.SoundId = "rbxassetid://178092307"
  257.                 local sond2 = Instance.new("Sound",ragdoll)
  258.                 sond2.SoundId = "rbxassetid://165315045"
  259.                 if ragdoll.Name == character.Name then
  260.                     sond.Volume = 1
  261.                     sond2.Volume = 1
  262.                 else
  263.                     sond.Volume = .25
  264.                     sond2.Volume = .25 
  265.                 end
  266.                 sond2:Play()
  267.                 sond:Play()
  268.                 game.Debris:AddItem(ragdoll, 5)
  269.             end
  270.             ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  271.             for i,v in pairs(ragdoll:GetDescendants()) do
  272.                 if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  273.                     v:destroy()
  274.                 end
  275.             end
  276.             ragdoll:BreakJoints()
  277.             ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  278.             if ragdoll:findFirstChild("Health") then
  279.                 if ragdoll:findFirstChild("Health").ClassName == "Script" then
  280.                     ragdoll:findFirstChild("Health").Disabled = true
  281.                 end
  282.             end
  283.             for i,v in pairs(char:GetChildren()) do
  284.                 if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  285.                     v:destroy()
  286.                 end
  287.             end
  288.             for i,v in pairs(char:GetChildren()) do
  289.                 if v.ClassName == "Accessory" then
  290.                     local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  291.                     if attachment1 then
  292.                         for q,w in pairs(char:GetChildren()) do
  293.                             if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  294.                                 local attachment2 = w:findFirstChild(attachment1.Name)
  295.                                 if attachment2 then
  296.                                     local hinge = Instance.new("HingeConstraint", v.Handle)
  297.                                     hinge.Attachment0 = attachment1
  298.                                     hinge.Attachment1 = attachment2
  299.                                     hinge.LimitsEnabled = true
  300.                                     hinge.LowerAngle = 0
  301.                                     hinge.UpperAngle = 0
  302.                                 end
  303.                             end
  304.                         end
  305.                     end
  306.                 end
  307.             end
  308.             ragdoll.Parent = workspace
  309.             local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  310.             Humanoid.PlatformStand = true
  311.             local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  312.                 local connection = Instance.new('BallSocketConstraint', limb)
  313.                 connection.LimitsEnabled = true
  314.                 connection.Attachment0 = attachementone
  315.                 connection.Attachment1 = attachmenttwo
  316.                 connection.TwistLimitsEnabled = true
  317.                 connection.TwistLowerAngle = twistlower
  318.                 connection.TwistUpperAngle = twistupper
  319.                 local limbcollider = Instance.new("Part", limb)
  320.                 limbcollider.Size = Vector3.new(0.1,1,1)
  321.                 limbcollider.Shape = "Cylinder"
  322.                 limbcollider.Transparency = 1
  323.                 limbcollider:BreakJoints()
  324.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  325.                 limbcolliderweld.Part0 = limb
  326.                 limbcolliderweld.Part1 = limbcollider
  327.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  328.             end
  329.             local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  330.                 local connection = Instance.new('HingeConstraint', limb)
  331.                 connection.LimitsEnabled = true
  332.                 connection.Attachment0 = attachementone
  333.                 connection.Attachment1 = attachmenttwo
  334.                 connection.LimitsEnabled = true
  335.                 connection.LowerAngle = lower
  336.                 connection.UpperAngle = upper
  337.                 local limbcollider = Instance.new("Part", limb)
  338.                 limbcollider.Size = Vector3.new(0.1,1,1)
  339.                 limbcollider.Shape = "Cylinder"
  340.                 limbcollider.Transparency = 1
  341.                 limbcollider:BreakJoints()
  342.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  343.                 limbcolliderweld.Part0 = limb
  344.                 limbcolliderweld.Part1 = limbcollider
  345.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  346.             end
  347.             local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  348.             HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  349.             if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  350.                 makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  351.             end
  352.             makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  353.             makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  354.             makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  355.             makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  356.             --
  357.             makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  358.             makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  359.             makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  360.             --
  361.             makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  362.             makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  363.             makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  364.             --
  365.             makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  366.             makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  367.             makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  368.             for i,v in pairs(Humanoid.Parent:GetChildren()) do
  369.                 if v.ClassName == "Accessory" then
  370.                     local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  371.                     if attachment1 then
  372.                         for q,w in pairs(Humanoid.Parent:GetChildren()) do
  373.                             if w.ClassName == "Part" then
  374.                                 local attachment2 = w:findFirstChild(attachment1.Name)
  375.                                 if attachment2 then
  376.                                     local hinge = Instance.new("HingeConstraint", v.Handle)
  377.                                     hinge.Attachment0 = attachment1
  378.                                     hinge.Attachment1 = attachment2
  379.                                     hinge.LimitsEnabled = true
  380.                                     hinge.LowerAngle = 0
  381.                                     hinge.UpperAngle = 0
  382.                                 end
  383.                             end
  384.                         end
  385.                     end
  386.                 end
  387.             end
  388.             for i,v in pairs(ragdoll:GetChildren()) do
  389.                 for q,w in pairs(v:GetChildren()) do
  390.                     if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
  391.                         w:destroy()
  392.                     end
  393.                 end
  394.             end
  395.             if ragdoll:findFirstChild("HumanoidRootPart") then
  396.                 ragdoll.HumanoidRootPart:destroy()
  397.             end
  398.             if ragdoll:findFirstChildOfClass("Humanoid") then
  399.                 ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  400.             end
  401.             local function waitfordatmoment()
  402.                 wait(0.2)
  403.                 local function searchforvelocity(wot)
  404.                     for i,v in pairs(wot:GetChildren()) do
  405.                         searchforvelocity(v)
  406.                         if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  407.                             v:destroy()
  408.                         end
  409.                     end
  410.                 end
  411.                 searchforvelocity(ragdoll)
  412.             end
  413.             spawn(waitfordatmoment)
  414.             game.Debris:AddItem(ragdoll, 5)
  415.         end
  416.     end
  417. end
  418.  
  419. local hum = character:FindFirstChildOfClass("Humanoid")
  420. local textures = {391827915,224894620,988623869,61103013,3115326221,1288816906,581605846,1367427817,2801380278,4291187457,1453454202}
  421. local powerTool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  422. powerTool.CanBeDropped = false
  423. powerTool.RequiresHandle = false
  424. powerTool.Name = "PwnedLOL"
  425. powerTool.ToolTip = "fuk u"
  426. powerTool.TextureId = "rbxassetid://"..textures[math.random(1, #textures)]
  427. powerTool.Equipped:Connect(function(mouse)
  428.     equipped = true
  429.     mouse.KeyDown:Connect(function(key)
  430.         if key == "q" then
  431.             if ammo > 0 then
  432.                 ammo = 0
  433.                 local fireball = Instance.new("Part",character)
  434.                 game.Debris:AddItem(fireball,5)
  435.                 fireball.Size = Vector3.new(3,3,3)
  436.                 fireball.FormFactor = Enum.FormFactor.Custom
  437.                 fireball.CanCollide = false
  438.                 fireball.Shape = Enum.PartType.Ball
  439.                 fireball.BrickColor = BrickColor.new(255, 100, 0)
  440.                 fireball.Material = Enum.Material.Neon
  441.                 fireball.CFrame = CFrame.new(character.HumanoidRootPart.Position,mouse.Hit.p)
  442.                 local fire = Instance.new("ParticleEmitter",fireball)
  443.                 fire.Speed = NumberRange.new(10, 10)
  444.                 fire.Rotation = NumberRange.new(-180, 180)
  445.                 fire.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 1, 0),Color3.new(0, 0, 0))
  446.                 fire.LightEmission = 0.94999998807907
  447.                 fire.LightInfluence = 0.80000001192093
  448.                 fire.Texture = "rbxassetid://2050129958"
  449.                 fire.Transparency = NumberSequence.new(0,1)
  450.                 fire.ZOffset = 1
  451.                 fire.Size = NumberSequence.new(1.6874998807907,0)
  452.                 fire.Acceleration = Vector3.new(5, 35, 5)
  453.                 fire.Drag = 0.5
  454.                 fire.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  455.                 fire.Rate = 68
  456.                 fire.RotSpeed = NumberRange.new(-360, 360)
  457.                 fire.SpreadAngle = Vector2.new(-40, 10)
  458.                 local bv = Instance.new("BodyVelocity",fireball)
  459.                 bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  460.                 bv.Velocity = fireball.CFrame.LookVector * 100
  461.                 spawn(function()
  462.                     if character.Torso then
  463.                         local raWeld = Instance.new("Weld",character.Torso)
  464.                         raWeld.Part0 = character.Torso
  465.                         raWeld.Part1 = character["Right Arm"]
  466.                         raWeld.C0 = CFrame.new(1.5,0,0)
  467.                         for i = 0,1,0.15 do
  468.                             game:GetService("RunService").RenderStepped:wait()
  469.                             raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0)),i)
  470.                         end
  471.                         wait(2)
  472.                         for i = 0,1,0.15 do
  473.                             game:GetService("RunService").RenderStepped:wait()
  474.                             raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),i)
  475.                         end
  476.                         raWeld:Destroy()
  477.                     end
  478.                 end)
  479.                 fireball.Touched:Connect(function(hit)
  480.                     local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  481.                     if humn and humn.Health > 0 then
  482.                         if hit:IsDescendantOf(character) then return end
  483.                         local val = humn.Parent:FindFirstChildOfClass("BinaryStringValue")
  484.                         if not val then
  485.                             Instance.new("BinaryStringValue",humn.Parent).Name = "XD"
  486.                             local clone = fire:Clone()
  487.                             if humn.Parent:FindFirstChild("Torso") then
  488.                                 clone.Parent = humn.Parent.Torso
  489.                             elseif humn.Parent:FindFirstChild("UpperTorso") then
  490.                                 clone.Parent = humn.Parent.Torso
  491.                             end
  492.                             for i = 1,math.random(10,20) do
  493.                                 if humn.Health <= 0 then
  494.                                     break
  495.                                 end
  496.                                 local value = math.random(2,6)
  497.                                 if humn.Health <= value then
  498.                                     if not humn.Parent:FindFirstChild("raged") then
  499.                                         ragdolll(humn.Parent)
  500.                                     end
  501.                                 else
  502.                                     humn:TakeDamage(value) 
  503.                                 end
  504.                                 wait(0.5)
  505.                             end
  506.                             clone:Destroy()
  507.                             humn.Parent:FindFirstChildOfClass("BinaryStringValue"):Destroy()
  508.                         else
  509.                             --nothing  
  510.                         end
  511.                     end
  512.                 end)
  513.                 wait(3)
  514.                 ammo = 1
  515.             end
  516.         end
  517.         if key == "e" then
  518.             if ammo > 0 then
  519.                 ammo = 0
  520.                 character:MoveTo(mouse.Hit.p + Vector3.new(0,0.5,0))
  521.                 wait(2)
  522.                 ammo = 1
  523.             end
  524.         end
  525.         if key == "r" then
  526.             if ammo > 0 then
  527.                 ammo = 0
  528.                 spawn(function()
  529.                     local effectA = Instance.new("Part",workspace)
  530.                     effectA.Size = Vector3.new(2.5,2.5,0.5)
  531.                     if not gay then
  532.                         effectA.BrickColor = character.Head.BrickColor
  533.                     else
  534.                         effectA.BrickColor = BrickColor.Random()
  535.                     end
  536.                     effectA.CFrame = tors.CFrame
  537.                     effectA.Anchored = true
  538.                     effectA.CanCollide = false
  539.                     local msh = Instance.new("SpecialMesh",effectA)
  540.                     msh.MeshType = Enum.MeshType.FileMesh
  541.                     msh.MeshId = "rbxassetid://3270017"
  542.                     msh.Scale = Vector3.new(2,2,3)
  543.                     for i = 0,1,0.05 do
  544.                         game:GetService("RunService").RenderStepped:wait()
  545.                         if gay then
  546.                             effectA.BrickColor = BrickColor.Random()
  547.                         end
  548.                         effectA.Size = effectA.Size + Vector3.new(1.7,1.7,0.6)
  549.                         msh.Scale = msh.Scale + Vector3.new(1.7,1.7,0.6)
  550.                         effectA.Transparency = effectA.Transparency + 0.05
  551.                     end
  552.                     effectA:Destroy()
  553.                 end)
  554.                 local ass = Instance.new("Attachment",tors)
  555.                 ass.Position = Vector3.new(0,1,.34)
  556.                 local add = Instance.new("Attachment",tors)
  557.                 add.Position = Vector3.new(0,-1,.34)
  558.                 local trace = Instance.new("Trail",ass)
  559.                 if not gay then
  560.                     trace.Color = ColorSequence.new(character.Head.Color)
  561.                 else
  562.                     trace.Color = ColorSequence.new(imgay)
  563.                 end
  564.                 trace.Attachment0 = ass
  565.                 trace.Attachment1 = add
  566.                 trace.LightEmission = 0.2
  567.                 trace.LightInfluence = 0.6
  568.                 trace.Lifetime = 0.3
  569.                 trace.Transparency = NumberSequence.new(0.16,1)
  570.                 trace.WidthScale = NumberSequence.new(1,0)
  571.                 local hb = Instance.new("Part",character)
  572.                 hb.Size = Vector3.new(2,2,2)
  573.                 hb.CanCollide = false
  574.                 hb.Transparency = 1
  575.                 local wld = Instance.new("Weld",hb)
  576.                 wld.Part0 = hb
  577.                 wld.Part1 = tors
  578.                 hb.Touched:Connect(function(hit)
  579.                     local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  580.                     if humn and humn.Health > 0 then
  581.                         local suspect = humn.Parent
  582.                         if suspect then
  583.                             local fakeTors = suspect:FindFirstChild("HumanoidRootPart")
  584.                             if fakeTors then
  585.                                 local val = suspect:FindFirstChildOfClass("BinaryStringValue")
  586.                                 if not val then
  587.                                     Instance.new("BinaryStringValue",suspect).Name = "fuuk"
  588.                                     local value = math.random(15,30)
  589.                                     if humn.Health <= value then
  590.                                         if not humn.Parent:FindFirstChild("raged") then
  591.                                             ragdolll(humn.Parent)
  592.                                         end
  593.                                     else
  594.                                         humn:TakeDamage(value) 
  595.                                     end
  596.                                     humn.PlatformStand = true
  597.                                     local function damageEffect()
  598.                                         local function hit()
  599.                                             local sph = Instance.new("Part",suspect)
  600.                                             sph.Anchored = true
  601.                                             sph.CanCollide = false
  602.                                             sph.Size = Vector3.new(1,1,1)
  603.                                             sph.CFrame = fakeTors.CFrame
  604.                                             sph.Shape = Enum.PartType.Ball
  605.                                             sph.Material = Enum.Material.Glass
  606.                                             sph.Transparency = 0.5
  607.                                             for i = 0,1,0.1 do
  608.                                                 game:GetService("RunService").RenderStepped:wait()
  609.                                                 sph.Transparency = sph.Transparency + 0.1
  610.                                                 sph.Size = sph.Size + Vector3.new(2.7,2.7,2.7)
  611.                                             end
  612.                                             sph:Destroy()
  613.                                         end
  614.                                         spawn(hit)
  615.                                         local koreans = Instance.new("BodyVelocity",fakeTors) --XD
  616.                                         koreans.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  617.                                         koreans.Velocity = Vector3.new(math.random(-15,15),30,math.random(-15,15))
  618.                                         game.Debris:AddItem(koreans,0.09)
  619.                                         local sond = Instance.new("Sound",suspect)
  620.                                         sond.SoundId = "rbxassetid://260430079"
  621.                                         sond.Volume = 2
  622.                                         sond.MaxDistance = 500
  623.                                         sond:Play()
  624.                                         game.Debris:AddItem(sond,0.72)
  625.                                     end
  626.                                     damageEffect()
  627.                                     wait(1)
  628.                                     humn.PlatformStand = false
  629.                                     suspect:FindFirstChildOfClass("BinaryStringValue"):Destroy()
  630.                                 else
  631.                                     --nothing  
  632.                                 end
  633.                             end
  634.                         end
  635.                     end
  636.                 end)
  637.                 for i = 1,20,0.1 do
  638.                     game:GetService("RunService").RenderStepped:wait()
  639.                     tors.Velocity = tors.CFrame.LookVector * 300
  640.                 end
  641.                 ass:Destroy()
  642.                 add:Destroy()
  643.                 hb:Destroy()
  644.                 wait(1)
  645.                 ammo = 1
  646.             end
  647.         end
  648.         if key == "t" then
  649.             if ammo > 0 then
  650.                 ammo = 0
  651.                 gay = not gay
  652.                 wait(0.1)
  653.                 ammo = 1
  654.             end
  655.         end
  656.         if key == "f" then
  657.             if ammo > 0 then
  658.                 ammo = 0
  659.                 spawn(function()
  660.                     local effectA = Instance.new("Part",workspace)
  661.                     effectA.Size = Vector3.new(2.5,2.5,0.5)
  662.                     effectA.BrickColor = BrickColor.White()
  663.                     effectA.CFrame = tors.CFrame * CFrame.new(0,-2.75,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  664.                     effectA.Anchored = true
  665.                     effectA.CanCollide = false
  666.                     local msh = Instance.new("SpecialMesh",effectA)
  667.                     msh.MeshType = Enum.MeshType.FileMesh
  668.                     msh.MeshId = "rbxassetid://3270017"
  669.                     msh.Scale = Vector3.new(2,2,3)
  670.                     for i = 0,1,0.05 do
  671.                         game:GetService("RunService").RenderStepped:wait()
  672.                         effectA.Size = effectA.Size + Vector3.new(2.5,2.5,0.6)
  673.                         msh.Scale = msh.Scale + Vector3.new(2.5,2.5,0.6)
  674.                         effectA.Transparency = effectA.Transparency + 0.05
  675.                     end
  676.                     effectA:Destroy()
  677.                 end)
  678.                 local bv = Instance.new("BodyVelocity",tors)
  679.                 bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  680.                 bv.Velocity = tors.CFrame.LookVector * 300 + Vector3.new(0,300,0)
  681.                 game.Debris:AddItem(bv,0.2)
  682.                 hum.WalkSpeed = 300
  683.                 wait(0.2)
  684.                 local hb = Instance.new("Part",character)
  685.                 hb.Size = Vector3.new(2,2,1)
  686.                 hb.CanCollide = false
  687.                 hb.Transparency = 1
  688.                 local wld = Instance.new("Weld",hb)
  689.                 wld.Part0 = hb
  690.                 wld.Part1 = tors
  691.                 wld.C0 = CFrame.new(0,2.1,0)
  692.                 local function hi(hit)
  693.                     if not hit:IsDescendantOf(character) then
  694.                         if hit:FindFirstChildOfClass("SpecialMesh") then
  695.                             if hit:FindFirstChildOfClass("SpecialMesh").MeshId ~= "rbxassetid://3270017" then
  696.                                 hum.WalkSpeed = 16
  697.                                 wait(1)
  698.                                 ammo = 1       
  699.                             end
  700.                         else
  701.                             hum.WalkSpeed = 16
  702.                             wait(1)
  703.                             ammo = 1           
  704.                         end
  705.                     else
  706.                         --nothung
  707.                     end
  708.                 end
  709.                 hb.Touched:Connect(hi)
  710.             end
  711.         end
  712.         if key == "g" then
  713.             if ammo > 0 then
  714.                 ammo = 0
  715.                 local fuu = Instance.new("Part",character)
  716.                 fuu.Anchored = true
  717.                 fuu.CanCollide = false
  718.                 fuu.Size = Vector3.new(2,2,2)
  719.                 fuu.Material = Enum.Material.Neon
  720.                 fuu.BrickColor = BrickColor.new("Bright green")
  721.                 fuu.FormFactor = Enum.FormFactor.Custom
  722.                 fuu.TopSurface = Enum.SurfaceType.Smooth
  723.                 fuu.BottomSurface = Enum.SurfaceType.Smooth
  724.                 fuu.CFrame = tors.CFrame
  725.                 local function heal()
  726.                     wait(0.1)
  727.                     hum.Health = hum.Health + math.random(10,40)
  728.                     local eat = Instance.new("Sound",character)
  729.                     eat.SoundId = "rbxassetid://260421433"
  730.                     eat.Volume = 2
  731.                     eat:Play()
  732.                     game.Debris:AddItem(eat,0.62)
  733.                 end
  734.                 spawn(heal)
  735.                 for i = 0,1,0.05 do
  736.                     game:GetService("RunService").RenderStepped:wait()
  737.                     fuu.Size = fuu.Size + Vector3.new(1.5,1.5,1.5)
  738.                     fuu.Orientation = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  739.                     fuu.Transparency = fuu.Transparency + 0.05
  740.                 end
  741.                 fuu:Destroy()
  742.                 wait(1)
  743.                 ammo = 1
  744.             end
  745.         end
  746.         if key == "y" then
  747.             if ammo > 0 then
  748.                 ammo = 0
  749.                 tors.Anchored = true
  750.                 local leak = Instance.new("Part",character)
  751.                 leak.Anchored = true
  752.                 leak.Transparency = 0
  753.                 leak.CanCollide = false
  754.                 leak.Size = Vector3.new(0.1,2,2)
  755.                 leak.CFrame = tors.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)) + Vector3.new(0,-3,0)
  756.                 leak.Shape = Enum.PartType.Cylinder
  757.                 leak.BrickColor = BrickColor.new("New Yeller")
  758.                 leak.Material = Enum.Material.Neon
  759.                 wait(1)
  760.                 local function zapp()
  761.                     local zap = Instance.new("Sound",character)
  762.                     zap.SoundId = "rbxassetid://1102831575"
  763.                     zap.Volume = 1
  764.                     zap:Play()
  765.                     game.Debris:AddItem(zap,0.23)
  766.                 end
  767.                 spawn(zapp)
  768.                 leak.Touched:Connect(function(hit)
  769.                     local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  770.                     if humn and humn.Health > 0 then
  771.                         local suspect = humn.Parent
  772.                         if suspect then
  773.                             local fakeTors = suspect:FindFirstChild("HumanoidRootPart")
  774.                             if fakeTors then
  775.                                 local val = suspect:FindFirstChildOfClass("BinaryStringValue")
  776.                                 if not val then
  777.                                     Instance.new("BinaryStringValue",suspect).Name = "fuuk"
  778.                                     local value = math.random(5,10)
  779.                                     if humn.Health <= value then
  780.                                         if not humn.Parent:FindFirstChild("raged") then
  781.                                             ragdolll(humn.Parent)
  782.                                         end
  783.                                     else
  784.                                         humn:TakeDamage(value) 
  785.                                     end
  786.                                     wait(0.1)
  787.                                     suspect:FindFirstChildOfClass("BinaryStringValue"):Destroy()
  788.                                 else
  789.                                     --nothing  
  790.                                 end
  791.                             end
  792.                         end
  793.                     end
  794.                 end)
  795.                 for i = 1,150 do
  796.                     game:GetService("RunService").RenderStepped:wait()
  797.                     leak.Size = leak.Size + Vector3.new(0.005,1,1)
  798.                 end
  799.                 for i = 0,1,0.1 do
  800.                     game:GetService("RunService").RenderStepped:wait()
  801.                     leak.Transparency = i
  802.                 end
  803.                 leak:Destroy()
  804.                 tors.Anchored = false
  805.                 ammo = 1
  806.             end
  807.         end
  808.     end)
  809. end)
  810. powerTool.Unequipped:Connect(function()
  811.     equipped = false
  812. end)
  813. hum.BreakJointsOnDeath = false
  814. hum.Died:Connect(function()
  815.     if not character:FindFirstChild("raged") then
  816.         ragdolll(character)
  817.     end
  818.     while true do
  819.         game:GetService("RunService").RenderStepped:wait()
  820.         --workspace.CurrentCamera.CFrame = character.Head.CFrame * CFrame.new(0,0,-0.9)
  821.         hum.Health = 0.1
  822.         hum.PlatformStand = true
  823.     end
  824. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement