AxeuerAlt

Untitled

May 6th, 2019
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. local rp = RealPlayer
  6. script.Parent = rp.Character
  7.  
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. local function fakeEvent()
  12. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  13. t.connect = t.Connect
  14. return t
  15. end
  16.  
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  20. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  21. end}
  22. CAS.UnbindAction = CAS.BindAction
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent then
  26. for _,f in pairs(t.Functions) do
  27. f(...)
  28. end
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33.  
  34. Event.OnServerEvent:Connect(function(plr,io)
  35. if plr~=rp then return end
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. if not io.isMouse then
  39. local b = io.UserInputState == Enum.UserInputState.Begin
  40. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  41. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  42. end
  43. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  44. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  45. end
  46. for _,t in pairs(CAS.Actions) do
  47. for _,k in pairs(t.Keys) do
  48. if k==io.KeyCode then
  49. t.Function(t.Name,io.UserInputState,io)
  50. end
  51. end
  52. end
  53. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  54. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  55. end
  56. end)
  57. Event.Parent = NLS([==[
  58. local Player = game:GetService("Players").LocalPlayer
  59. local Event = script:WaitForChild("UserInput_Event")
  60. local Mouse = Player:GetMouse()
  61. local UIS = game:GetService("UserInputService")
  62. local input = function(io,a)
  63. if a then return end
  64. --Since InputObject is a client-side instance, we create and pass table instead
  65. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  66. end
  67. UIS.InputBegan:Connect(input)
  68. UIS.InputEnded:Connect(input)
  69. local h,t
  70. while wait(1/30) do
  71. if h~=Mouse.Hit or t~=Mouse.Target then
  72. h,t=Mouse.Hit,Mouse.Target
  73. Event:FireServer({isMouse=true,Target=t,Hit=h})
  74. end
  75. end]==],Player.Character)
  76.  
  77. local _rg = game
  78.  
  79. local fsmt = {
  80. __index = function(self,k)
  81. local s = rawget(self,"_RealService")
  82. if s then
  83. return typeof(s[k])=="function"
  84. and function(_,...)return s[k](s,...)end or s[k]
  85. end
  86. end,
  87. __newindex = function(self,k,v)
  88. local s = rawget(self,"_RealService")
  89. if s then s[k]=v end
  90. end
  91. }
  92. local function FakeService(t,RealService)
  93. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  94. return setmetatable(t,fsmt)
  95. end
  96. local g = {
  97. GetService = function(self,s)
  98. return rawget(self,s) or _rg:GetService(s)
  99. end,
  100. Players = FakeService({
  101. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  102. },"Players"),
  103. UserInputService = FakeService(UIS,"UserInputService"),
  104. ContextActionService = FakeService(CAS,"ContextActionService"),
  105. RunService = FakeService({
  106. _btrs = {},
  107. RenderStepped = _rg:GetService("RunService").Heartbeat,
  108. BindToRenderStep = function(self,name,_,fun)
  109. self._btrs[name] = self.Heartbeat:Connect(fun)
  110. end,
  111. UnbindFromRenderStep = function(self,name)
  112. self._btrs[name]:Disconnect()
  113. end,
  114. },"RunService")
  115. }
  116. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  117. g.service = g.GetService
  118. FakeService(g,game)
  119. game,owner = g,g.Players.LocalPlayer
  120. end
  121. wait(2)
  122. -----------/The final explosion\\-----------
  123. --[[Movelist
  124. Instant explosion.
  125. ---------]]
  126.  
  127. Player=owner
  128. Character=owner
  129. hum = Character.owner
  130. LeftArm=Character["Left Arm"]
  131. LeftLeg=Character["Left Leg"]
  132. RightArm=Character["Right Arm"]
  133. RightLeg=Character["Right Leg"]
  134. Root=Character["HumanoidRootPart"]
  135. Head=Character["Head"]
  136. Torso=Character["Torso"]
  137. Neck=Torso["Neck"]
  138. place = Torso
  139. hum.WalkSpeed = 0
  140. hum.JumpPower = 0
  141.  
  142. screenGui = Instance.new("ScreenGui")
  143. screenGui.Parent = script.Parent
  144. speech = Instance.new("Sound",workspace)
  145. speech.SoundId = "rbxassetid://2124080151"
  146. speech.Volume = 10
  147. speech:Play()
  148. framee = Instance.new("Frame")
  149. framee.Parent = screenGui
  150. framee.Position = UDim2.new(0, 8, 0, -500)
  151. framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
  152. framee.BackgroundColor3 = BrickColor.new("White").Color
  153. framee.BackgroundTransparency = 1
  154. for i = 1, 10 do
  155. framee.BackgroundTransparency = framee.BackgroundTransparency - .1
  156. wait()
  157. end
  158. imageLabelo = Instance.new("ImageLabel")
  159. imageLabelo.Parent = screenGui
  160. imageLabelo.BackgroundTransparency = 1
  161. imageLabelo.ImageTransparency = 0
  162. imageLabelo.Position = UDim2.new(0, 0, 0, -50)
  163. imageLabelo.Size = UDim2.new(0, 1370, 0, 750)
  164. imageLabelo.Image = "rbxassetid://2124079039"
  165. wait(6)
  166. imageLabelo2 = Instance.new("ImageLabel")
  167. imageLabelo2.Parent = screenGui
  168. imageLabelo2.BackgroundTransparency = 1
  169. imageLabelo2.ImageTransparency = 1
  170. imageLabelo2.Position = UDim2.new(0, 0, 0, -50)
  171. imageLabelo2.Size = UDim2.new(0, 1370, 0, 750)
  172. imageLabelo2.Image = "rbxassetid://2124078787"
  173. for i = 1, 50 do
  174. imageLabelo.ImageTransparency = imageLabelo.ImageTransparency + 0.025
  175. imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency - 0.025
  176. wait()
  177. end
  178. wait(2.9)
  179. for i = 1, 10 do
  180. framee.BackgroundTransparency = framee.BackgroundTransparency + .1
  181. imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency + .1
  182. wait()
  183. end
  184. imageLabelo:Remove()
  185. imageLabelo2:Remove()
  186.  
  187. pcall(function()
  188.  
  189. camera = workspace.CurrentCamera
  190. camera.CameraType = Enum.CameraType.Scriptable
  191. camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5,-15) * CFrame.Angles(0,math.rad(180),0)
  192. coroutine.wrap(function()
  193. for i = 1, 75 do
  194. wait()
  195. end
  196. gf = 5
  197. fg = -30
  198. for i = 1, 580 do
  199. gf = gf + 0
  200. fg = fg + 2.5
  201. camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5 + gf,-15 - fg ) * CFrame.Angles(0,math.rad(180),0)
  202. wait()
  203. end
  204. for i = 1, 250 do
  205. wait()
  206. end
  207. coroutine.wrap(function()
  208. for i = 1, 1000 do
  209. for i,v in pairs(hum.Parent:GetDescendants()) do
  210. if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
  211. end
  212. end
  213. wait()
  214. end
  215. end)()
  216. camera.CameraType = Enum.CameraType.Custom
  217. end)()
  218. end)
  219.  
  220. local remote = NS ([==[
  221. Player=owner
  222. Character=Player.Character
  223. hum = Character.owner
  224. LeftArm=Character["Left Arm"]
  225. LeftLeg=Character["Left Leg"]
  226. RightArm=Character["Right Arm"]
  227. RightLeg=Character["Right Leg"]
  228. Root=Character["HumanoidRootPart"]
  229. Head=Character["Head"]
  230. Torso=Character["Torso"]
  231. Neck=Torso["Neck"]
  232. walking = false
  233. jumping = false
  234. allowgrassy = false
  235. zxc = false
  236. matte = nil
  237. colori = nil
  238. bigball = false
  239. attacking = false
  240. laughing = false
  241. running = false
  242. downpress = false
  243. taim = nil
  244. change = 0
  245. ws = 0
  246. jp = 0
  247. appi = false
  248. tauntdebounce = false
  249. position = nil
  250. lastexplosion = false
  251. staybooming = false
  252. MseGuide = true
  253. levitate = false
  254. firsttime5 = false
  255. notallowedtransform = false
  256. settime = 0
  257. firsttime2 = false
  258. sine = 0
  259. t = 0
  260. combo1 = true
  261. dgs = 75
  262. combo2 = false
  263. firsttime3 = false
  264. combo3 = false
  265. local bl = {907530553,907527750,907527912}
  266. colortable = {"Really black","Really red"}
  267. colors = #colortable
  268. blz = #bl
  269. local aces = {1880203893,1881287656,1881287420,1881288034}
  270. ace = #aces
  271. local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
  272. laugh = #laughs
  273. mouse = Player:GetMouse()
  274. RunSrv = game:GetService("RunService")
  275. RenderStepped = game:GetService("RunService").RenderStepped
  276. removeuseless = game:GetService("Debris")
  277. damageall={}
  278. Repeater={}
  279. Repeater2={}
  280. magictable={}
  281. nonmeshRepeater={}
  282. nonmeshRepeater2={}
  283. dmgii={}
  284. DamageAll2={}
  285. SlowlyFade={}
  286. th1={}
  287. lolzor={}
  288. lolzor2={}
  289. th2={}
  290. keyYsize={}
  291. blocktrail={}
  292. keyYtransparency={}
  293. th3={}
  294. laughingtable={}
  295. Extreme={}
  296. ExtremeM={}
  297. ExtremeM2={}
  298. m3={}
  299. th4={}
  300. th5={}
  301. UpMover={}
  302. openshocktable={}
  303. LessSize={}
  304. ForwardMover={}
  305. FadeIn={}
  306. signtransparency={}
  307. signmover={}
  308. signrotator={}
  309.  
  310. FireBall = Instance.new("Sound",LeftArm)
  311. FireBall.SoundId = "rbxassetid://842332424"
  312. FireBall.Volume = 5
  313. FireBall.Pitch = 2.5
  314.  
  315. BigFireBall = Instance.new("Sound",LeftArm)
  316. BigFireBall.SoundId = "rbxassetid://842332424"
  317. BigFireBall.Volume = 8
  318. BigFireBall.Pitch = 1.5
  319.  
  320. local HEADLERP = Instance.new("ManualWeld")
  321. HEADLERP.Parent = Head
  322. HEADLERP.Part0 = Head
  323. HEADLERP.Part1 = Torso
  324. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  325.  
  326. local TORSOLERP = Instance.new("ManualWeld")
  327. TORSOLERP.Parent = Root
  328. TORSOLERP.Part0 = Torso
  329. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  330.  
  331. local ROOTLERP = Instance.new("ManualWeld")
  332. ROOTLERP.Parent = Root
  333. ROOTLERP.Part0 = Root
  334. ROOTLERP.Part1 = Torso
  335. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  336.  
  337. local RIGHTARMLERP = Instance.new("ManualWeld")
  338. RIGHTARMLERP.Parent = RightArm
  339. RIGHTARMLERP.Part0 = RightArm
  340. RIGHTARMLERP.Part1 = Torso
  341. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  342.  
  343. local LEFTARMLERP = Instance.new("ManualWeld")
  344. LEFTARMLERP.Parent = LeftArm
  345. LEFTARMLERP.Part0 = LeftArm
  346. LEFTARMLERP.Part1 = Torso
  347. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  348.  
  349. local RIGHTLEGLERP = Instance.new("ManualWeld")
  350. RIGHTLEGLERP.Parent = RightLeg
  351. RIGHTLEGLERP.Part0 = RightLeg
  352. RIGHTLEGLERP.Part1 = Torso
  353. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  354.  
  355. local LEFTLEGLERP = Instance.new("ManualWeld")
  356. LEFTLEGLERP.Parent = LeftLeg
  357. LEFTLEGLERP.Part0 = LeftLeg
  358. LEFTLEGLERP.Part1 = Torso
  359. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  360.  
  361. local function weldBetween(a, b)
  362. local weld = Instance.new("ManualWeld", a)
  363. weld.Part0 = a
  364. weld.Part1 = b
  365. weld.C0 = a.CFrame:inverse() * b.CFrame
  366. return weld
  367. end
  368.  
  369. function makeblockytrail()
  370. coroutine.wrap(function()
  371. while true do
  372. for i,v in pairs(blocktrail) do
  373. smke = Instance.new("Part",v)
  374. smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  375. smke.Material = "Neon"
  376. smke.Anchored = true
  377. smke.CanCollide = false
  378. removeuseless:AddItem(smke,2)
  379. end
  380. swait()
  381. end
  382. end)()
  383. end
  384.  
  385. local function ci(x, c, y, n)
  386. so = Instance.new("Sound", x)
  387. so.SoundId = c
  388. so.Volume = y
  389. so.Looped = n
  390. end
  391.  
  392. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  393. A = Instance.new("Attachment", PARENT)
  394. A.Position = POSITION1
  395. A.Name = "A"
  396. B = Instance.new("Attachment", PARENT)
  397. B.Position = POSITION2
  398. B.Name = "B"
  399. tr1 = Instance.new("Trail", PARENT)
  400. tr1.Attachment0 = A
  401. tr1.Attachment1 = B
  402. tr1.Enabled = true
  403. tr1.Lifetime = LIFETIME
  404. tr1.TextureMode = "Static"
  405. tr1.LightInfluence = 0
  406. tr1.Color = COLOR
  407. tr1.Transparency = NumberSequence.new(0, 1)
  408. end
  409.  
  410. function clean()
  411. damageall={}
  412. Repeater={}
  413. Repeater2={}
  414. nonmeshRepeater={}
  415. nonmeshRepeater2={}
  416. dmgii={}
  417. DamageAll2={}
  418. SlowlyFade={}
  419. th1={}
  420. th2={}
  421. th3={}
  422. Extreme={}
  423. ExtremeM={}
  424. ExtremeM2={}
  425. m3={}
  426. th4={}
  427. th5={}
  428. UpMover={}
  429. openshocktable={}
  430. LessSize={}
  431. ForwardMover={}
  432. FadeIn={}
  433. signtransparency={}
  434. signmover={}
  435. signrotator={}
  436. end
  437.  
  438. coroutine.wrap(function()
  439. while wait() do
  440. hum.WalkSpeed = ws
  441. hum.JumpPower = jp
  442. end
  443. end)()
  444. godmode = coroutine.wrap(function()
  445. for i,v in pairs(Character:GetChildren()) do
  446. if v:IsA("BasePart") and v ~= Root then
  447. v.Anchored = false
  448. end
  449. end
  450. while true do
  451. hum.MaxHealth = math.huge
  452. wait(0.0000001)
  453. hum.Health = math.huge
  454. wait()
  455. end
  456. end)
  457. godmode()
  458. ff = Instance.new("ForceField", Character)
  459. ff.Visible = false
  460.  
  461. coroutine.wrap(function()
  462. for i,v in pairs(Character:GetChildren()) do
  463. if v.Name == "Animate" then v:Remove()
  464. end
  465. end
  466. end)()
  467.  
  468. function damagealll(Radius,Position)
  469. local Returning = {}
  470. for _,v in pairs(workspace:GetChildren()) do
  471. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  472. if v:FindFirstChild("Torso") then
  473. local Mag = (v.Torso.Position - Position).magnitude
  474. if Mag < Radius then
  475. table.insert(Returning,v)
  476. end
  477. elseif v:FindFirstChild("UpperTorso") then
  478. local Mag = (v.UpperTorso.Position - Position).magnitude
  479. if Mag < Radius then
  480. table.insert(Returning,v)
  481. end
  482. end
  483. end
  484. end
  485. return Returning
  486. end
  487.  
  488. ArtificialHB = Instance.new("BindableEvent", script)
  489. ArtificialHB.Name = "Heartbeat"
  490. script:WaitForChild("Heartbeat")
  491.  
  492. frame = 1 / 60
  493. tf = 0
  494. allowframeloss = false
  495. tossremainder = false
  496.  
  497.  
  498. lastframe = tick()
  499. script.Heartbeat:Fire()
  500.  
  501.  
  502. game:GetService("RunService").Heartbeat:connect(function(s, p)
  503. tf = tf + s
  504. if tf >= frame then
  505. if allowframeloss then
  506. script.Heartbeat:Fire()
  507. lastframe = tick()
  508. else
  509. for i = 1, math.floor(tf / frame) do
  510. script.Heartbeat:Fire()
  511. end
  512. lastframe = tick()
  513. end
  514. if tossremainder then
  515. tf = 0
  516. else
  517. tf = tf - frame * math.floor(tf / frame)
  518. end
  519. end
  520. end)
  521.  
  522. function swait(num)
  523. if num == 0 or num == nil then
  524. game:service("RunService").Stepped:wait(0)
  525. else
  526. for i = 0, num do
  527. game:service("RunService").Stepped:wait(0)
  528. end
  529. end
  530. end
  531.  
  532.  
  533. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  534. so = Instance.new("Sound")
  535. so.Parent = PARENT
  536. so.SoundId = "rbxassetid://"..ID
  537. so.Volume = VOL
  538. so.Looped = LOOP
  539. so:Play()
  540. removeuseless:AddItem(so,REMOVE)
  541. end
  542.  
  543. warn("I'm gonna crush you, and throw you into the wind. Made by Supr14")
  544.  
  545. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  546. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  547. end
  548.  
  549. function ray2(StartPos, EndPos, Distance, Ignore)
  550. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  551. return ray(StartPos, DIRECTION, Distance, Ignore)
  552. end
  553. sacrifice = Instance.new("Sound",Torso)
  554. sacrifice.SoundId = "rbxassetid://2123165301"
  555. sacrifice.Volume = 10
  556. sacrifice:Play()
  557. explosiontable = {}
  558. x = 0
  559. coroutine.wrap(function()
  560. for i = 1, 400 do
  561. swait()
  562. x = x + 15
  563. for i,v in pairs(explosiontable) do
  564. v.Scale = v.Scale + Vector3.new(4,.6,4)
  565. v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(x),0)
  566. v.Parent.Transparency = v.Parent.Transparency + .025
  567. end
  568. end
  569. end)()
  570. coroutine.wrap(function()
  571. for i = 1, 25 do
  572. shockwave3 = Instance.new("Part", Torso)
  573. shockwave3.Size = Vector3.new(1,1,1)
  574. shockwave3.CanCollide = false
  575. shockwave3.Anchored = true
  576. shockwave3.Name = "shockwav"
  577. shockwave3.Transparency = .5
  578. shockwave3.BrickColor = BrickColor.new("White")
  579. shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0)
  580. shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  581. shockwavemesh3.Scale = Vector3.new(1,1,1)
  582. shockwavemesh3.MeshId = "rbxassetid://20329976"
  583. table.insert(explosiontable,shockwavemesh3)
  584. swait(5)
  585. end
  586. end)()
  587. for i = 1, 50 do
  588. settime = 0.05
  589. sine = sine + change
  590. change = 1
  591. HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5)
  592. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.5)
  593. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(-13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5)
  594. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5)
  595. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.5)
  596. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
  597. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.5)
  598. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.5)
  599. swait()
  600. end
  601. explosiontable2={}
  602. explosiontable3={}
  603. TheExplosion = Instance.new("Part",LeftArm)
  604. TheExplosion.BrickColor = BrickColor.new("Bright yellow")
  605. TheExplosion.Material = "Neon"
  606. TheExplosion.Shape = "Ball"
  607. TheExplosion.Anchored = true
  608. TheExplosion.CanCollide = false
  609. TheExplosion.CFrame = CFrame.new(Torso.Position)
  610. TheExplosion.Size = Vector3.new(8,8,8)
  611. TheExplosion.Transparency = 0.5
  612. shockwave2 = Instance.new("Part", LeftArm)
  613. shockwave2.Size = Vector3.new(1,1,1)
  614. shockwave2.CanCollide = false
  615. shockwave2.Anchored = true
  616. shockwave2.Transparency = 1
  617. shockwave2.BrickColor = BrickColor.new("White")
  618. shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0)
  619. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  620. shockwavemesh2.Scale = Vector3.new(3,1,3)
  621. shockwavemesh2.MeshId = "rbxassetid://20329976"
  622. table.insert(explosiontable2,shockwavemesh2)
  623. shockwave = Instance.new("Part", LeftArm)
  624. shockwave.Size = Vector3.new(1,1,1)
  625. shockwave.CanCollide = false
  626. shockwave.Anchored = true
  627. shockwave.Transparency = 1
  628. shockwave.BrickColor = BrickColor.new("White")
  629. shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0)
  630. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  631. shockwavemesh.Scale = Vector3.new(3,1,3)
  632. shockwavemesh.MeshId = "rbxassetid://20329976"
  633. table.insert(explosiontable3,shockwavemesh)
  634. coroutine.wrap(function()
  635. for i = 1, 23 do
  636. TheExplosion.Transparency = 1
  637. swait(1)
  638. TheExplosion.Transparency = 0.5
  639. swait(1)
  640. end
  641. coroutine.wrap(function()
  642. for i = 1, 50 do
  643. wait(2.5)
  644. shocks = TheExplosion:Clone()
  645. shocks.Parent = Torso
  646. shocks.Name = "shock"
  647. swait()
  648. end
  649. end)()
  650. n = 0
  651. f = 0
  652. dmgal = 0
  653. shockwave.Transparency = .5
  654. shockwave2.Transparency = .5
  655. for i = 1, 125 do
  656. dmgal = dmgal + .25
  657. local Hit = damagealll(dmgal,TheExplosion.Position)
  658. for _,v in pairs(Hit) do
  659. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
  660. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  661. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  662. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  663. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20
  664. removeuseless:AddItem(vel,.1)
  665. end
  666. n = n + 16
  667. f = f - 16
  668. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.25,.05,.25)
  669.  
  670. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.25,.05,.25)
  671. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
  672. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0)
  673.  
  674. TheExplosion.Transparency = TheExplosion.Transparency - .0040
  675. TheExplosion.Size = TheExplosion.Size + Vector3.new(.25,.25,.25)
  676. swait()
  677. end
  678. for i = 1, 920 do
  679. dmgal = dmgal + 1
  680. local Hit = damagealll(dmgal/1.5,TheExplosion.Position)
  681. for _,v in pairs(Hit) do
  682. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
  683. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  684. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  685. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  686. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20
  687. removeuseless:AddItem(vel,.1)
  688. end
  689. n = n + 4
  690. f = f - 4
  691. for i,v in pairs(explosiontable2) do
  692. v.Scale = v.Scale + Vector3.new(1,.1,1)
  693. v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0)
  694. end
  695. for i,v in pairs(explosiontable3) do
  696. v.Scale = v.Scale + Vector3.new(1,.1,1)
  697. v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0)
  698. end
  699. TheExplosion.Transparency = TheExplosion.Transparency - .0025
  700. TheExplosion.Size = TheExplosion.Size + Vector3.new(1,1,1)
  701. swait()
  702. end
  703. for i = 1, 850 do
  704. n = n + 18
  705. f = f - 18
  706. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1,.1,1)
  707. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1,.1,1)
  708. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+14),0)
  709. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-14),0)
  710. TheExplosion.Transparency = TheExplosion.Transparency - .0025
  711. swait()
  712. end
  713. coroutine.wrap(function()
  714. for i = 1, 1000 do
  715. for i,v in pairs(hum.Parent:GetDescendants()) do
  716. if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
  717. end
  718. end
  719. wait()
  720. end
  721. end)()
  722. for i = 1, 50 do
  723. n = n + 4
  724. f = f - 4
  725. for i,v in pairs(explosiontable2) do
  726. v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0)
  727. v.Parent.Transparency = v.Parent.Transparency + 0.05
  728. end
  729. for i,v in pairs(explosiontable3) do
  730. v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0)
  731. v.Parent.Transparency = v.Parent.Transparency + 0.05
  732. end
  733. TheExplosion.Transparency = TheExplosion.Transparency + .015
  734. swait()
  735. end
  736. for i,v in pairs(explosiontable2) do
  737. v:Remove()
  738. end
  739. for i,v in pairs(explosiontable3) do
  740. v:Remove()
  741. end
  742. TheExplosion:Remove()
  743. for i,v in pairs(Torso:GetChildren()) do
  744. if v.Name == "shocks" then
  745. v:Remove()
  746. end
  747. end
  748. hum.Parent:BreakJoints()
  749. for i = 1, 1500 do
  750. for i,v in pairs(Torso:GetChildren()) do
  751. if v.Name == "shocks" then
  752. for i = 1, 20 do
  753. v.Transparency = v.Transparency + 0.05
  754. swait()
  755. end
  756. end
  757. end
  758. swait()
  759. end
  760. end)()
  761. for i = 1, 25 do
  762. HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  763. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  764. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4)
  765. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4)
  766. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-10)), 0.4)
  767. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(10)), 0.4)
  768. swait()
  769. end
  770. lastexplosion = true
  771. for i = 1, 400 do
  772. HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.45, .1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05)
  773. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.05)
  774. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.05)
  775. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.05)
  776. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.05)
  777. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.05)
  778. swait()
  779. end
  780. ]==], owner.Character):WaitForChild 'ServerRemote';
  781. mouse = owner:GetMouse ();
Advertisement
Add Comment
Please, Sign In to add comment