Advertisement
iiJosephCats205

Power Tool [V2.1, FE]

Mar 29th, 2025
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.04 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6.     print("FE Compatibility code V2 by Mokiros")
  7.     local RealPlayer = RealPlayer
  8.     script.Parent = RealPlayer.Character
  9.  
  10.     --Fake event to make stuff like Mouse.KeyDown work
  11.     local Disconnect_Function = function(this)
  12.         this[1].Functions[this[2]] = nil
  13.     end
  14.     local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15.     local FakeEvent_Metatable = {__index={
  16.         Connect = function(this,f)
  17.             local i = tostring(math.random(0,10000))
  18.             while this.Functions[i] do
  19.                 i = tostring(math.random(0,10000))
  20.             end
  21.             this.Functions[i] = f
  22.             return setmetatable({this,i},Disconnect_Metatable)
  23.         end
  24.     }}
  25.     FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26.     local function fakeEvent()
  27.         return setmetatable({Functions={}},FakeEvent_Metatable)
  28.     end
  29.  
  30.     --Creating fake input objects with fake variables
  31.     local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32.     FakeMouse.keyUp = FakeMouse.KeyUp
  33.     FakeMouse.keyDown = FakeMouse.KeyDown
  34.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37.     end}
  38.     --Merged 2 functions into one by checking amount of arguments
  39.     CAS.UnbindAction = CAS.BindAction
  40.  
  41.     --This function will trigger the events that have been :Connect()'ed
  42.     local function TriggerEvent(self,ev,...)
  43.         for _,f in pairs(self[ev].Functions) do
  44.             f(...)
  45.         end
  46.     end
  47.     FakeMouse.TriggerEvent = TriggerEvent
  48.     UIS.TriggerEvent = TriggerEvent
  49.  
  50.     --Client communication
  51.     local Event = Instance.new("RemoteEvent")
  52.     Event.Name = "UserInput_Event"
  53.     Event.OnServerEvent:Connect(function(plr,io)
  54.         if plr~=RealPlayer then return end
  55.         FakeMouse.Target = io.Target
  56.         FakeMouse.Hit = io.Hit
  57.         if not io.isMouse then
  58.             local b = io.UserInputState == Enum.UserInputState.Begin
  59.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60.                 return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61.             end
  62.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63.                 return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64.             end
  65.             for _,t in pairs(CAS.Actions) do
  66.                 for _,k in pairs(t.Keys) do
  67.                     if k==io.KeyCode then
  68.                         t.Function(t.Name,io.UserInputState,io)
  69.                     end
  70.                 end
  71.             end
  72.             FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73.             UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74.         end
  75.     end)
  76.     Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77.     local Mouse = owner:GetMouse()
  78.     local UIS = game:GetService("UserInputService")
  79.     local input = function(io,RobloxHandled)
  80.         if RobloxHandled then return end
  81.         --Since InputObject is a client-side instance, we create and pass table instead
  82.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83.     end
  84.     UIS.InputBegan:Connect(input)
  85.     UIS.InputEnded:Connect(input)
  86.  
  87.     local h,t
  88.     --Give the server mouse data every second frame, but only if the values changed
  89.     --If player is not moving their mouse, client won't fire events
  90.     local HB = game:GetService("RunService").Heartbeat
  91.     while true do
  92.         if h~=Mouse.Hit or t~=Mouse.Target then
  93.             h,t=Mouse.Hit,Mouse.Target
  94.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  95.         end
  96.         --Wait 2 frames
  97.         for i=1,2 do
  98.             HB:Wait()
  99.         end
  100.     end]==],script)
  101.  
  102.     ----Sandboxed game object that allows the usage of client-side methods and services
  103.     --Real game object
  104.     local RealGame = game
  105.  
  106.     --Metatable for fake service
  107.     local FakeService_Metatable = {
  108.         __index = function(self,k)
  109.             local s = rawget(self,"_RealService")
  110.             if s then
  111.                 return typeof(s[k])=="function"
  112.                     and function(_,...)return s[k](s,...)end or s[k]
  113.             end
  114.         end,
  115.         __newindex = function(self,k,v)
  116.             local s = rawget(self,"_RealService")
  117.             if s then s[k]=v end
  118.         end
  119.     }
  120.     local function FakeService(t,RealService)
  121.         t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122.         return setmetatable(t,FakeService_Metatable)
  123.     end
  124.  
  125.     --Fake game object
  126.     local FakeGame = {
  127.         GetService = function(self,s)
  128.             return rawget(self,s) or RealGame:GetService(s)
  129.         end,
  130.         Players = FakeService({
  131.             LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132.         },"Players"),
  133.         UserInputService = FakeService(UIS,"UserInputService"),
  134.         ContextActionService = FakeService(CAS,"ContextActionService"),
  135.         RunService = FakeService({
  136.             _btrs = {},
  137.             RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138.             BindToRenderStep = function(self,name,_,fun)
  139.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  140.             end,
  141.             UnbindFromRenderStep = function(self,name)
  142.                 self._btrs[name]:Disconnect()
  143.             end,
  144.         },"RunService")
  145.     }
  146.     rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147.     FakeGame.service = FakeGame.GetService
  148.     FakeService(FakeGame,game)
  149.     --Changing owner to fake player object to support owner:GetMouse()
  150.     game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. --By iiSharkBus (Now DutchOrionVII, I'm back after 3 years. Modified so the PasteBin mods are happy)
  154. wait(1)
  155. --[[
  156.    
  157.     ---------VERSION---------
  158.     Power Tool by iiJoeCats
  159.     VERSION 2
  160.     -------------------------
  161.    
  162.     --------CONTROLS---------
  163.     [Q] || FIREBALL
  164.     [E] || TELEPORT
  165.     [R] || DASH
  166.     [T] || RAINBOW TOGGLE {FOR R MOVE}
  167.     [F] || SUPER JUMP
  168.     [G] || HEAL
  169.     [Y] || DAMAGE ZONE
  170.     -------------------------
  171.    
  172.     -------UPDATE INFO-------
  173.     C - Changes/Updates
  174.     N - New
  175.     ! - Spoilers
  176.     --------------
  177.     C - Added Effects To Fireball Move And CFrame Animation For R6 Rigs ONLY
  178.     N - THIS
  179.     N - Ragdoll {Credit to Rufus14}
  180.     ! - Music Visualizer Coming Soon (Press Z to toggle it)
  181.     CN! - I think this script is going to get over 800 lines when I'm finished with Version 2
  182.     -------------------------
  183. ]]--
  184. local mouse = game.Players.LocalPlayer:GetMouse()
  185. local character = game.Players.LocalPlayer.Character
  186. local tors = character:FindFirstChild("HumanoidRootPart")
  187. local hum = character:FindFirstChildOfClass("Humanoid")
  188. local ammo = 1
  189. local isitgoing = false
  190. local equipped = false
  191. local imisitgoing = {
  192.     ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
  193.     ColorSequenceKeypoint.new(0.2, Color3.new(1, 0.333333, 0)),
  194.     ColorSequenceKeypoint.new(0.4, Color3.new(1, 1, 0)),
  195.     ColorSequenceKeypoint.new(0.6, Color3.new(0, 1, 0)),
  196.     ColorSequenceKeypoint.new(0.8, Color3.new(0, 0.666667, 1)),
  197.     ColorSequenceKeypoint.new(1, Color3.new(0.74902, 0, 1))
  198. }
  199. function ragdolll(char)
  200.     local victimshumanoid = char:findFirstChildOfClass("Humanoid")
  201.     local checkragd = char:findFirstChild("ragded")
  202.     if not checkragd then
  203.         local boolvalue = Instance.new("BoolValue", char)
  204.         boolvalue.Name = "ragded"
  205.         if not char:findFirstChild("UpperTorso") then
  206.             char.Archivable = true
  207.             for i,v in pairs(char:GetChildren()) do
  208.                 if v.ClassName == "Sound" then
  209.                     v:remove()
  210.                 end
  211.                 for q,w in pairs(v:GetChildren()) do
  212.                     if w.ClassName == "Sound" then
  213.                         w:remove()
  214.                     end
  215.                 end
  216.             end
  217.             local ragdoll = char:Clone()
  218.             if game:GetService("RunService"):IsClient() then
  219.                 if ragdoll.Name == character.Name then
  220.                     workspace.CurrentCamera.CameraSubject = ragdoll
  221.                 end
  222.             end
  223.             if math.random(1,100) == 1 then
  224.                 local burgerking = Instance.new("Sound",ragdoll)
  225.                 burgerking.SoundId = "rbxassetid://1402510823"
  226.                 burgerking.Volume = 1
  227.                 burgerking:Play()
  228.                 game.Debris:AddItem(ragdoll, burgerking.TimeLength)
  229.             else   
  230.                 local sond = Instance.new("Sound",ragdoll)
  231.                 sond.SoundId = "rbxassetid://178092307"
  232.                 local sond2 = Instance.new("Sound",ragdoll)
  233.                 sond2.SoundId = "rbxassetid://165315045"
  234.                 if ragdoll.Name == character.Name then
  235.                     sond.Volume = 1
  236.                     sond2.Volume = 1
  237.                 else
  238.                     sond.Volume = .25
  239.                     sond2.Volume = .25 
  240.                 end
  241.                 sond2:Play()
  242.                 sond:Play()
  243.                 game.Debris:AddItem(ragdoll, 5)
  244.             end
  245.             for i,v in pairs(ragdoll:GetDescendants()) do
  246.                 if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  247.                     v:destroy()
  248.                 end
  249.             end
  250.             ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  251.             ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  252.             if ragdoll:findFirstChild("Health") then
  253.                 if ragdoll:findFirstChild("Health").ClassName == "Script" then
  254.                     ragdoll:findFirstChild("Health").Disabled = true
  255.                 end
  256.             end
  257.             for i,v in pairs(char:GetChildren()) do
  258.                 if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  259.                     v:destroy()
  260.                 end
  261.             end
  262.             for i,v in pairs(char:GetChildren()) do
  263.                 if v.ClassName == "Accessory" then
  264.                     local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  265.                     if attachment1 then
  266.                         for q,w in pairs(char:GetChildren()) do
  267.                             if w.ClassName == "Part" then
  268.                                 local attachment2 = w:findFirstChild(attachment1.Name)
  269.                                 if attachment2 then
  270.                                     local hinge = Instance.new("HingeConstraint", v.Handle)
  271.                                     hinge.Attachment0 = attachment1
  272.                                     hinge.Attachment1 = attachment2
  273.                                     hinge.LimitsEnabled = true
  274.                                     hinge.LowerAngle = 0
  275.                                     hinge.UpperAngle = 0
  276.                                 end
  277.                             end
  278.                         end
  279.                     end
  280.                 end
  281.             end
  282.             ragdoll.Parent = workspace
  283.             if ragdoll:findFirstChild("Right Arm") then
  284.                 local glue = Instance.new("Glue", ragdoll.Torso)
  285.                 glue.Part0 = ragdoll.Torso
  286.                 glue.Part1 = ragdoll:findFirstChild("Right Arm")
  287.                 glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  288.                 glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  289.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  290.                 limbcollider.Size = Vector3.new(1.4,1,1)
  291.                 limbcollider.Shape = "Cylinder"
  292.                 limbcollider.Transparency = 1
  293.                 limbcollider.Name = "LimbCollider"
  294.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  295.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  296.                 limbcolliderweld.Part1 = limbcollider
  297.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  298.             end
  299.             if ragdoll:findFirstChild("Left Arm") then
  300.                 local glue = Instance.new("Glue", ragdoll.Torso)
  301.                 glue.Part0 = ragdoll.Torso
  302.                 glue.Part1 = ragdoll:findFirstChild("Left Arm")
  303.                 glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  304.                 glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  305.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  306.                 limbcollider.Size = Vector3.new(1.4,1,1)
  307.                 limbcollider.Shape = "Cylinder"
  308.                 limbcollider.Name = "LimbCollider"
  309.                 limbcollider.Transparency = 1
  310.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  311.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  312.                 limbcolliderweld.Part1 = limbcollider
  313.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  314.             end
  315.             if ragdoll:findFirstChild("Left Leg") then
  316.                 local glue = Instance.new("Glue", ragdoll.Torso)
  317.                 glue.Part0 = ragdoll.Torso
  318.                 glue.Part1 = ragdoll:findFirstChild("Left Leg")
  319.                 glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  320.                 glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  321.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  322.                 limbcollider.Size = Vector3.new(1.4,1,1)
  323.                 limbcollider.Shape = "Cylinder"
  324.                 limbcollider.Name = "LimbCollider"
  325.                 limbcollider.Transparency = 1
  326.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  327.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  328.                 limbcolliderweld.Part1 = limbcollider
  329.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  330.             end
  331.             if ragdoll:findFirstChild("Right Leg") then
  332.                 local glue = Instance.new("Glue", ragdoll.Torso)
  333.                 glue.Part0 = ragdoll.Torso
  334.                 glue.Part1 = ragdoll:findFirstChild("Right Leg")
  335.                 glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  336.                 glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  337.                 local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  338.                 limbcollider.Size = Vector3.new(1.4,1,1)
  339.                 limbcollider.Shape = "Cylinder"
  340.                 limbcollider.Name = "LimbCollider"
  341.                 limbcollider.Transparency = 1
  342.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  343.                 limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  344.                 limbcolliderweld.Part1 = limbcollider
  345.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  346.             end
  347.             if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  348.                 local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  349.                 HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  350.                 local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  351.                 connection.LimitsEnabled = true
  352.                 connection.Attachment0 = ragdoll.Torso.NeckAttachment
  353.                 connection.Attachment1 = HeadAttachment
  354.                 connection.UpperAngle = 60
  355.                 connection.LowerAngle = -60
  356.             elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  357.                 local hedweld = Instance.new("Weld", ragdoll.Torso)
  358.                 hedweld.Part0 = ragdoll.Torso
  359.                 hedweld.Part1 = ragdoll.Head
  360.                 hedweld.C0 = CFrame.new(0,1.5,0)
  361.             end
  362.             local function aaaalol()
  363.                 wait(0.2)
  364.                 local function searchforvelocity(wot)
  365.                     for i,v in pairs(wot:GetChildren()) do
  366.                         searchforvelocity(v)
  367.                         if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  368.                             v:destroy()
  369.                         end
  370.                     end
  371.                 end
  372.                 searchforvelocity(ragdoll)
  373.                 wait(0.5)
  374.                 if ragdoll:findFirstChildOfClass("Humanoid") then
  375.                     ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  376.                 end
  377.                 if ragdoll:findFirstChild("HumanoidRootPart") then
  378.                     ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  379.                 end
  380.             end
  381.             spawn(aaaalol)
  382.         elseif char:findFirstChild("UpperTorso") then
  383.             char.Archivable = true
  384.             for i,v in pairs(char:GetChildren()) do
  385.                 if v.ClassName == "Sound" then
  386.                     v:remove()
  387.                 end
  388.                 for q,w in pairs(v:GetChildren()) do
  389.                     if w.ClassName == "Sound" then
  390.                         w:remove()
  391.                     end
  392.                 end
  393.             end
  394.             local ragdoll = char:Clone()
  395.             if game:GetService("RunService"):IsClient() then
  396.                 if ragdoll.Name == character.Name then
  397.                     workspace.CurrentCamera.CameraSubject = ragdoll
  398.                 end
  399.             end
  400.             if math.random(1,100) == 1 then
  401.                 local burgerking = Instance.new("Sound",ragdoll)
  402.                 burgerking.SoundId = "rbxassetid://1402510823"
  403.                 burgerking.Volume = 1
  404.                 burgerking:Play()
  405.                 game.Debris:AddItem(ragdoll, burgerking.TimeLength)
  406.             else   
  407.                 local sond = Instance.new("Sound",ragdoll)
  408.                 sond.SoundId = "rbxassetid://178092307"
  409.                 local sond2 = Instance.new("Sound",ragdoll)
  410.                 sond2.SoundId = "rbxassetid://165315045"
  411.                 if ragdoll.Name == character.Name then
  412.                     sond.Volume = 1
  413.                     sond2.Volume = 1
  414.                 else
  415.                     sond.Volume = .25
  416.                     sond2.Volume = .25 
  417.                 end
  418.                 sond2:Play()
  419.                 sond:Play()
  420.                 game.Debris:AddItem(ragdoll, 5)
  421.             end
  422.             ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  423.             for i,v in pairs(ragdoll:GetDescendants()) do
  424.                 if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  425.                     v:destroy()
  426.                 end
  427.             end
  428.             ragdoll:BreakJoints()
  429.             ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  430.             if ragdoll:findFirstChild("Health") then
  431.                 if ragdoll:findFirstChild("Health").ClassName == "Script" then
  432.                     ragdoll:findFirstChild("Health").Disabled = true
  433.                 end
  434.             end
  435.             for i,v in pairs(char:GetChildren()) do
  436.                 if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  437.                     v:destroy()
  438.                 end
  439.             end
  440.             for i,v in pairs(char:GetChildren()) do
  441.                 if v.ClassName == "Accessory" then
  442.                     local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  443.                     if attachment1 then
  444.                         for q,w in pairs(char:GetChildren()) do
  445.                             if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  446.                                 local attachment2 = w:findFirstChild(attachment1.Name)
  447.                                 if attachment2 then
  448.                                     local hinge = Instance.new("HingeConstraint", v.Handle)
  449.                                     hinge.Attachment0 = attachment1
  450.                                     hinge.Attachment1 = attachment2
  451.                                     hinge.LimitsEnabled = true
  452.                                     hinge.LowerAngle = 0
  453.                                     hinge.UpperAngle = 0
  454.                                 end
  455.                             end
  456.                         end
  457.                     end
  458.                 end
  459.             end
  460.             ragdoll.Parent = workspace
  461.             local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  462.             Humanoid.PlatformStand = true
  463.             local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  464.                 local connection = Instance.new('BallSocketConstraint', limb)
  465.                 connection.LimitsEnabled = true
  466.                 connection.Attachment0 = attachementone
  467.                 connection.Attachment1 = attachmenttwo
  468.                 connection.TwistLimitsEnabled = true
  469.                 connection.TwistLowerAngle = twistlower
  470.                 connection.TwistUpperAngle = twistupper
  471.                 local limbcollider = Instance.new("Part", limb)
  472.                 limbcollider.Size = Vector3.new(0.1,1,1)
  473.                 limbcollider.Shape = "Cylinder"
  474.                 limbcollider.Transparency = 1
  475.                 limbcollider:BreakJoints()
  476.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  477.                 limbcolliderweld.Part0 = limb
  478.                 limbcolliderweld.Part1 = limbcollider
  479.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  480.             end
  481.             local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  482.                 local connection = Instance.new('HingeConstraint', limb)
  483.                 connection.LimitsEnabled = true
  484.                 connection.Attachment0 = attachementone
  485.                 connection.Attachment1 = attachmenttwo
  486.                 connection.LimitsEnabled = true
  487.                 connection.LowerAngle = lower
  488.                 connection.UpperAngle = upper
  489.                 local limbcollider = Instance.new("Part", limb)
  490.                 limbcollider.Size = Vector3.new(0.1,1,1)
  491.                 limbcollider.Shape = "Cylinder"
  492.                 limbcollider.Transparency = 1
  493.                 limbcollider:BreakJoints()
  494.                 local limbcolliderweld = Instance.new("Weld", limbcollider)
  495.                 limbcolliderweld.Part0 = limb
  496.                 limbcolliderweld.Part1 = limbcollider
  497.                 limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  498.             end
  499.             local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  500.             HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  501.             if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  502.                 makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  503.             end
  504.             makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  505.             makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  506.             makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  507.             makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  508.             --
  509.             makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  510.             makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  511.             makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  512.             --
  513.             makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  514.             makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  515.             makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  516.             --
  517.             makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  518.             makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  519.             makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  520.             for i,v in pairs(Humanoid.Parent:GetChildren()) do
  521.                 if v.ClassName == "Accessory" then
  522.                     local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  523.                     if attachment1 then
  524.                         for q,w in pairs(Humanoid.Parent:GetChildren()) do
  525.                             if w.ClassName == "Part" then
  526.                                 local attachment2 = w:findFirstChild(attachment1.Name)
  527.                                 if attachment2 then
  528.                                     local hinge = Instance.new("HingeConstraint", v.Handle)
  529.                                     hinge.Attachment0 = attachment1
  530.                                     hinge.Attachment1 = attachment2
  531.                                     hinge.LimitsEnabled = true
  532.                                     hinge.LowerAngle = 0
  533.                                     hinge.UpperAngle = 0
  534.                                 end
  535.                             end
  536.                         end
  537.                     end
  538.                 end
  539.             end
  540.             for i,v in pairs(ragdoll:GetChildren()) do
  541.                 for q,w in pairs(v:GetChildren()) do
  542.                     if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
  543.                         w:destroy()
  544.                     end
  545.                 end
  546.             end
  547.             if ragdoll:findFirstChild("HumanoidRootPart") then
  548.                 ragdoll.HumanoidRootPart:destroy()
  549.             end
  550.             if ragdoll:findFirstChildOfClass("Humanoid") then
  551.                 ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  552.             end
  553.             local function waitfordatmoment()
  554.                 wait(0.2)
  555.                 local function searchforvelocity(wot)
  556.                     for i,v in pairs(wot:GetChildren()) do
  557.                         searchforvelocity(v)
  558.                         if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  559.                             v:destroy()
  560.                         end
  561.                     end
  562.                 end
  563.                 searchforvelocity(ragdoll)
  564.             end
  565.             spawn(waitfordatmoment)
  566.             game.Debris:AddItem(ragdoll, 5)
  567.         end
  568.     end
  569. end
  570.  
  571. local hum = character:FindFirstChildOfClass("Humanoid")
  572. local textures = {391827915,224894620,988623869,61103013,3115326221,1288816906,581605846,1367427817,2801380278,4291187457,1453454202}
  573. local powerTool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  574. powerTool.CanBeDropped = false
  575. powerTool.RequiresHandle = false
  576. powerTool.Name = "PwnedLOL"
  577. powerTool.ToolTip = "why"
  578. powerTool.TextureId = "rbxassetid://"..textures[math.random(1, #textures)]
  579. powerTool.Equipped:Connect(function(mouse)
  580.     equipped = true
  581.     mouse.KeyDown:Connect(function(key)
  582.         if key == "q" then
  583.             if ammo > 0 then
  584.                 ammo = 0
  585.                 local fireball = Instance.new("Part",character)
  586.                 game.Debris:AddItem(fireball,5)
  587.                 fireball.Size = Vector3.new(3,3,3)
  588.                 fireball.FormFactor = Enum.FormFactor.Custom
  589.                 fireball.CanCollide = false
  590.                 fireball.Shape = Enum.PartType.Ball
  591.                 fireball.BrickColor = BrickColor.new(255, 100, 0)
  592.                 fireball.Material = Enum.Material.Neon
  593.                 fireball.CFrame = CFrame.new(character.HumanoidRootPart.Position,mouse.Hit.p)
  594.                 local fire = Instance.new("ParticleEmitter",fireball)
  595.                 fire.Speed = NumberRange.new(10, 10)
  596.                 fire.Rotation = NumberRange.new(-180, 180)
  597.                 fire.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 1, 0),Color3.new(0, 0, 0))
  598.                 fire.LightEmission = 0.94999998807907
  599.                 fire.LightInfluence = 0.80000001192093
  600.                 fire.Texture = "rbxassetid://2050129958"
  601.                 fire.Transparency = NumberSequence.new(0,1)
  602.                 fire.ZOffset = 1
  603.                 fire.Size = NumberSequence.new(1.6874998807907,0)
  604.                 fire.Acceleration = Vector3.new(5, 35, 5)
  605.                 fire.Drag = 0.5
  606.                 fire.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  607.                 fire.Rate = 68
  608.                 fire.RotSpeed = NumberRange.new(-360, 360)
  609.                 fire.SpreadAngle = Vector2.new(-40, 10)
  610.                 local bv = Instance.new("BodyVelocity",fireball)
  611.                 bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  612.                 bv.Velocity = fireball.CFrame.LookVector * 100
  613.                 spawn(function()
  614.                     if character.Torso then
  615.                         local raWeld = Instance.new("Weld",character.Torso)
  616.                         raWeld.Part0 = character.Torso
  617.                         raWeld.Part1 = character["Right Arm"]
  618.                         raWeld.C0 = CFrame.new(1.5,0,0)
  619.                         for i = 0,1,0.15 do
  620.                             game:GetService("RunService").RenderStepped:wait()
  621.                             raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0)),i)
  622.                         end
  623.                         wait(2)
  624.                         for i = 0,1,0.15 do
  625.                             game:GetService("RunService").RenderStepped:wait()
  626.                             raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),i)
  627.                         end
  628.                         raWeld:Destroy()
  629.                     end
  630.                 end)
  631.                 fireball.Touched:Connect(function(hit)
  632.                     local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  633.                     if humn and humn.Health > 0 then
  634.                         if hit:IsDescendantOf(character) then return end
  635.                         local val = humn.Parent:FindFirstChildOfClass("BinaryStringValue")
  636.                         if not val then
  637.                             Instance.new("BinaryStringValue",humn.Parent).Name = "XD"
  638.                             local clone = fire:Clone()
  639.                             if humn.Parent:FindFirstChild("Torso") then
  640.                                 clone.Parent = humn.Parent.Torso
  641.                             elseif humn.Parent:FindFirstChild("UpperTorso") then
  642.                                 clone.Parent = humn.Parent.Torso
  643.                             end
  644.                             for i = 1,math.random(10,20) do
  645.                                 if humn.Health <= 0 then
  646.                                     break
  647.                                 end
  648.                                 local value = math.random(2,6)
  649.                                 if humn.Health <= value then
  650.                                     if not humn.Parent:FindFirstChild("raged") then
  651.                                         ragdolll(humn.Parent)
  652.                                     end
  653.                                 else
  654.                                     humn:TakeDamage(value) 
  655.                                 end
  656.                                 wait(0.5)
  657.                             end
  658.                             clone:Destroy()
  659.                             humn.Parent:FindFirstChildOfClass("BinaryStringValue"):Destroy()
  660.                         else
  661.                             --nothing  
  662.                         end
  663.                     end
  664.                 end)
  665.                 wait(3)
  666.                 ammo = 1
  667.             end
  668.         end
  669.         if key == "e" then
  670.             if ammo > 0 then
  671.                 ammo = 0
  672.                 character:MoveTo(mouse.Hit.p + Vector3.new(0,0.5,0))
  673.                 wait(2)
  674.                 ammo = 1
  675.             end
  676.         end
  677.         if key == "r" then
  678.             if ammo > 0 then
  679.                 ammo = 0
  680.                 spawn(function()
  681.                     local effectA = Instance.new("Part",workspace)
  682.                     effectA.Size = Vector3.new(2.5,2.5,0.5)
  683.                     if not isitgoing then
  684.                         effectA.BrickColor = character.Head.BrickColor
  685.                     else
  686.                         effectA.BrickColor = BrickColor.Random()
  687.                     end
  688.                     effectA.CFrame = tors.CFrame
  689.                     effectA.Anchored = true
  690.                     effectA.CanCollide = false
  691.                     local msh = Instance.new("SpecialMesh",effectA)
  692.                     msh.MeshType = Enum.MeshType.FileMesh
  693.                     msh.MeshId = "rbxassetid://3270017"
  694.                     msh.Scale = Vector3.new(2,2,3)
  695.                     for i = 0,1,0.05 do
  696.                         game:GetService("RunService").RenderStepped:wait()
  697.                         if isitgoing then
  698.                             effectA.BrickColor = BrickColor.Random()
  699.                         end
  700.                         effectA.Size = effectA.Size + Vector3.new(1.7,1.7,0.6)
  701.                         msh.Scale = msh.Scale + Vector3.new(1.7,1.7,0.6)
  702.                         effectA.Transparency = effectA.Transparency + 0.05
  703.                     end
  704.                     effectA:Destroy()
  705.                 end)
  706.                 local ass = Instance.new("Attachment",tors)
  707.                 ass.Position = Vector3.new(0,1,.34)
  708.                 local add = Instance.new("Attachment",tors)
  709.                 add.Position = Vector3.new(0,-1,.34)
  710.                 local trace = Instance.new("Trail",ass)
  711.                 if not isitgoing then
  712.                     trace.Color = ColorSequence.new(character.Head.Color)
  713.                 else
  714.                     trace.Color = ColorSequence.new(imisitgoing)
  715.                 end
  716.                 trace.Attachment0 = ass
  717.                 trace.Attachment1 = add
  718.                 trace.LightEmission = 0.2
  719.                 trace.LightInfluence = 0.6
  720.                 trace.Lifetime = 0.3
  721.                 trace.Transparency = NumberSequence.new(0.16,1)
  722.                 trace.WidthScale = NumberSequence.new(1,0)
  723.                 local hb = Instance.new("Part",character)
  724.                 hb.Size = Vector3.new(2,2,2)
  725.                 hb.CanCollide = false
  726.                 hb.Transparency = 1
  727.                 local wld = Instance.new("Weld",hb)
  728.                 wld.Part0 = hb
  729.                 wld.Part1 = tors
  730.                 hb.Touched:Connect(function(hit)
  731.                     local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  732.                     if humn and humn.Health > 0 then
  733.                         local suspect = humn.Parent
  734.                         if suspect then
  735.                             local fakeTors = suspect:FindFirstChild("HumanoidRootPart")
  736.                             if fakeTors then
  737.                                 local val = suspect:FindFirstChildOfClass("BinaryStringValue")
  738.                                 if not val then
  739.                                     Instance.new("BinaryStringValue",suspect).Name = "fuuk"
  740.                                     local value = math.random(15,30)
  741.                                     if humn.Health <= value then
  742.                                         if not humn.Parent:FindFirstChild("raged") then
  743.                                             ragdolll(humn.Parent)
  744.                                         end
  745.                                     else
  746.                                         humn:TakeDamage(value) 
  747.                                     end
  748.                                     humn.PlatformStand = true
  749.                                     local function damageEffect()
  750.                                         local function hit()
  751.                                             local sph = Instance.new("Part",suspect)
  752.                                             sph.Anchored = true
  753.                                             sph.CanCollide = false
  754.                                             sph.Size = Vector3.new(1,1,1)
  755.                                             sph.CFrame = fakeTors.CFrame
  756.                                             sph.Shape = Enum.PartType.Ball
  757.                                             sph.Material = Enum.Material.Glass
  758.                                             sph.Transparency = 0.5
  759.                                             for i = 0,1,0.1 do
  760.                                                 game:GetService("RunService").RenderStepped:wait()
  761.                                                 sph.Transparency = sph.Transparency + 0.1
  762.                                                 sph.Size = sph.Size + Vector3.new(2.7,2.7,2.7)
  763.                                             end
  764.                                             sph:Destroy()
  765.                                         end
  766.                                         spawn(hit)
  767.                                         local koreans = Instance.new("BodyVelocity",fakeTors) --XD
  768.                                         koreans.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  769.                                         koreans.Velocity = Vector3.new(math.random(-15,15),30,math.random(-15,15))
  770.                                         game.Debris:AddItem(koreans,0.09)
  771.                                         local sond = Instance.new("Sound",suspect)
  772.                                         sond.SoundId = "rbxassetid://260430079"
  773.                                         sond.Volume = 2
  774.                                         sond.MaxDistance = 500
  775.                                         sond:Play()
  776.                                         game.Debris:AddItem(sond,0.72)
  777.                                     end
  778.                                     damageEffect()
  779.                                     wait(1)
  780.                                     humn.PlatformStand = false
  781.                                     suspect:FindFirstChildOfClass("BinaryStringValue"):Destroy()
  782.                                 else
  783.                                     --nothing  
  784.                                 end
  785.                             end
  786.                         end
  787.                     end
  788.                 end)
  789.                 for i = 1,20,0.1 do
  790.                     game:GetService("RunService").RenderStepped:wait()
  791.                     tors.Velocity = tors.CFrame.LookVector * 300
  792.                 end
  793.                 ass:Destroy()
  794.                 add:Destroy()
  795.                 hb:Destroy()
  796.                 wait(1)
  797.                 ammo = 1
  798.             end
  799.         end
  800.         if key == "t" then
  801.             if ammo > 0 then
  802.                 ammo = 0
  803.                 isitgoing = not isitgoing
  804.                 wait(0.1)
  805.                 ammo = 1
  806.             end
  807.         end
  808.         if key == "f" then
  809.             if ammo > 0 then
  810.                 ammo = 0
  811.                 spawn(function()
  812.                     local effectA = Instance.new("Part",workspace)
  813.                     effectA.Size = Vector3.new(2.5,2.5,0.5)
  814.                     effectA.BrickColor = BrickColor.White()
  815.                     effectA.CFrame = tors.CFrame * CFrame.new(0,-2.75,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(0))
  816.                     effectA.Anchored = true
  817.                     effectA.CanCollide = false
  818.                     local msh = Instance.new("SpecialMesh",effectA)
  819.                     msh.MeshType = Enum.MeshType.FileMesh
  820.                     msh.MeshId = "rbxassetid://3270017"
  821.                     msh.Scale = Vector3.new(2,2,3)
  822.                     for i = 0,1,0.05 do
  823.                         game:GetService("RunService").RenderStepped:wait()
  824.                         effectA.Size = effectA.Size + Vector3.new(2.5,2.5,0.6)
  825.                         msh.Scale = msh.Scale + Vector3.new(2.5,2.5,0.6)
  826.                         effectA.Transparency = effectA.Transparency + 0.05
  827.                     end
  828.                     effectA:Destroy()
  829.                 end)
  830.                 local bv = Instance.new("BodyVelocity",tors)
  831.                 bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  832.                 bv.Velocity = tors.CFrame.LookVector * 300 + Vector3.new(0,300,0)
  833.                 game.Debris:AddItem(bv,0.2)
  834.                 hum.WalkSpeed = 300
  835.                 wait(0.2)
  836.                 local hb = Instance.new("Part",character)
  837.                 hb.Size = Vector3.new(2,2,1)
  838.                 hb.CanCollide = false
  839.                 hb.Transparency = 1
  840.                 local wld = Instance.new("Weld",hb)
  841.                 wld.Part0 = hb
  842.                 wld.Part1 = tors
  843.                 wld.C0 = CFrame.new(0,2.1,0)
  844.                 local function hi(hit)
  845.                     if not hit:IsDescendantOf(character) then
  846.                         if hit:FindFirstChildOfClass("SpecialMesh") then
  847.                             if hit:FindFirstChildOfClass("SpecialMesh").MeshId ~= "rbxassetid://3270017" then
  848.                                 hum.WalkSpeed = 16
  849.                                 wait(1)
  850.                                 ammo = 1       
  851.                             end
  852.                         else
  853.                             hum.WalkSpeed = 16
  854.                             wait(1)
  855.                             ammo = 1           
  856.                         end
  857.                     else
  858.                         --nothung
  859.                     end
  860.                 end
  861.                 hb.Touched:Connect(hi)
  862.             end
  863.         end
  864.         if key == "g" then
  865.             if ammo > 0 then
  866.                 ammo = 0
  867.                 local fuu = Instance.new("Part",character)
  868.                 fuu.Anchored = true
  869.                 fuu.CanCollide = false
  870.                 fuu.Size = Vector3.new(2,2,2)
  871.                 fuu.Material = Enum.Material.Neon
  872.                 fuu.BrickColor = BrickColor.new("Bright green")
  873.                 fuu.FormFactor = Enum.FormFactor.Custom
  874.                 fuu.TopSurface = Enum.SurfaceType.Smooth
  875.                 fuu.BottomSurface = Enum.SurfaceType.Smooth
  876.                 fuu.CFrame = tors.CFrame
  877.                 local function heal()
  878.                     wait(0.1)
  879.                     hum.Health = hum.Health + math.random(10,40)
  880.                     local eat = Instance.new("Sound",character)
  881.                     eat.SoundId = "rbxassetid://260421433"
  882.                     eat.Volume = 2
  883.                     eat:Play()
  884.                     game.Debris:AddItem(eat,0.62)
  885.                 end
  886.                 spawn(heal)
  887.                 for i = 0,1,0.05 do
  888.                     game:GetService("RunService").RenderStepped:wait()
  889.                     fuu.Size = fuu.Size + Vector3.new(1.5,1.5,1.5)
  890.                     fuu.Orientation = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  891.                     fuu.Transparency = fuu.Transparency + 0.05
  892.                 end
  893.                 fuu:Destroy()
  894.                 wait(1)
  895.                 ammo = 1
  896.             end
  897.         end
  898.         if key == "y" then
  899.             if ammo > 0 then
  900.                 ammo = 0
  901.                 tors.Anchored = true
  902.                 local leak = Instance.new("Part",character)
  903.                 leak.Anchored = true
  904.                 leak.Transparency = 0
  905.                 leak.CanCollide = false
  906.                 leak.Size = Vector3.new(0.1,2,2)
  907.                 leak.CFrame = tors.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)) + Vector3.new(0,-3,0)
  908.                 leak.Shape = Enum.PartType.Cylinder
  909.                 leak.BrickColor = BrickColor.new("New Yeller")
  910.                 leak.Material = Enum.Material.Neon
  911.                 wait(1)
  912.                 local function zapp()
  913.                     local zap = Instance.new("Sound",character)
  914.                     zap.SoundId = "rbxassetid://1102831575"
  915.                     zap.Volume = 1
  916.                     zap:Play()
  917.                     game.Debris:AddItem(zap,0.23)
  918.                 end
  919.                 spawn(zapp)
  920.                 leak.Touched:Connect(function(hit)
  921.                     local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  922.                     if humn and humn.Health > 0 then
  923.                         local suspect = humn.Parent
  924.                         if suspect then
  925.                             local fakeTors = suspect:FindFirstChild("HumanoidRootPart")
  926.                             if fakeTors then
  927.                                 local val = suspect:FindFirstChildOfClass("BinaryStringValue")
  928.                                 if not val then
  929.                                     Instance.new("BinaryStringValue",suspect).Name = "fuuk"
  930.                                     local value = math.random(5,10)
  931.                                     if humn.Health <= value then
  932.                                         if not humn.Parent:FindFirstChild("raged") then
  933.                                             ragdolll(humn.Parent)
  934.                                         end
  935.                                     else
  936.                                         humn:TakeDamage(value) 
  937.                                     end
  938.                                     wait(0.1)
  939.                                     suspect:FindFirstChildOfClass("BinaryStringValue"):Destroy()
  940.                                 else
  941.                                     --nothing  
  942.                                 end
  943.                             end
  944.                         end
  945.                     end
  946.                 end)
  947.                 for i = 1,150 do
  948.                     game:GetService("RunService").RenderStepped:wait()
  949.                     leak.Size = leak.Size + Vector3.new(0.005,1,1)
  950.                 end
  951.                 for i = 0,1,0.1 do
  952.                     game:GetService("RunService").RenderStepped:wait()
  953.                     leak.Transparency = i
  954.                 end
  955.                 leak:Destroy()
  956.                 tors.Anchored = false
  957.                 ammo = 1
  958.             end
  959.         end
  960.     end)
  961. end)
  962. powerTool.Unequipped:Connect(function()
  963.     equipped = false
  964. end)
  965. hum.BreakJointsOnDeath = false
  966. hum.Died:Connect(function()
  967.     if not character:FindFirstChild("raged") then
  968.         ragdolll(character)
  969.     end
  970.     while true do
  971.         game:GetService("RunService").RenderStepped:wait()
  972.         --workspace.CurrentCamera.CFrame = character.Head.CFrame * CFrame.new(0,0,-0.9)
  973.         hum.Health = 0.1
  974.         hum.PlatformStand = true
  975.     end
  976. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement