Advertisement
wamandnj

Untitled

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