Advertisement
vL4d_4eVer

grandor

Jun 4th, 2018
781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.99 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5.     print("FE Compatibility code by Mokiros")
  6.     local rp = RealPlayer
  7.     script.Parent = rp.Character
  8.    
  9.     --RemoteEvent for communicating
  10.     local Event = Instance.new("RemoteEvent")
  11.     Event.Name = "UserInput_Event"
  12.  
  13.     --Fake event to make stuff like Mouse.KeyDown work
  14.     local function fakeEvent()
  15.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16.         t.connect = t.Connect
  17.         return t
  18.     end
  19.  
  20.     --Creating fake input objects with fake variables
  21.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25.     end}
  26.     --Merged 2 functions into one by checking amount of arguments
  27.     CAS.UnbindAction = CAS.BindAction
  28.  
  29.     --This function will trigger the events that have been :Connect()'ed
  30.     local function te(self,ev,...)
  31.         local t = m[ev]
  32.         if t and t._fakeEvent then
  33.             for _,f in pairs(t.Functions) do
  34.                 f(...)
  35.             end
  36.         end
  37.     end
  38.     m.TrigEvent = te
  39.     UIS.TrigEvent = te
  40.  
  41.     Event.OnServerEvent:Connect(function(plr,io)
  42.         if plr~=rp then return end
  43.         m.Target = io.Target
  44.         m.Hit = io.Hit
  45.         if not io.isMouse then
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local Mouse = Player:GetMouse()
  66.     local UIS = game:GetService("UserInputService")
  67.     local input = function(io,a)
  68.         if a then return end
  69.         --Since InputObject is a client-side instance, we create and pass table instead
  70.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71.     end
  72.     UIS.InputBegan:Connect(input)
  73.     UIS.InputEnded:Connect(input)
  74.  
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.  
  85.     ----Sandboxed game object that allows the usage of client-side methods and services
  86.     --Real game object
  87.     local _rg = game
  88.  
  89.     --Metatable for fake service
  90.     local fsmt = {
  91.         __index = function(self,k)
  92.             local s = rawget(self,"_RealService")
  93.             if s then return s[k] end
  94.         end,
  95.         __newindex = function(self,k,v)
  96.             local s = rawget(self,"_RealService")
  97.             if s then s[k]=v end
  98.         end,
  99.         __call = function(self,...)
  100.             local s = rawget(self,"_RealService")
  101.             if s then return s(...) end
  102.         end
  103.     }
  104.     local function FakeService(t,RealService)
  105.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106.         return setmetatable(t,fsmt)
  107.     end
  108.  
  109.     --Fake game object
  110.     local g = {
  111.         GetService = function(self,s)
  112.             return self[s]
  113.         end,
  114.         Players = FakeService({
  115.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116.         },"Players"),
  117.         UserInputService = FakeService(UIS,"UserInputService"),
  118.         ContextActionService = FakeService(CAS,"ContextActionService"),
  119.     }
  120.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121.     g.service = g.GetService
  122.    
  123.     g.RunService = FakeService({
  124.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  125.         BindToRenderStep = function(self,name,_,fun)
  126.             self._btrs[name] = self.Heartbeat:Connect(fun)
  127.         end,
  128.         UnbindFromRenderStep = function(self,name)
  129.             self._btrs[name]:Disconnect()
  130.         end,
  131.     },"RunService")
  132.  
  133.     setmetatable(g,{
  134.         __index=function(self,s)
  135.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  136.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137.         end,
  138.         __newindex = fsmt.__newindex,
  139.         __call = fsmt.__call
  140.     })
  141.     --Changing owner to fake player object to support owner:GetMouse()
  142.     game,owner = g,g.Players.LocalPlayer
  143. end
  144. local plr = game:GetService("Players").LocalPlayer
  145. local plrg = plr.PlayerGui
  146. local mouse = plr:GetMouse()
  147. local char = plr.Character
  148. local h = char.Head
  149. local t = char.Torso
  150. local ra = char["Right Arm"]
  151. local la = char["Left Arm"]
  152. local rl = char["Right Leg"]
  153. local ll = char["Left Leg"]
  154. local rs = t["Right Shoulder"]
  155. local ls = t["Left Shoulder"]
  156. local rh = t["Right Hip"]
  157. local lh = t["Left Hip"]
  158. local nec = t.Neck
  159. local rad = math.rad
  160. local anim = "idle"
  161. local using = true
  162. local supermode = false
  163. local canattacc = false
  164. local songs = {"rbxassetid://147461803","rbxassetid://1484225071"}
  165. local rut = char.HumanoidRootPart
  166. local rutj = rut.RootJoint
  167. local hum = char:FindFirstChildOfClass("Humanoid")
  168. hum.WalkSpeed = 0 hum.JumpPower = 0
  169. local ff = Instance.new("ForceField",char) ff.Visible = false
  170. local debrs = game:GetService("Debris")
  171. local mus local crack local expls
  172. local cursong = 1
  173. expls = Instance.new("Sound",workspace) expls.Name = "Explso" expls.Volume = 5 expls.SoundId = "rbxassetid://262562442"
  174. local hitbox = Instance.new("Part",ra) hitbox.Size = Vector3.new(1,1,1) hitbox.CanCollide = false hitbox.Transparency = 1
  175. local hitboxw = Instance.new("Weld",hitbox) hitboxw.Part0 = ra hitboxw.Part1 = hitbox hitboxw.C0 = CFrame.new(0,-.7,0)
  176.  
  177. ArtificialHB = Instance.new("BindableEvent", script)
  178. ArtificialHB.Name = "Heartbeat"
  179. script:WaitForChild("Heartbeat")
  180. frame = 1 / 60
  181. tf = 0
  182. allowframeloss = false
  183. tossremainder = false
  184. lastframe = tick()
  185. script.Heartbeat:Fire()
  186. game:GetService("RunService").Heartbeat:connect(function(s, p)
  187.     tf = tf + s
  188.     if tf >= frame then
  189.         if allowframeloss then
  190.             script.Heartbeat:Fire()
  191.             lastframe = tick()
  192.         else
  193.             for i = 1, math.floor(tf / frame) do
  194.                 script.Heartbeat:Fire()
  195.             end
  196.             lastframe = tick()
  197.         end
  198.         if tossremainder then
  199.             tf = 0
  200.         else
  201.             tf = tf - frame * math.floor(tf / frame)
  202.         end
  203.     end
  204. end)
  205. function swait(num)
  206.     if num == 0 or num == nil then
  207.         ArtificialHB.Event:wait()
  208.     else
  209.         for i = 0, num do
  210.             ArtificialHB.Event:wait()
  211.         end
  212.     end
  213. end
  214. function sound(parent,id,vol,pit)
  215.     local sound = Instance.new("Sound",parent)
  216.     sound.Volume = vol
  217.     sound.SoundId = "rbxassetid://"..id
  218.     sound.Pitch = pit
  219.     sound:Play()
  220.     coroutine.resume(coroutine.create(function()
  221.    
  222.     repeat
  223.         swait()
  224.     until sound.Playing == false
  225.     sound:Destroy()
  226.     end))
  227.     end
  228. function dest(hit,type)
  229.     local size = 50
  230.     if type == "big" then
  231.         size = 300
  232.     end
  233.     if hit.Name ~= "Destructed" and hit.Name ~= "ExplEff" and hit.Parent ~= char and hit.Parent.Parent ~= char then
  234.     if hit.Size.x <size and hit.Size.y <size and hit.Size.z <size then
  235.         if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
  236.             hit.Parent = nil
  237.         end
  238.         hit:ClearAllChildren()
  239.         hit.Anchored = false hit.CanCollide = true hit.Parent = workspace
  240.         hit.Name = "Destructed"
  241.         if hit:IsA("Part") then
  242.             hit.FormFactor = "Custom"
  243.         end
  244.         hit.Size = Vector3.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  245.         hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  246.         local clone = hit:Clone() clone.Parent = workspace
  247.         local clone1 = hit:Clone() clone1.Parent = workspace
  248.         local clone2 = hit:Clone() clone2.Parent = workspace
  249.         local clone3 = hit:Clone() clone3.Parent = workspace
  250.         local clone4 = hit:Clone() clone4.Parent = workspace
  251.         local clone5 = hit:Clone() clone5.Parent = workspace
  252.         local clone6 = hit:Clone() clone6.Parent = workspace
  253.         clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
  254.         clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
  255.         clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
  256.         clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
  257.         clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
  258.         clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
  259.         clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
  260.         local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
  261.         local partsd = 1
  262.         for i = 1,#parts do
  263.         debrs:AddItem(parts[partsd],math.random(6,17))
  264.         partsd = partsd +1
  265.         end
  266.     end
  267.     end
  268. end
  269. hitbox.Touched:connect(function(hit)
  270.     if hit.Size.x <150 and hit.Size.y <150 and hit.Size.z <150 and canattacc then
  271.         if hit.Parent ~= char or hit.Parent.Parent ~= char then
  272.         if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
  273.             hit.Parent = nil
  274.         end
  275.         crack:Play()
  276.         canattacc = false
  277.         hit:ClearAllChildren()
  278.         hit.Anchored = false hit.CanCollide = true hit.Parent = workspace
  279.         hit.Name = "Destructed"
  280.         hit:BreakJoints()
  281.         hit.Size = Vector3.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  282.         hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  283.         local clone = hit:Clone() clone.Parent = workspace
  284.         local clone1 = hit:Clone() clone1.Parent = workspace
  285.         local clone2 = hit:Clone() clone2.Parent = workspace
  286.         local clone3 = hit:Clone() clone3.Parent = workspace
  287.         local clone4 = hit:Clone() clone4.Parent = workspace
  288.         local clone5 = hit:Clone() clone5.Parent = workspace
  289.         local clone6 = hit:Clone() clone6.Parent = workspace
  290.         clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
  291.         clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
  292.         clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
  293.         clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
  294.         clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
  295.         clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
  296.         clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
  297.         local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
  298.         local partsd = 1
  299.         for i = 1,#parts do
  300.         debrs:AddItem(parts[partsd],math.random(6,17))
  301.         partsd = partsd +1
  302.         end
  303.         end
  304.     end
  305. end)
  306.  
  307. function intro()
  308.     local ani = char:WaitForChild("Animate")
  309.     local anima = hum:WaitForChild("Animator")
  310.     if ani ~= nil then
  311.     ani:Destroy()
  312.     end
  313.     if anima ~= nil then
  314.     anima:Destroy()
  315.     end
  316.     for i = 0,.4,.02 do
  317.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)),i)
  318.         rutj.C0 = rutj.C0:lerp(CFrame.new(0,-2,0) * CFrame.Angles(rad(-160),rad(0),rad(180)),i)
  319.         rs.C0 = rs.C0:lerp(CFrame.new(1,.4,0) * CFrame.Angles(rad(70),rad(90),rad(0)),i)
  320.           ls.C0 = ls.C0:lerp(CFrame.new(-1,.4,0) * CFrame.Angles(rad(70),rad(-90),rad(0)),i)
  321.         rh.C0 = rh.C0:lerp(CFrame.new(1,-.2,-.7) * CFrame.Angles(rad(-20),rad(80),rad(0)),i)
  322.         lh.C0 = lh.C0:lerp(CFrame.new(-1,-.3,-.6) * CFrame.Angles(rad(-20),rad(-80),rad(0)),i)
  323.         swait()
  324.     end
  325.     for i = 1,50 do
  326.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),1)
  327.         wait()
  328.     end
  329.     char["Body Colors"]:Destroy()
  330.     h.BrickColor = BrickColor.new("Really black")
  331.     t.BrickColor = BrickColor.new("Really black")
  332.     ra.BrickColor = BrickColor.new("Really black")
  333.     la.BrickColor = BrickColor.new("Really black")
  334.     rl.BrickColor = BrickColor.new("Really black")
  335.     ll.BrickColor = BrickColor.new("Really black")
  336.     local eff = Instance.new("Part",workspace) eff.Size = Vector3.new(1,1,1) eff.Name = "ExplEff1" eff.CanCollide = false eff.Anchored = true eff.BrickColor = BrickColor.new("Deep orange") eff.CFrame = rut.CFrame eff.Material = "Neon"
  337.     expls:Play()
  338.     local cf = rut.CFrame
  339.     coroutine.resume(coroutine.create(function()
  340.     for i = 0,.6,.016 do
  341.         eff.CFrame = eff.CFrame:lerp(cf,i)
  342.         eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  343.         eff.Size = eff.Size:lerp(Vector3.new(25,25,25),i)
  344.         eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
  345.         eff.Transparency = eff.Transparency +.027
  346.         if eff.Transparency > .99 then
  347.             eff:Destroy()
  348.         end
  349.         swait()
  350.     end
  351.     end))
  352.     using = false
  353. end
  354. intro()
  355. function explos(pos)
  356.     local eff = Instance.new("Part",workspace) eff.Size = Vector3.new(1,1,1) eff.Name = "ExplEff1" eff.CanCollide = true eff.BrickColor = BrickColor.new("Deep orange") eff.CFrame = pos.CFrame eff.Material = "Neon"
  357.         local eff2 = Instance.new("Part",eff) eff2.Name = "ExplEff" eff2.Size = Vector3.new(25,70,25) eff2.CanCollide = false eff2.Anchored = true eff2.Material = "Neon" eff2.BrickColor = eff.BrickColor
  358.         local eff2m = Instance.new("SpecialMesh",eff2) eff2m.MeshType = Enum.MeshType.Sphere eff2.CFrame = eff.CFrame
  359.         local cf = pos.CFrame
  360.         expls:Play()
  361.         eff.Touched:connect(function(hit)
  362.             dest(hit)
  363.         end)
  364.         coroutine.resume(coroutine.create(function()
  365.         for i = 0,.6,.016 do
  366.             eff.CFrame = eff.CFrame:lerp(cf,i)
  367.             eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  368.             eff.Size = eff.Size:lerp(Vector3.new(25,25,25),i)
  369.             eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
  370.             eff2.Color = eff2.Color:lerp(Color3.new(160,0,0),i)
  371.             eff.Transparency = eff.Transparency +.027
  372.             eff2.Transparency = eff2.Transparency +.027
  373.             eff2.Size = eff2.Size:lerp(Vector3.new(4,125,4),i)
  374.             eff2.CFrame = CFrame.new(eff.CFrame.p,eff2.CFrame.p * Vector3.new(eff2.CFrame.p.x,eff2.CFrame.p.y,eff2.CFrame.p.z))
  375.             if eff.Transparency > .99 then
  376.                 eff:Destroy()
  377.                 eff2:Destroy()
  378.             elseif eff.Transparency >.3 and eff.Transparency <.34 then
  379.                 local boom = Instance.new("Explosion",workspace) boom.BlastRadius = 20 boom.Position = eff.Position boom.BlastPressure = 100000 boom.Visible = false
  380.             end
  381.             swait()
  382.         end
  383.     end))
  384. end
  385. function bigexplos(pos)
  386.     local eff = Instance.new("Part",workspace) eff.Size = Vector3.new(1,1,1) eff.Name = "ExplEff1" eff.CanCollide = false eff.BrickColor = BrickColor.new("Deep orange") eff.CFrame = pos.CFrame eff.Material = "Neon"
  387.         local cf = pos.CFrame
  388.         expls:Play()
  389.         eff.Touched:connect(function(hit)
  390.             if hit.Anchored == true then
  391.             dest(hit)
  392.             else
  393.                 dest(hit,"big")
  394.             end
  395.         end)
  396.         coroutine.resume(coroutine.create(function()
  397.         for i = 0,.6,.016 do
  398.             eff.CFrame = eff.CFrame:lerp(cf,i)
  399.             eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  400.             eff.Size = eff.Size:lerp(Vector3.new(600,600,600),i)
  401.             eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
  402.             eff.Transparency = eff.Transparency +.027
  403.             if eff.Transparency > .99 then
  404.                 eff:Destroy()
  405.             elseif eff.Transparency >.3 and eff.Transparency <.34 then
  406.                 local boom = Instance.new("Explosion",workspace) boom.BlastRadius = 20 boom.Position = eff.Position boom.BlastPressure = 100000 boom.Visible = false
  407.             end
  408.             swait()
  409.         end
  410.     end))
  411. end
  412. function gren(from,to)
  413.     local rocc = Instance.new("Part",workspace) rocc.Name = "Rock" rocc.Size = Vector3.new(.3,1.4,.3)
  414.     rocc.CFrame = from
  415.     local rmesh = Instance.new("SpecialMesh",rocc) rmesh.MeshType = "FileMesh" rmesh.MeshId = "rbxassetid://431532852" rmesh.TextureId = "rbxassetid://431532899" rmesh.Scale = Vector3.new(.005,.005,.005)
  416.    local cfm = CFrame.new(rocc.CFrame.p,to.p)
  417.     local vel = Instance.new("BodyVelocity",rocc) vel.Velocity = cfm.lookVector * 100
  418.     coroutine.resume(coroutine.create(function()
  419.         wait(2.91)
  420.         explos(rocc)
  421.         end))
  422.     debrs:AddItem(vel,.1)
  423.     debrs:AddItem(rocc,2.9)
  424. end
  425. function throwgrenade()
  426.     using = true
  427.         for i = 0,.4,.02 do
  428.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(80),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  429.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-70),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  430.             rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  431.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  432.             rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(-25),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  433.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(-20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  434.             swait()
  435.         end
  436.         gren(ra.CFrame * CFrame.new(0,-1.4,0),mouse.Hit)
  437.         for i = 0,.4,.04 do
  438.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  439.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  440.             rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(70)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  441.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  442.             rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(25),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  443.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  444.             swait()
  445.         end
  446.         using = false
  447. end
  448. local speed1 = .03
  449. local speed2 = .05
  450. function swng()
  451.     if supermode == true then
  452.     speed1 = .05
  453.     speed2 = .08
  454.     else
  455.     speed1 = .03
  456.     speed2 = .05
  457.     end
  458.     using = true
  459.     for i = 0,.4,speed1 do
  460.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(80),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  461.         rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(150)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  462.         rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(110)) * CFrame.Angles(rad(-60),rad(0),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  463.         swait()
  464.     end
  465.     canattacc = true
  466.     for i = 0,.4,speed2 do
  467.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(80),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  468.         rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(230)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  469.         rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(110)) * CFrame.Angles(rad(20),rad(0),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  470.         swait()
  471.     end
  472.     for i = 0,.4,speed2 do
  473.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  474.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  475.             rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  476.         swait()
  477.     end
  478.     canattacc = false
  479.     using = false
  480. end
  481. function selfd()
  482.     using = true
  483.     for i = 1,50 do
  484.         i = .9
  485.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*2)
  486.         rutj.C0 = rutj.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*2)
  487.         rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(179)) * CFrame.Angles(rad(50),rad(0),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*2)
  488.         ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(-179)) * CFrame.Angles(rad(50),rad(0),rad(-20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*2)
  489.         rh.C0 = rh.C0:lerp(CFrame.new(1,-.3,-.7) * CFrame.Angles(rad(20),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*2)
  490.         lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,-.6) * CFrame.Angles(rad(-50),rad(-50),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*2)
  491.         swait()
  492.     end
  493.     t.Anchored = true
  494.     bigexplos(rut)
  495.     wait(1)
  496.     t.Anchored = false
  497.     using = false
  498. end
  499.  
  500. mouse.KeyDown:connect(function(key)
  501.     if key == "q" and not using then
  502.         throwgrenade()
  503.     end
  504.     if key == "e" and not using then
  505.         swng()
  506.     end
  507.     if key == "f" and supermode then
  508.         selfd()
  509.     end
  510.     if key == "c" and not using then
  511.         explos(t)
  512.         t.Anchored = true
  513.         using = true
  514.         wait(.3)
  515.         t.Anchored = false
  516.         using = false
  517.     end
  518.     if key == "r" and not supermode then
  519.         cursong = 2
  520.         mus.SoundId = songs[2] mus:Play()
  521.         supermode = true
  522.     elseif key == "r" and supermode then
  523.         cursong = 1
  524.         mus.SoundId = songs[1] mus:Play()
  525.         supermode = false
  526.     end
  527. end)
  528. hum.Running:connect(function(a)
  529.     if a >0 then
  530.     anim = "walk"
  531.     else
  532.         anim = "idle"
  533.     end
  534. end)
  535. hum.Jumping:connect(function()
  536.     anim = "jump"
  537. end)
  538. hum.FreeFalling:connect(function()
  539.     anim = "fall"
  540. end)
  541.  
  542. while true do
  543.     if char:FindFirstChild("MusicA") == nil then
  544.         mus = Instance.new("Sound",char) mus.Name = "MusicA" mus.Volume = 3 mus.SoundId = songs[cursong] mus.Looped = true mus:Play()
  545.     end
  546.     if workspace:FindFirstChild("Explso") == nil then
  547.         expls = Instance.new("Sound",workspace) expls.Name = "Explso" expls.Volume = 5 expls.SoundId = "rbxassetid://262562442"
  548.     end
  549.     if ra:FindFirstChild("Cracko") == nil then
  550.         crack = Instance.new("Sound",ra) crack.Name = "Cracko" crack.Pitch = .6 crack.Volume = 5 crack.SoundId = "rbxassetid://147685617"
  551.     end
  552.     crack = ra:FindFirstChild("Cracko")
  553.     expls = workspace:FindFirstChild("Explso")
  554.     mus = char:FindFirstChild("MusicA")
  555.     hum.MaxHealth = 7e9 hum.Health = 7e9
  556.     if not supermode then
  557.         hum.WalkSpeed = 12 hum.JumpPower = 70
  558.     else
  559.         hum.WalkSpeed = 36 hum.JumpPower = 90
  560.     end
  561.     if anim == "idle" and not using then
  562.             i = .5
  563.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  564.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  565.             rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  566.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  567.             rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(25),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  568.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  569.     end
  570.     if anim == "idle" and not using and supermode then
  571.         i = .5
  572.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*3)
  573.         rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.7,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  574.         rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(179)) * CFrame.Angles(rad(50),rad(0),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  575.         ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(-179)) * CFrame.Angles(rad(50),rad(0),rad(-20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  576.         rh.C0 = rh.C0:lerp(CFrame.new(1,-.3,-.7) * CFrame.Angles(rad(20),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  577.         lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,-.6) * CFrame.Angles(rad(-50),rad(-50),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  578.     end
  579.     if anim == "jump" and not using then
  580.             i = .4
  581.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  582.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  583.             rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(-30),rad(0),rad(20)),i)
  584.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(-30),rad(0),rad(-20)),i)
  585.             rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(5),rad(100),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
  586.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,-.3) * CFrame.Angles(rad(0),rad(-80),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
  587.     end
  588.     if  anim == "fall" and not using then
  589.             i = .4
  590.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  591.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  592.             rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(30),rad(0),rad(140)),i)
  593.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(30),rad(0),rad(-130)),i)
  594.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.7,.2) * CFrame.Angles(rad(5),rad(100),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
  595.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,.2) * CFrame.Angles(rad(-5),rad(-80),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
  596.     end
  597.     if anim == "walk" and not using and not supermode then
  598.         for i = 0,.3,.025 do
  599.             if anim == "walk" and not using and not supermode then
  600.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  601.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,.2,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  602.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(-35),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  603.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(35),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  604.             rh.C0 = rh.C0:lerp(CFrame.new(1,-1.2,-.4) * CFrame.Angles(rad(60),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  605.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-.6,-.2) * CFrame.Angles(rad(-35),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  606.             swait()
  607.             end
  608.         end
  609.         for i = 0,.3,.025 do
  610.             if anim == "walk" and not using and not supermode then
  611.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  612.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  613.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(-10),rad(95),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  614.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(10),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  615.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,.2) * CFrame.Angles(rad(-15),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  616.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,.2) * CFrame.Angles(rad(15),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  617.             swait()
  618.             end
  619.         end
  620.         for i = 0,.3,.025 do
  621.             if anim == "walk" and not using and not supermode then
  622.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),.4)
  623.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,.2,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  624.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(35),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  625.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(-35),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  626.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.6,-.2) * CFrame.Angles(rad(-35),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  627.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1.2,-.4) * CFrame.Angles(rad(60),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  628.             swait()
  629.             end
  630.         end
  631.         for i = 0,.3,.025 do
  632.             if anim == "walk" and not using and not supermode then
  633.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
  634.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  635.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(10),rad(95),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  636.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(-10),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
  637.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.2) * CFrame.Angles(rad(-15),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  638.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,-.2) * CFrame.Angles(rad(15),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  639.             swait()
  640.             end
  641.         end
  642.         end
  643.         if anim == "walk" and not using and supermode then
  644.             for i = 0,.3,.045 do
  645.             if anim == "walk" and not using and supermode then
  646.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
  647.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,.2,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*3)
  648.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  649.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  650.             rh.C0 = rh.C0:lerp(CFrame.new(1,-1.3,-.7) * CFrame.Angles(rad(60),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  651.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-.7,.2) * CFrame.Angles(rad(-35),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  652.             swait()
  653.             end
  654.             end
  655.         for i = 0,.3,.045 do
  656.             if anim == "walk" and not using and supermode then
  657.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
  658.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  659.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  660.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  661.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.9,.2) * CFrame.Angles(rad(-20),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  662.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,-.2) * CFrame.Angles(rad(20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  663.             swait()
  664.             end
  665.         end
  666.         for i = 0,.3,.045 do
  667.             if anim == "walk" and not using and supermode then
  668.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
  669.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*3)
  670.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  671.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  672.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.7,.2) * CFrame.Angles(rad(-35),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  673.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-1.3,-.7) * CFrame.Angles(rad(60),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  674.             swait()
  675.             end
  676.         end
  677.         for i = 0,.3,.045 do
  678.             if anim == "walk" and not using and supermode then
  679.             nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
  680.             rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  681.             rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  682.                ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
  683.             rh.C0 = rh.C0:lerp(CFrame.new(1,-.9,-.2) * CFrame.Angles(rad(20),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  684.             lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,.2) * CFrame.Angles(rad(-20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
  685.             swait()
  686.             end
  687.         end
  688.         end
  689.     swait()
  690. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement