MasterDomanGame

zfcsaddz

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