Advertisement
aweeb

Test

Feb 19th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Player = owner
  178.     Character = Player.Character
  179.     local txt = Instance.new("BillboardGui", Character)
  180.     txt.Adornee = Character.Head
  181.     txt.Name = "_status"
  182.     txt.Size = UDim2.new(2, 0, 1.2, 0)
  183.     txt.StudsOffset = Vector3.new(-9, 8, 0)
  184.     local text = Instance.new("TextLabel", txt)
  185.     text.Size = UDim2.new(10, 0, 7, 0)
  186.     text.FontSize = "Size24"
  187.     text.TextScaled = true
  188.     text.TextTransparency = 0
  189.     text.BackgroundTransparency = 1
  190.     text.TextTransparency = 0
  191.     text.TextStrokeTransparency = 0
  192.     text.Font = "Antique"
  193.     text.TextStrokeColor3 = Color3.new(255,0,0)
  194.         text.Text = "cRaZY"
  195. script.Name = "I'm just a text"
  196.  
  197. wait(0.2)
  198.  
  199. Player = game:GetService("Players").LocalPlayer
  200. PlayerGui = Player.PlayerGui
  201. Cam = workspace.CurrentCamera
  202. Backpack = Player.Backpack
  203. Character = Player.Character
  204. Humanoid = Character.Humanoid
  205. Mouse = Player:GetMouse()
  206. RootPart = Character["HumanoidRootPart"]
  207. Torso = Character["Torso"]
  208. Head = Character["Head"]
  209. RightArm = Character["Right Arm"]
  210. LeftArm = Character["Left Arm"]
  211. RightLeg = Character["Right Leg"]
  212. LeftLeg = Character["Left Leg"]
  213. RootJoint = RootPart["RootJoint"]
  214. Neck = Torso["Neck"]
  215. RightShoulder = Torso["Right Shoulder"]
  216. LeftShoulder = Torso["Left Shoulder"]
  217. RightHip = Torso["Right Hip"]
  218. LeftHip = Torso["Left Hip"]
  219. local sick = Instance.new("Sound",Torso)
  220. sick.SoundId = "rbxassetid://145082678"
  221. sick.Looped = true
  222. sick.Pitch = 1
  223. sick.Volume = 10
  224. sick:Play()
  225.  
  226.  
  227. ArtificialHB = Instance.new("BindableEvent", script)
  228. ArtificialHB.Name = "Heartbeat"
  229. script:WaitForChild("Heartbeat")
  230. frame = 1 / 60
  231. tf = 0
  232. allowframeloss = false
  233. tossremainder = false
  234. lastframe = tick()
  235. script.Heartbeat:Fire()
  236. game:GetService("RunService").Heartbeat:connect(function(s, p)
  237.     tf = tf + s
  238.     if tf >= frame then
  239.         if allowframeloss then
  240.             script.Heartbeat:Fire()
  241.             lastframe = tick()
  242.         else
  243.             for i = 1, math.floor(tf / frame) do
  244.                 script.Heartbeat:Fire()
  245.             end
  246.             lastframe = tick()
  247.         end
  248.         if tossremainder then
  249.             tf = 0
  250.         else
  251.             tf = tf - frame * math.floor(tf / frame)
  252.         end
  253.     end
  254. end)
  255. function swait(num)
  256.     if num == 0 or num == nil then
  257.         ArtificialHB.Event:wait()
  258.     else
  259.         for i = 0, num do
  260.             ArtificialHB.Event:wait()
  261.         end
  262.     end
  263. end
  264. function sound(parent,id,vol,pit)
  265.     local sound = Instance.new("Sound",parent)
  266.     sound.Volume = vol
  267.     sound.SoundId = "rbxassetid://"..id
  268.     sound.Pitch = pit
  269.     sound:Play()
  270.     coroutine.resume(coroutine.create(function()
  271.    
  272.     repeat
  273.         swait()
  274.     until sound.Playing == false
  275.     sound:Destroy()
  276.     end))
  277.     end
  278. function dest(hit,type)
  279.     local size = 50
  280.     if type == "big" then
  281.         size = 300
  282.     end
  283.     if hit.Name ~= "Destructed" and hit.Name ~= "ExplEff" and hit.Parent ~= char and hit.Parent.Parent ~= char then
  284.     if hit.Size.x <size and hit.Size.y <size and hit.Size.z <size then
  285.         if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
  286.             hit.Parent = nil
  287.         end
  288.         hit:ClearAllChildren()
  289.         hit.Anchored = false hit.CanCollide = true hit.Parent = workspace
  290.         hit.Name = "Destructed"
  291.         if hit:IsA("Part") then
  292.             hit.FormFactor = "Custom"
  293.         end
  294.         hit.Size = Vector3.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  295.         hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  296.         local clone = hit:Clone() clone.Parent = workspace
  297.         local clone1 = hit:Clone() clone1.Parent = workspace
  298.         local clone2 = hit:Clone() clone2.Parent = workspace
  299.         local clone3 = hit:Clone() clone3.Parent = workspace
  300.         local clone4 = hit:Clone() clone4.Parent = workspace
  301.         local clone5 = hit:Clone() clone5.Parent = workspace
  302.         local clone6 = hit:Clone() clone6.Parent = workspace
  303.         clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
  304.         clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
  305.         clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
  306.         clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
  307.         clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
  308.         clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
  309.         clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
  310.         local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
  311.         local partsd = 1
  312.         for i = 1,#parts do
  313.         debrs:AddItem(parts[partsd],math.random(6,17))
  314.         partsd = partsd +1
  315.         end
  316.     end
  317.     end
  318. end
  319. hitbox.Touched:connect(function(hit)
  320.     if hit.Size.x <150 and hit.Size.y <150 and hit.Size.z <150 and canattacc then
  321.         if hit.Parent ~= char or hit.Parent.Parent ~= char then
  322.         if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
  323.             hit.Parent = nil
  324.         end
  325.         crack:Play()
  326.         canattacc = false
  327.         hit:ClearAllChildren()
  328.         hit.Anchored = false hit.CanCollide = true hit.Parent = workspace
  329.         hit.Name = "Destructed"
  330.         hit:BreakJoints()
  331.         hit.Size = Vector3.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  332.         hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
  333.         local clone = hit:Clone() clone.Parent = workspace
  334.         local clone1 = hit:Clone() clone1.Parent = workspace
  335.         local clone2 = hit:Clone() clone2.Parent = workspace
  336.         local clone3 = hit:Clone() clone3.Parent = workspace
  337.         local clone4 = hit:Clone() clone4.Parent = workspace
  338.         local clone5 = hit:Clone() clone5.Parent = workspace
  339.         local clone6 = hit:Clone() clone6.Parent = workspace
  340.         clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
  341.         clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
  342.         clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
  343.         clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
  344.         clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
  345.         clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
  346.         clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
  347.         local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
  348.         local partsd = 1
  349.         for i = 1,#parts do
  350.         debrs:AddItem(parts[partsd],math.random(6,17))
  351.         partsd = partsd +1
  352.         end
  353.         end
  354.     end
  355. end)
  356.  
  357. function intro()
  358.     local ani = char:WaitForChild("Animate")
  359.     local anima = hum:WaitForChild("Animator")
  360.     if ani ~= nil then
  361.     ani:Destroy()
  362.     end
  363.     if anima ~= nil then
  364.     anima:Destroy()
  365.     end
  366.     for i = 0,.4,.02 do
  367.         nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)),i)
  368.         rutj.C0 = rutj.C0:lerp(CFrame.new(0,-2,0) * CFrame.Angles(rad(-160),rad(0),rad(180)),i)
  369.         rs.C0 = rs.C0:lerp(CFrame.new(1,.4,0) * CFrame.Angles(rad(70),rad(90),rad(0)),i)
  370.           ls.C0 = ls.C0:lerp(CFrame.new(-1,.4,0) * CFrame.Angles(rad(70),rad(-90),rad(0)),i)
  371.         rh.C0 = rh.C0:lerp(CFrame.new(1,-.2,-.7) * CFrame.Angles(rad(-20),rad(80),rad(0)),i)
  372.         lh.C0 = lh.C0:lerp(CFrame.new(-1,-.3,-.6) * CFrame.Angles(rad(-20),rad(-80),rad(0)),i)
  373.         swait()
  374.     end
  375.     for i = 1,50 do
  376.         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)
  377.         wait()
  378.     end
  379.     char["Body Colors"]:Destroy()
  380.     h.BrickColor = BrickColor.new("Really black")
  381.     t.BrickColor = BrickColor.new("Really black")
  382.     ra.BrickColor = BrickColor.new("Really black")
  383.     la.BrickColor = BrickColor.new("Really black")
  384.     rl.BrickColor = BrickColor.new("Really black")
  385.     ll.BrickColor = BrickColor.new("Really black")
  386.     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"
  387.     expls:Play()
  388.     local cf = rut.CFrame
  389.     coroutine.resume(coroutine.create(function()
  390.     for i = 0,.6,.016 do
  391.         eff.CFrame = eff.CFrame:lerp(cf,i)
  392.         eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  393.         eff.Size = eff.Size:lerp(Vector3.new(25,25,25),i)
  394.         eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
  395.         eff.Transparency = eff.Transparency +.027
  396.         if eff.Transparency > .99 then
  397.             eff:Destroy()
  398.         end
  399.         swait()
  400.     end
  401.     end))
  402.     using = false
  403. end
  404. intro()
  405. function explos(pos)
  406.     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"
  407.         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
  408.         local eff2m = Instance.new("SpecialMesh",eff2) eff2m.MeshType = Enum.MeshType.Sphere eff2.CFrame = eff.CFrame
  409.         local cf = pos.CFrame
  410.         expls:Play()
  411.         eff.Touched:connect(function(hit)
  412.             dest(hit)
  413.         end)
  414.         coroutine.resume(coroutine.create(function()
  415.         for i = 0,.6,.016 do
  416.             eff.CFrame = eff.CFrame:lerp(cf,i)
  417.             eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  418.             eff.Size = eff.Size:lerp(Vector3.new(25,25,25),i)
  419.             eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
  420.             eff2.Color = eff2.Color:lerp(Color3.new(160,0,0),i)
  421.             eff.Transparency = eff.Transparency +.027
  422.             eff2.Transparency = eff2.Transparency +.027
  423.             eff2.Size = eff2.Size:lerp(Vector3.new(4,125,4),i)
  424.             eff2.CFrame = CFrame.new(eff.CFrame.p,eff2.CFrame.p * Vector3.new(eff2.CFrame.p.x,eff2.CFrame.p.y,eff2.CFrame.p.z))
  425.             if eff.Transparency > .99 then
  426.                 eff:Destroy()
  427.                 eff2:Destroy()
  428.             elseif eff.Transparency >.3 and eff.Transparency <.34 then
  429.                 local boom = Instance.new("Explosion",workspace) boom.BlastRadius = 20 boom.Position = eff.Position boom.BlastPressure = 100000 boom.Visible = false
  430.             end
  431.             swait()
  432.         end
  433.     end))
  434. end
  435. function bigexplos(pos)
  436.     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"
  437.         local cf = pos.CFrame
  438.         expls:Play()
  439.         eff.Touched:connect(function(hit)
  440.             if hit.Anchored == true then
  441.             dest(hit)
  442.             else
  443.                 dest(hit,"big")
  444.             end
  445.         end)
  446.         coroutine.resume(coroutine.create(function()
  447.         for i = 0,.6,.016 do
  448.             eff.CFrame = eff.CFrame:lerp(cf,i)
  449.             eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  450.             eff.Size = eff.Size:lerp(Vector3.new(600,600,600),i)
  451.             eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
  452.             eff.Transparency = eff.Transparency +.027
  453.             if eff.Transparency > .99 then
  454.                 eff:Destroy()
  455.             elseif eff.Transparency >.3 and eff.Transparency <.34 then
  456.                 local boom = Instance.new("Explosion",workspace) boom.BlastRadius = 20 boom.Position = eff.Position boom.BlastPressure = 100000 boom.Visible = false
  457.             end
  458.             swait()
  459.         end
  460.     end))
  461. end
  462. function gren(from,to)
  463.     local rocc = Instance.new("Part",workspace) rocc.Name = "Rock" rocc.Size = Vector3.new(.3,1.4,.3)
  464.     rocc.CFrame = from
  465.     local rmesh = Instance.new("SpecialMesh",rocc) rmesh.MeshType = "FileMesh" rmesh.MeshId = "rbxassetid://431532852" rmesh.TextureId = "rbxassetid://431532899" rmesh.Scale = Vector3.new(.005,.005,.005)
  466.    local cfm = CFrame.new(rocc.CFrame.p,to.p)
  467.     local vel = Instance.new("BodyVelocity",rocc) vel.Velocity = cfm.lookVector * 100
  468.     coroutine.resume(coroutine.create(function()
  469.         wait(2.91)
  470.         explos(rocc)
  471.         end))
  472.     debrs:AddItem(vel,.1)
  473.     debrs:AddItem(rocc,2.9)
  474. end
  475. function throwgrenade()
  476.     using = true
  477.         for i = 0,.4,.02 do
  478.             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)
  479.             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)
  480.             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)
  481.                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)
  482.             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)
  483.             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)
  484.             swait()
  485.         end
  486.         gren(ra.CFrame * CFrame.new(0,-1.4,0),mouse.Hit)
  487.         for i = 0,.4,.04 do
  488.             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)
  489.             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)
  490.             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)
  491.                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)
  492.             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)
  493.             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)
  494.             swait()
  495.         end
  496.         using = false
  497. end
  498. local speed1 = .03
  499. local speed2 = .05
  500. function swng()
  501.     if supermode == true then
  502.     speed1 = .05
  503.     speed2 = .08
  504.     else
  505.     speed1 = .03
  506.     speed2 = .05
  507.     end
  508.     using = true
  509.     for i = 0,.4,speed1 do
  510.         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)
  511.         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)
  512.         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)
  513.         swait()
  514.     end
  515.     canattacc = true
  516.     for i = 0,.4,speed2 do
  517.         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)
  518.         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)
  519.         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)
  520.         swait()
  521.     end
  522.     for i = 0,.4,speed2 do
  523.         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)
  524.             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)
  525.             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)
  526.         swait()
  527.     end
  528.     canattacc = false
  529.     using = false
  530. end
  531. function selfd()
  532.     using = true
  533.     for i = 1,50 do
  534.         i = .9
  535.         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)
  536.         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)
  537.         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)
  538.         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)
  539.         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)
  540.         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)
  541.         swait()
  542.     end
  543.     t.Anchored = true
  544.     bigexplos(rut)
  545.     wait(1)
  546.     t.Anchored = false
  547.     using = false
  548. end
  549.  
  550. mouse.KeyDown:connect(function(key)
  551.     if key == "q" and not using then
  552.         throwgrenade()
  553.     end
  554.     if key == "e" and not using then
  555.         swng()
  556.     end
  557.     if key == "f" and supermode then
  558.         selfd()
  559.     end
  560.     if key == "c" and not using then
  561.         explos(t)
  562.         t.Anchored = true
  563.         using = true
  564.         wait(.3)
  565.         t.Anchored = false
  566.         using = false
  567.     end
  568.     if key == "r" and not supermode then
  569.         cursong = 2
  570.         mus.SoundId = songs[2] mus:Play()
  571.         supermode = true
  572.     elseif key == "r" and supermode then
  573.         cursong = 1
  574.         mus.SoundId = songs[1] mus:Play()
  575.         supermode = false
  576.     end
  577. end)
  578. hum.Running:connect(function(a)
  579.     if a >0 then
  580.     anim = "walk"
  581.     else
  582.         anim = "idle"
  583.     end
  584. end)
  585. hum.Jumping:connect(function()
  586.     anim = "jump"
  587. end)
  588. hum.FreeFalling:connect(function()
  589.     anim = "fall"
  590. end)
  591.  
  592. while true do
  593.     if char:FindFirstChild("MusicA") == nil then
  594.         mus = Instance.new("Sound",char) mus.Name = "MusicA" mus.Volume = 3 mus.SoundId = songs[cursong] mus.Looped = true mus:Play()
  595.     end
  596.     if workspace:FindFirstChild("Explso") == nil then
  597.         expls = Instance.new("Sound",workspace) expls.Name = "Explso" expls.Volume = 5 expls.SoundId = "rbxassetid://262562442"
  598.     end
  599.     if ra:FindFirstChild("Cracko") == nil then
  600.         crack = Instance.new("Sound",ra) crack.Name = "Cracko" crack.Pitch = .6 crack.Volume = 5 crack.SoundId = "rbxassetid://147685617"
  601.     end
  602.     crack = ra:FindFirstChild("Cracko")
  603.     expls = workspace:FindFirstChild("Explso")
  604.     mus = char:FindFirstChild("MusicA")
  605.     hum.MaxHealth = 7e9 hum.Health = 7e9
  606.     if not supermode then
  607.         hum.WalkSpeed = 12 hum.JumpPower = 70
  608.     else
  609.         hum.WalkSpeed = 36 hum.JumpPower = 90
  610.     end
  611.     if anim == "idle" and not using then
  612.             i = .5
  613.             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)
  614.             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)
  615.             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)
  616.                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)
  617.             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)
  618.             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)
  619.     end
  620.     if anim == "idle" and not using and supermode then
  621.         i = .5
  622.         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)
  623.         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)
  624.         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)
  625.         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)
  626.         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)
  627.         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)
  628.     end
  629.     if anim == "jump" and not using then
  630.             i = .4
  631.             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)
  632.             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)
  633.             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)
  634.                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)
  635.             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)
  636.             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)
  637.     end
  638.     if  anim == "fall" and not using then
  639.             i = .4
  640.             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)
  641.             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)
  642.             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)
  643.                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)
  644.             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)
  645.             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)
  646.     end
  647.     if anim == "walk" and not using and not supermode then
  648.         for i = 0,.3,.025 do
  649.             if anim == "walk" and not using and not supermode then
  650.             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)
  651.             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)
  652.             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)
  653.                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)
  654.             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)
  655.             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)
  656.             swait()
  657.             end
  658.         end
  659.         for i = 0,.3,.025 do
  660.             if anim == "walk" and not using and not supermode then
  661.             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)
  662.             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)
  663.             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)
  664.                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)
  665.             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)
  666.             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)
  667.             swait()
  668.             end
  669.         end
  670.         for i = 0,.3,.025 do
  671.             if anim == "walk" and not using and not supermode then
  672.             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)
  673.             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)
  674.             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)
  675.                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)
  676.             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)
  677.             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)
  678.             swait()
  679.             end
  680.         end
  681.         for i = 0,.3,.025 do
  682.             if anim == "walk" and not using and not supermode then
  683.             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)
  684.             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)
  685.             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)
  686.                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)
  687.             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)
  688.             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)
  689.             swait()
  690.             end
  691.         end
  692.         end
  693.         if anim == "walk" and not using and supermode then
  694.             for i = 0,.3,.045 do
  695.             if anim == "walk" and not using and supermode then
  696.             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)
  697.             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)
  698.             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)
  699.                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)
  700.             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)
  701.             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)
  702.             swait()
  703.             end
  704.             end
  705.         for i = 0,.3,.045 do
  706.             if anim == "walk" and not using and supermode then
  707.             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)
  708.             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)
  709.             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)
  710.                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)
  711.             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)
  712.             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)
  713.             swait()
  714.             end
  715.         end
  716.         for i = 0,.3,.045 do
  717.             if anim == "walk" and not using and supermode then
  718.             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)
  719.             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)
  720.             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)
  721.                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)
  722.             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)
  723.             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)
  724.             swait()
  725.             end
  726.         end
  727.         for i = 0,.3,.045 do
  728.             if anim == "walk" and not using and supermode then
  729.             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)
  730.             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)
  731.             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)
  732.                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)
  733.             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)
  734.             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)
  735.             swait()
  736.             end
  737.         end
  738.         end
  739.     swait()
  740. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement