Advertisement
wamandnj

Untitled

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