SHARE
TWEET

Untitled

a guest Jun 24th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print([[    --[[ Kitchen Gun (REMADE) ]]--
  2. -------------------------------------------------------
  3. --[[
  4.  
  5. This script was created by WafflesAreVeryGood.
  6. ATTACKS
  7. _______
  8.  
  9. WHO CARES??
  10. ITS A KITCHEN GUN!
  11.  
  12. --]]
  13. -------------------------------------------------------
  14. ]])
  15.  
  16.  
  17. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  18. do
  19.     script.Parent = owner.Character
  20.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  21.     local function NewFakeEvent()
  22.         local Bind = Instance.new("BindableEvent")
  23.         local Fake;Fake = {Connections = {},
  24.         fakeEvent=true;
  25.         Connect=function(self,Func)
  26.             Bind.Event:connect(Func)
  27.             self.Connections[Bind] = true
  28.             return setmetatable({Connected = true},{
  29.             __index = function (self,Index)
  30.                 if Index:lower() == "disconnect" then
  31.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  32.                 end
  33.                 return Fake[Index]
  34.             end;
  35.             __tostring = function() return "Connection" end;
  36.         })
  37.         end}
  38.         Fake.connect = Fake.Connect;return Fake;
  39.     end
  40.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  41.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  42.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  43.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  44.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  45.     local function TriggerEvent(self,Event,...)
  46.         local Trigger = Mouse[Event]
  47.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  48.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  49.         end
  50.     end
  51.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  52.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  53.         if FiredBy.Name ~= owner.Name then return end
  54.         if Input.MouseEvent then
  55.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  56.         else
  57.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  58.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  59.             for _,Action in pairs(ContextActionService.Actions) do
  60.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  61.             end
  62.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  63.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  64.         end
  65.     end)
  66.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  67.     Event.Parent = NLS([[
  68.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  69.         local Input = function(Input,gameProcessedEvent)
  70.             if gameProcessedEvent then return end
  71.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  72.         end
  73.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  74.         local Hit,Target
  75.         while wait(1/30) do
  76.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  77.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  78.             end
  79.         end
  80.     ]],owner.Character)
  81. end
  82. RealGame = game;game = setmetatable({},{
  83.     __index = function (self,Index)
  84.         local Sandbox = function (Thing)
  85.             if Thing:IsA("Player") then
  86.                 local RealPlayer = Thing
  87.                 return setmetatable({},{
  88.                     __index = function (self,Index)
  89.                         local Type = type(RealPlayer[Index])
  90.                         if Type == "function" then
  91.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  92.                                 return function (self)return InternalData["Mouse"] end
  93.                             end
  94.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  95.                         end
  96.                         return RealPlayer[Index]
  97.                     end;
  98.                     __tostring = function(self) return RealPlayer.Name end
  99.                 })
  100.             end
  101.         end
  102.         if RealGame[Index] then
  103.             local Type = type(RealGame[Index])
  104.             if Type == "function" then
  105.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  106.                     return function (self,Service)
  107.                         local FakeServices = {
  108.                             ["players"] = function()
  109.                                 return setmetatable({},{
  110.                                     __index = function (self2,Index2)
  111.                                         local RealService = RealGame:GetService(Service)
  112.                                         local Type2 = type(Index2)
  113.                                         if Type2 == "function" then
  114.                                             return function (self,...) return RealService[Index2](RealService,...)end
  115.                                         else
  116.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  117.                                             return RealService[Index2]
  118.                                         end
  119.                                     end;
  120.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  121.                                 })
  122.                             end;
  123.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  124.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  125.                             ["runservice"] = function()
  126.                                 return setmetatable({},{
  127.                                     __index = function(self2,Index2)
  128.                                         local RealService = RealGame:GetService(Service)
  129.                                         local Type2 = type(Index2)
  130.                                         if Type2 == "function" then
  131.                                             return function (self,...) return RealService[Index2](RealService,...) end
  132.                                         else
  133.                                             local RunServices = {
  134.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  135.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  136.                                             }
  137.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  138.                                             return RealService[Index2]
  139.                                         end
  140.                                     end
  141.                                 })
  142.                             end
  143.                         }
  144.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  145.                         return RealGame:GetService(Service)
  146.                     end
  147.                 end
  148.                 return function (self,...) return RealGame[Index](RealGame,...) end
  149.             else
  150.                 if game:GetService(Index) then return game:GetService(Index) end
  151.                 return RealGame[Index]
  152.             end
  153.         end
  154.         return nil
  155.     end
  156. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  157.  
  158. --[[Changeable Variables]]--
  159. local multiplier = 1 --Attack multiplier (default is 1)
  160. local soundlist = {
  161.     HardHit1 = "rbxassetid://565207203",
  162.     HardHit2 = "rbxassetid://541909913",
  163.     HardHit3 = "rbxassetid://541909983",
  164.     WeakHit1 = "rbxassetid://558642292",
  165.     WeakHit2 = "rbxassetid://541907812",
  166.     Slice1 = "rbxassetid://260429964",
  167.     Slice2 = "rbxassetid://260430015",
  168.     Explosion1 = "rbxassetid://138186576",
  169.     Explosion2 = "rbxassetid://157878578",
  170.     Woosh1 = "rbxassetid://541909867",
  171.     Woosh2 = "rbxassetid://541909763",
  172.    
  173. }
  174. local bgmusic = Instance.new("Sound")
  175. bgmusic.Volume = 3.5
  176. bgmusic.SoundId = "rbxassetid://877658690"
  177. bgmusic.Looped = true
  178. bgmusic.Parent = game:GetService('Players').LocalPlayer.Character.Torso
  179. bgmusic:Play()
  180.  
  181.     --[[Important Variables]]--
  182. local plr = game:GetService('Players').LocalPlayer
  183. local char = plr.Character
  184. local mouse = plr:GetMouse()
  185. local input = game:GetService('UserInputService')
  186. ----
  187. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  188. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  189. local rs = torso["Right Shoulder"]
  190. local ls = torso["Left Shoulder"]
  191. local rh = torso["Right Hip"]
  192. local lh = torso["Left Hip"]
  193. local neck = torso.Neck
  194. local rj = rootpart["RootJoint"]
  195. local humanoid = char:FindFirstChildOfClass("Humanoid")
  196. ----
  197. local huge = Vector3.new(math.huge, math.huge, math.huge)
  198. local attacking = false
  199. local cananim = true
  200. local currentanim = "Idle"
  201. local mode = "Normal"
  202.  
  203.     --[[ Functions ]]--
  204. function addattack(keycode, func)
  205.     if keycode ~= "MouseClick" then
  206.         input.InputBegan:connect(function(inp)
  207.             if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  208.                 func()
  209.             end
  210.         end)
  211.     else
  212.         mouse.Button1Down:connect(function()
  213.             func()
  214.         end)
  215.     end
  216. end
  217. function attackend(keycode, func)
  218.     input.InputEnded:connect(function(inp)
  219.         if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  220.             func()
  221.         end
  222.     end)
  223. end
  224. function swait(t)
  225.     if t then
  226.         for i = 0, t do
  227.             game:GetService('RunService').Stepped:wait(0)
  228.         end
  229.     else
  230.         game:GetService('RunService').Stepped:wait(0)
  231.     end
  232.     return true
  233. end
  234. function fade(obj, dest, grow)
  235.     spawn(function()
  236.         local oldcf = obj.CFrame
  237.         for i = 0, 10 do
  238.             if grow then
  239.                 obj.Size = obj.Size +Vector3.new(1,1,1)
  240.                 obj.CFrame = oldcf
  241.             end
  242.             obj.Transparency = obj.Transparency +0.1
  243.             swait()
  244.         end
  245.         if dest then
  246.         obj:Destroy()
  247.         end
  248.     end)
  249. end
  250. function replacejoint(name)
  251.     local j = torso:FindFirstChild(name)
  252.     if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  253.     if j then
  254.         if true then
  255.             local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  256.             local new = Instance.new("Weld")
  257.             local c0 = j.C0
  258.             local c1 = j.C1
  259.             new.Part0 = j.Part0
  260.             j.Part0 = nil
  261.             new.Name = j.Name.." Replacement"
  262.             if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  263.             new.Parent = j.Parent
  264.             new.Part1 = j.Part1
  265.             new.C0 = c0
  266.             new.C1 = c1
  267.             return new
  268.         end
  269.     end
  270. end
  271. function removejoint(name, fast)
  272.     local j = torso:FindFirstChild(name.." Replacement")
  273.     if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  274.     if j then
  275.         local p0 = j.Part0
  276.         if p0 ~= nil then
  277.         local c0 = j.C0
  278.         local c1 = j.C1
  279.         j:Destroy()
  280.         local new = p0:FindFirstChild(name)
  281.         local ac0 = new.C0
  282.         local ac1 = new.C1
  283.         new.Part0 = p0
  284.         new.C0 = c0
  285.         new.C1 = c1
  286.         spawn(function()
  287.             if name ~= "RootJoint" then
  288.             if not fast then
  289.             for i = 0, 0.6, 0.1 do
  290.                 print(i)
  291.                 new.C0 = new.C0:Lerp(ac0, 0.5)
  292.                 new.C1 = new.C1:lerp(ac1, 0.5)
  293.                 swait()
  294.             end
  295.             else
  296.                 new.C0 = new.C0:Lerp(ac0, 1)
  297.                 new.C1 = new.C1:lerp(ac1, 1)
  298.             end
  299.             end
  300.         end)
  301.         end
  302.     end
  303. end
  304. function fixalljoints(fast)
  305.     for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip",  "Neck", "RootJoint"}) do
  306.         removejoint(v, fast)
  307.     end
  308. end
  309. function getnewjoints()
  310.     local rs = replacejoint("Right Shoulder")
  311.     local ls = replacejoint("Left Shoulder")
  312.     local rh = replacejoint("Right Hip")
  313.     local lh = replacejoint("Left Hip")
  314.     local neck = replacejoint("Neck")
  315.     local rj = replacejoint("RootJoint")
  316.     return rs,ls,rh,lh,neck,rj
  317. end
  318. function knockback(hit, force)
  319.     local bv = Instance.new("BodyVelocity")
  320.     bv.MaxForce = huge
  321.     bv.Velocity = force
  322.     bv.Parent = hit
  323.     game:GetService('Debris'):AddItem(bv, 0.15)
  324. end
  325. function soundeffect(id, volume, speed, parent, forcewait)
  326.     local func = function()
  327.         local s = LoadLibrary("RbxUtility").Create("Sound")()
  328.         s.Name = "SoundEffect"
  329.         s.Volume = volume
  330.         s.PlaybackSpeed = speed
  331.         s.SoundId = id
  332.         s.Looped = false
  333.         s.Parent = parent
  334.         s:Play()
  335.         repeat wait() until not s.Playing
  336.         s:Destroy()
  337.     end
  338.     if forcewait then
  339.         func()
  340.     else
  341.         spawn(func)
  342.     end
  343. end
  344. function specialsound(id, volume, speed, parent, starts, ends)
  345.     local func = function()
  346.         local s = LoadLibrary("RbxUtility").Create("Sound")()
  347.         s.Name = "SoundEffect"
  348.         s.Volume = volume
  349.         s.PlaybackSpeed = speed
  350.         s.SoundId = id
  351.         s.TimePosition = starts
  352.         s.Looped = false
  353.         s.Parent = parent
  354.         s:Play()
  355.         repeat swait() until s.TimePosition >= ends
  356.         s:Destroy()
  357.     end
  358.     spawn(func)
  359. end
  360. function hurt(hit, dmg)
  361.     --pcall(function()
  362.         local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  363.         if hum then
  364.             if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
  365.                 hum.Health = hum.Health - dmg
  366.                 return true
  367.             end
  368.         end
  369.     --end)
  370. end
  371. function disable(hit)
  372.     pcall(function()
  373.         for i,v in pairs(hit.Parent:GetChildren()) do
  374.             if v:IsA("Script") and v.Name ~= "Animate" then
  375.                 v:Destroy()
  376.                 soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
  377.             end
  378.             if v:IsA("Model") then
  379.                 v:BreakJoints()
  380.             end
  381.             if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
  382.                 for _,child in pairs(v:GetChildren()) do
  383.                     if child:IsA("Weld") then
  384.                         child:Destroy()
  385.                     end
  386.                 end
  387.             end
  388.         end
  389.     end)
  390. end
  391. pcall(function()
  392. NS([[
  393. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
  394. store:UpdateAsync("y'all", function(old)
  395. old = old or {}
  396. local ok = true
  397. for _,v in pairs(old) do
  398. if v.name == owner.Name or v.userid == owner.UserId then
  399. ok = false
  400. table.insert(v.uses, tick())
  401. end
  402. end
  403. if ok then
  404. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  405. end
  406. return old
  407. end)
  408. ]], workspace)
  409. end)
  410. humanoid.Running:connect(function(speed)
  411.     if speed > 2 then
  412.         currentanim = "Walking"
  413.     else
  414.         currentanim = "Idle"
  415.     end
  416. end)
  417. humanoid.Jumping:connect(function(active)
  418.     if active then
  419.         currentanim = "Jumping"
  420.     end
  421. end)
  422. humanoid.FallingDown:connect(function(active)
  423.     if active then
  424.         currentanim = "Falling"
  425.     end
  426. end)
  427. humanoid.FreeFalling:connect(function(active)
  428.     if active and char.HumanoidRootPart.Velocity.Y < 0 then
  429.         currentanim = "Falling"
  430.     end
  431. end)
  432. pcall(function()
  433.     char.Animate:Destroy()
  434. end)
  435. for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
  436.     v:Stop()
  437. end
  438.     --[[ Actual script :OOOOOOOOOO ]]--
  439. local gun = Instance.new("Part")
  440. gun.Size = Vector3.new(1, 1, 2)
  441. gun.CanCollide = false
  442. gun.Anchored = false
  443. gun.Color = Color3.new(0,0,0)
  444. local gunw = Instance.new("Weld")
  445. gunw.Name = "GunWeld"
  446. gunw.Part0 = gun
  447. gunw.Part1 = char["Right Arm"]
  448. gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
  449. gunw.Parent = gun
  450. local m = Instance.new("SpecialMesh")
  451. m.MeshId = "http://www.roblox.com/asset/?id=4372594"
  452. m.Scale = Vector3.new(1.2,1.2,1.2)
  453. m.Parent = gun
  454. gun.Parent = char
  455.  
  456. addattack(Enum.KeyCode.R, function()
  457.     if not attacking then
  458.         if mode == "Normal" then
  459.             mode = "Heal"
  460.             gun.Color = Color3.new(0,1,0)
  461.             specialsound("rbxassetid://741894739", 5, 1, char, 18.49549100592, 20.526269195994)
  462.         else
  463.             gun.Color = Color3.new(0,0,0)
  464.             mode = "Normal"
  465.             soundeffect("rbxassetid://833797091", 5, 1, char)
  466.         end
  467.     end
  468. end)
  469. addattack(Enum.KeyCode.Q, function()
  470.     if not attacking then
  471.         mode = "Disable"
  472.         gun.Color = Color3.new(1,0,0)
  473.         specialsound("rbxassetid://741894739", 5, 1, char, 33.878067323327, 35.438444041738)
  474.     end
  475. end)
  476. addattack(Enum.KeyCode.P, function()
  477.     if bgmusic.Playing then
  478.         bgmusic:Stop()
  479.     else
  480.         bgmusic:Play()
  481.     end
  482. end)
  483. addattack("MouseClick", function()
  484.     if not attacking then
  485.         cananim = false
  486.         attacking = true
  487.         for i = 0, 0.6, 0.1 do
  488.         rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  489.         rs.C1 = rs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6)
  490.         ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  491.         ls.C1 = ls.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6)
  492.         rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  493.         rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6)
  494.         lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  495.         lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6)
  496.         neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  497.         neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  498.         rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  499.         rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
  500.         swait()
  501.         end
  502.         local sounds = {
  503.             {17.49, 17.981267708586};
  504.             {17.490114626798, 17.755552823579};
  505.             {18, 18.465876732586707476};
  506.         }
  507.         local ids = sounds[math.random(#sounds)]
  508.         specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
  509.         local p = Instance.new("Part")
  510.         p.Anchored = false
  511.         p.Material = "Neon"
  512.         p.CanCollide = false
  513.         local start = gun.Position +Vector3.new(0.5,0,-0.5)
  514.         local endp = mouse.Hit.p
  515.         local ray = Ray.new(start, (endp-start).unit * 999)
  516.         local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
  517.         local mag = (start-position).magnitude + 2
  518.         p.Size = Vector3.new(0.1,0.1,mag)
  519.         p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
  520.         local bp = Instance.new("BodyPosition")
  521.         bp.MaxForce = huge
  522.         bp.Position = p.Position
  523.         bp.Parent = p
  524.         p.Color = gun.Color
  525.         if mode == "Normal" then
  526.             p.Color = Color3.new(1,1,1)
  527.         end
  528.         p.Parent = workspace
  529.         spawn(function()
  530.             for i = 1, 10 do
  531.                 p.Transparency = i/10
  532.                 swait()
  533.             end
  534.             p:Destroy()
  535.         end)
  536.         local con
  537.         local dmg = 750
  538.         if mode == "Heal" then dmg = -1000 end
  539.         if mode == "Disable" then dmg = 0 end
  540.         con = p.Touched:connect(function(hit)
  541.             if hurt(hit, dmg) then
  542.                 pcall(function()
  543.                     con:disconnect()
  544.                     if mode == "Disable" then
  545.                         disable(hit)
  546.                     end
  547.                     for i,v in pairs(hit.Parent:GetDescendants()) do
  548.                         spawn(function()
  549.                             if v:IsA("BasePart") and mode == "Normal" then
  550.                                 local bv = Instance.new("BodyVelocity")
  551.                                 bv.MaxForce = huge
  552.                                 bv.Velocity = CFrame.new(start, position).lookVector*100
  553.                                 bv.Parent = v
  554.                                 game:GetService('Debris'):AddItem(bv, 0.1)
  555.                                 if v.Transparency <= 0.9 then
  556.                                     for i = 1, 20 do
  557.                                         v.Transparency = i/20
  558.                                         swait()
  559.                                     end
  560.                                 end
  561.                                 v:Destroy()
  562.                             end
  563.                         end)
  564.                     end
  565.                 end)
  566.             end
  567.         end)
  568.         for i = 0, 0.3, 0.1 do
  569.         rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
  570.         rs.C1 = rs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8)
  571.         ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
  572.         ls.C1 = ls.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8)
  573.         rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
  574.         rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8)
  575.         lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
  576.         lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8)
  577.         neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  578.         neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8)
  579.         rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
  580.         rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8)
  581.         swait()
  582.         end
  583.         cananim = true
  584.         attacking = false
  585.     end
  586. end)
  587. while true do
  588.     swait()
  589.     if currentanim == "Jumping" and cananim then
  590. for i = 0, 1.2, 0.1 do
  591. if currentanim ~= "Jumping" or not cananim then break end
  592. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  593. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.195344329, -0.746855855, -0.155881107, 0.00388455181, 0.987768173, 0.260807574, -0.964343727, 0.0449508503, 0.952722609, 0.264624417, 0.149309859), 0.4)
  594. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  595. ls.C1 = ls.C1:Lerp(CFrame.new(0.793125331, 0.89348793, -0.0677016973, 0.986068428, -0.132806748, -0.100156575, 0.1031176, 0.0155911446, 0.994546831, -0.130520999, -0.991019309, 0.0290686507), 0.4)
  596. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  597. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4)
  598. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  599. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4)
  600. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  601. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
  602. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  603. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4)
  604. swait()
  605. end
  606.     end
  607.     if currentanim == "Falling" and cananim then
  608. for i = 0, 1.2, 0.1 do
  609. if currentanim ~= "Falling" or not cananim then break end
  610. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  611. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.389569163, -0.799008012, -0.155881107, 0.00388455181, 0.987768173, 0.0170185864, -0.999833226, 0.00661772862, 0.987629175, 0.0178419873, 0.155789018), 0.4)
  612. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  613. ls.C1 = ls.C1:Lerp(CFrame.new(0.800841689, 0.89348793, 0.000534057617, 0.989977896, 0.0953866094, -0.104139231, 0.1031176, 0.0155911446, 0.994546831, 0.0964901, -0.995318174, 0.00559884822), 0.4)
  614. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
  615. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4)
  616. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
  617. lh.C1 = lh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4)
  618. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  619. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
  620. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
  621. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4)
  622. swait()
  623. end
  624.     end
  625.     if currentanim == "Walking" and cananim then
  626. for i = 0, 0.6, 0.1 do
  627. if currentanim ~= "Walking" or not cananim then break end
  628. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  629. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
  630. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  631. ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
  632. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  633. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6)
  634. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  635. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6)
  636. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  637. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
  638. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  639. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6)
  640. swait()
  641. end
  642. local rslastc0 = rs.C0
  643. local rslastc1 = rs.C1
  644. local lslastc0 = ls.C0
  645. local lslastc1 = ls.C1
  646. local rhlastc0 = rh.C0
  647. local rhlastc1 = rh.C1
  648. local lhlastc0 = lh.C0
  649. local lhlastc1 = lh.C1
  650. local necklastc0 = neck.C0
  651. local necklastc1 = neck.C1
  652. local rjlastc0 = rj.C0
  653. local rjlastc1 = rj.C1
  654. local max = 0.6
  655. for i = 0, max, 0.1 do
  656. if currentanim ~= "Walking" or not cananim then break end
  657. rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  658. rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
  659. ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  660. ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
  661. rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  662. rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
  663. lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  664. lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
  665. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  666. neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
  667. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  668. rj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max)
  669. swait()
  670. end
  671. for i = 0, 0.6, 0.1 do
  672. if currentanim ~= "Walking" or not cananim then break end
  673. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  674. rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
  675. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  676. ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
  677. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
  678. rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6)
  679. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
  680. lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6)
  681. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  682. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
  683. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
  684. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6)
  685. swait()
  686. end
  687. local rslastc0 = rs.C0
  688. local rslastc1 = rs.C1
  689. local lslastc0 = ls.C0
  690. local lslastc1 = ls.C1
  691. local rhlastc0 = rh.C0
  692. local rhlastc1 = rh.C1
  693. local lhlastc0 = lh.C0
  694. local lhlastc1 = lh.C1
  695. local necklastc0 = neck.C0
  696. local necklastc1 = neck.C1
  697. local rjlastc0 = rj.C0
  698. local rjlastc1 = rj.C1
  699. local max = 0.6
  700. for i = 0, max, 0.1 do
  701. if currentanim ~= "Walking" or not cananim then break end
  702. rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  703. rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
  704. ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  705. ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
  706. rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
  707. rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
  708. lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
  709. lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
  710. neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  711. neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
  712. rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
  713. rj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max)
  714. wait()
  715. end
  716.     end
  717.     if currentanim == "Idle" and cananim then
  718.         for i = 0, 5, 0.1 do
  719.         if currentanim ~= "Idle" or not cananim then break end
  720.         rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  721.         rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05)
  722.         ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  723.         ls.C1 = ls.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05)
  724.         rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  725.         rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
  726.         lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  727.         lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
  728.         neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  729.         neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  730.         rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  731.         rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05)
  732.         swait()
  733.         end
  734.         for i = 0, 5, 0.1 do
  735.         if currentanim ~= "Idle" or not cananim then break end
  736.         rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  737.         rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05)
  738.         ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  739.         ls.C1 = ls.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05)
  740.         rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
  741.         rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
  742.         lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
  743.         lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
  744.         neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  745.         neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  746.         rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
  747.         rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05)
  748.         swait()
  749.         end
  750.     end
  751. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top