Advertisement
Guest User

k chris here you go

a guest
Aug 3rd, 2018
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.02 KB | None | 0 0
  1. --// Evil Chris \\--
  2. local p = game.Players.LocalPlayer
  3. local char = p.Character
  4. local hed = char:WaitForChild("Head")
  5. local rarm = char:WaitForChild("Right Arm")
  6. local larm = char:WaitForChild("Left Arm")
  7. local torso = char:WaitForChild("Torso")
  8. local lleg = char:WaitForChild("Left Leg")
  9. local rleg = char:WaitForChild("Right Leg")
  10. local root = char:WaitForChild("HumanoidRootPart")
  11. local hum = char:WaitForChild("Humanoid")
  12. local ChatService = game:GetService("Chat")
  13. local mouse = p:GetMouse()
  14. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  15. local attack = false --Determining things
  16. local running = false --Running mode
  17. local anim = "idle"
  18. local sine = 0
  19. local add = 0
  20. local soulcrushermode = false
  21. local FX = Instance.new("Folder", char)
  22. FX.Name = "SpecialFX"
  23. local maincolor = BrickColor.new("Royal purple")
  24. local SuperExplosion = "rbxassetid://1417056081"
  25.  
  26. hum.WalkSpeed = 7
  27. hum.MaxHealth = "inf"
  28. hum.Health = "inf"
  29.  
  30. script.Name = "Created by iIceSniper"
  31. script.Parent = p.PlayerGui
  32.  
  33. --// Useful Part-Creating Functions \\--
  34.  
  35. --Sound Variables--
  36. local SuperExplosion = "rbxassetid://1417056081"
  37. --// Music
  38. local normalsong = "rbxassetid://1720486224"
  39.  
  40. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  41. local wld = Instance.new("Weld", wp1)
  42. wld.Part0 = wp0
  43. wld.Part1 = wp1
  44. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  45. end
  46.  
  47. local song = Instance.new("Sound", char)
  48. song.SoundId = normalsong
  49. song.Volume = 1
  50. song.Pitch = 1
  51. song.Playing = true
  52. song.Looped = true
  53.  
  54. newWeld(torso, larm, -1.5, 0.5, 0)
  55. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  56. newWeld(torso, rarm, 1.5, 0.5, 0)
  57. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  58. newWeld(torso, hed, 0, 1.5, 0)
  59. newWeld(torso, lleg, -0.5, -1, 0)
  60. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  61. newWeld(torso, rleg, 0.5, -1, 0)
  62. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  63. newWeld(root, torso, 0, -1, 0)
  64. torso.Weld.C1 = CFrame.new(0, -1, 0)
  65.  
  66. function Lerp(c1,c2,al)
  67. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  68. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  69. for i,v in pairs(com1) do
  70. com1[i] = v+(com2[i]-v)*al
  71. end
  72. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  73. end
  74.  
  75. function FindNearestTorso(Position,Distance,SinglePlayer)
  76. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  77. local List = {}
  78. for i,v in pairs(workspace:GetChildren())do
  79. if v:IsA("Model")then
  80. if v:findFirstChild("Torso")then
  81. if v ~= char then
  82. if(v.Torso.Position -Position).magnitude <= Distance then
  83. table.insert(List,v)
  84. end
  85. end
  86. end
  87. end
  88. end
  89. return List
  90. end
  91.  
  92. CV="Really red"
  93.  
  94. local txt = Instance.new("BillboardGui", char)
  95. txt.Adornee = hed
  96. txt.Name = "_status"
  97. txt.Size = UDim2.new(2, 0, 1.2, 0)
  98. txt.StudsOffset = Vector3.new(-9, 8, 0)
  99. local text = Instance.new("TextLabel", txt)
  100. text.Size = UDim2.new(10, 0, 7, 0)
  101. text.FontSize = "Size24"
  102. text.TextScaled = true
  103. text.TextTransparency = 0
  104. text.BackgroundTransparency = 1
  105. text.TextTransparency = 0
  106. text.Font = "Antique"
  107. text.TextStrokeColor3 = Color3.new(225,0,0)
  108.  
  109. v=Instance.new("Part")
  110. v.Name = "ColorBrick"
  111. v.Parent=char
  112. v.FormFactor="Symmetric"
  113. v.Anchored=true
  114. v.CanCollide=false
  115. v.BottomSurface="Smooth"
  116. v.TopSurface="Smooth"
  117. v.Size=Vector3.new(10,5,3)
  118. v.Transparency=1
  119. v.CFrame=torso.CFrame
  120. v.BrickColor=BrickColor.new(CV)
  121. v.Transparency=1
  122. text.TextColor3 = Color3.new(0,0,0)
  123. v.Shape="Block"
  124. text.Text = "Evil Chris"
  125.  
  126. for i,v in pairs(char:GetChildren()) do
  127. if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
  128. local Glow1 = Color3.new(1,1,1) --98, 37, 209
  129. local Glow2 = Color3.new(0,0,0)
  130.  
  131. local GlowParticle = Instance.new("ParticleEmitter",v)
  132. GlowParticle.LightEmission = 1
  133. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  134. GlowParticle.Size = NumberSequence.new(0,2)
  135.  
  136. GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
  137. GlowParticle.Transparency = NumberSequence.new(0,1)
  138. GlowParticle.LockedToPart = true
  139. GlowParticle.Lifetime = NumberRange.new(0.5)
  140. GlowParticle.Rate= 300
  141. GlowParticle.Speed =NumberRange.new(0)
  142. end end
  143.  
  144. GroundWave = function()
  145. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  146. local wave = Instance.new("Part", torso)
  147. wave.BrickColor = maincolor
  148. wave.Anchored = true
  149. wave.CanCollide = false
  150. wave.Locked = true
  151. wave.Size = Vector3.new(1, 1, 1)
  152. wave.TopSurface = "Smooth"
  153. wave.BottomSurface = "Smooth"
  154. wave.Transparency = 0.35
  155. wave.CFrame = HandCF
  156. wm = Instance.new("SpecialMesh", wave)
  157. wm.MeshId = "rbxassetid://3270017"
  158. coroutine.wrap(function()
  159. for i = 1, 14, 1 do
  160. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  161. wave.Size = wm.Scale
  162. wave.CFrame = HandCF
  163. wave.Transparency = i/14
  164. wait()
  165. end
  166. wait()
  167. wave:Destroy()
  168. end)()
  169. end
  170.  
  171. r = game:GetService("RunService").RenderStepped
  172. Activated = true
  173. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  174. Debri = coroutine.wrap(function()
  175. repeat
  176. local p = Instance.new('Part',torso)
  177. p.formFactor = 'Custom'
  178. p.Size = Vector3.new(1,1,1)
  179. p.BrickColor = maincolor
  180. p.CanCollide = false
  181. p.Transparency = 0
  182. p.Anchored = true
  183. p.Locked=true
  184. p.Material = 'Neon'
  185. s = math.random(1,40)/10
  186. local m = Instance.new("BlockMesh",p)
  187. m.Scale = Vector3.new(s,s,s)
  188. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  189. spawn(function()
  190. while r:wait() do
  191. if p.Transparency >= 1 then p:Destroy() break end
  192. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  193. p.Transparency = p.Transparency+0.01
  194. end
  195. end)
  196. wait(.3)
  197. until Activated == false
  198. end)
  199. Debri()
  200.  
  201. spawn(function()
  202. while wait(2)
  203. do
  204. GroundWave()
  205. end
  206. end)
  207.  
  208. function FindNearestTorso(Position,Distance,SinglePlayer)
  209. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  210. local List = {}
  211. for i,v in pairs(workspace:GetChildren())do
  212. if v:IsA("Model")then
  213. if v:findFirstChild("Torso")then
  214. if v ~= char then
  215. if(v.Torso.Position -Position).magnitude <= Distance then
  216. table.insert(List,v)
  217. end
  218. end
  219. end
  220. end
  221. end
  222. return List
  223. end
  224.  
  225. function ExplodeMassen(rad,par)
  226. local expart = Instance.new("Part",workspace)
  227. local expart2 = Instance.new("Part",workspace)
  228. local partMesh = Instance.new("SpecialMesh",expart)
  229. partMesh.MeshType = "Sphere"
  230. local partMesh2 = Instance.new("SpecialMesh",expart2)
  231. partMesh2.MeshType = "Sphere"
  232. local expld = Instance.new("Explosion", workspace)
  233. local plode = Instance.new("Sound",workspace)
  234. plode.SoundId = "rbxassetid://579687077"
  235. plode.Volume = 1
  236. plode.Pitch = 0.85
  237. plode.Looped = false
  238. plode:Play()
  239. local plodez = Instance.new("Sound",workspace)
  240. plodez.SoundId = "rbxassetid://288641686"
  241. plodez.Volume = 1
  242. plodez.Pitch = 0.75
  243. plodez.Looped = false
  244. plodez:Play()
  245. local plodeza = Instance.new("Sound",workspace)
  246. plodeza.SoundId = "rbxassetid://197161452"
  247. plodeza.Volume = 0.85
  248. plodeza.Pitch = 0.65
  249. plodeza.Looped = false
  250. plodeza:Play()
  251. local plodezar = Instance.new("Sound",workspace)
  252. plodezar.SoundId = "rbxassetid://197161452"
  253. plodezar.Volume = 0.85
  254. plodezar.Pitch = 0.25
  255. plodezar.Looped = false
  256. plodezar:Play()
  257. expld.BlastRadius = rad
  258. expld.BlastPressure = 1000000000 --Rip objects around it x-x
  259. expld.Position = par.Position
  260. partMesh.Scale = Vector3.new(rad,rad,rad)
  261. expart.Size = Vector3.new(1,1,1)*1.5
  262. expart.Transparency = 0
  263. expart.Anchored = true
  264. expart.Material = "Neon"
  265. expart.BrickColor = BrickColor.new("White")
  266. expart.CFrame = par.CFrame
  267. partMesh2.Scale = Vector3.new(rad,rad,rad)
  268. expart2.Size = Vector3.new(1.15,1.15,1.15)*1.5
  269. expart2.Transparency = 0.5
  270. expart2.Anchored = true
  271. expart2.Material = "Neon"
  272. expart2.BrickColor = maincolor
  273. expart2.CFrame = par.CFrame
  274. local value = 1*rad/10
  275. par:Destroy()
  276. for i = 0, 300 do
  277. partMesh.Scale = partMesh.Scale + Vector3.new(value,value,value)
  278. expart.CFrame = expart.CFrame
  279. partMesh2.Scale = partMesh2.Scale + Vector3.new(value,value,value)
  280. expart2.CFrame = expart.CFrame
  281. value = value - 0.0175*rad/10
  282. if value <= 0 then
  283. expart.Transparency = expart.Transparency + 0.0125
  284. expart2.Transparency = expart2.Transparency + 0.0125
  285. value = 0.25
  286. end
  287. wait()
  288. end
  289. plode.Parent = nil
  290. expart.Parent = nil
  291. expart2.Parent = nil
  292. expld.Parent = nil
  293. end
  294.  
  295. local spirit1 = Instance.new("Part",char)
  296. spirit1.CanCollide = false
  297. spirit1.Size = Vector3.new(1,1,1)
  298. spirit1.Transparency = 1
  299. spirit1.Position = Vector3.new(999,999,999)
  300. spirit1mesh = Instance.new("SpecialMesh",spirit1)
  301. spirit1mesh.MeshType = "Sphere"
  302. spirit1mesh.Scale = Vector3.new(1,1,1)
  303. partweld7 = Instance.new("Weld",spirit1)
  304. partweld7.Part0 = torso
  305. partweld7.Part1 = spirit1
  306. partweld7.C0 = CFrame.new(0,40,0)
  307.  
  308. function EnergyBomb()
  309. local hito = false
  310. local sloc = Instance.new("Part",workspace)
  311. local msh = Instance.new("SpecialMesh",sloc)
  312. msh.MeshType = "Sphere"
  313. sloc.Size = Vector3.new(25,25,25)
  314. sloc.Transparency = 0
  315. sloc.BrickColor = maincolor
  316. sloc.Position = spirit1.Position + Vector3.new(0,50,0)
  317. sloc.CanCollide = false
  318. sloc.Shape = "Ball"
  319. sloc.Anchored = true
  320. sloc.Material = "Neon"
  321. local s = Instance.new("Sound",char)
  322. s.SoundId = "rbxassetid://289315275"
  323. s.Pitch = 1
  324. s.Volume = 2.75
  325. s.Looped = false
  326. s:Play()
  327. local s2 = Instance.new("Sound",char)
  328. s2.SoundId = "rbxassetid://671759140"
  329. s2.Pitch = 0.425
  330. s2.Volume = 1
  331. s2.Looped = false
  332. s2:Play()
  333. for i = 0 , 75 do
  334. sloc.Transparency = sloc.Transparency - 0.035
  335. msh.Scale = msh.Scale + Vector3.new(.05,.05,.05)
  336. wait()
  337. end
  338. wait(2)
  339. local sen = Instance.new("Sound",char)
  340. sen.SoundId = "rbxassetid://289315275"
  341. sen.Pitch = 1
  342. sen.Volume = 2.75
  343. sen.Looped = false
  344. sen:Play()
  345. local tick = Instance.new("Sound",char)
  346. tick.SoundId = "rbxassetid://446876721"
  347. tick.Volume = 2.5
  348. tick.Pitch = 0.5
  349. tick:Play()
  350. msh.Scale = msh.Scale - Vector3.new(1,1,1)
  351. sloc.Transparency = sloc.Transparency + 0.015
  352. local spart = Instance.new("Part",workspace)
  353. local msh2 = Instance.new("SpecialMesh",spart)
  354. msh2.MeshType = "Sphere"
  355. spart.Size = Vector3.new(25,25,25)
  356. spart.Shape = "Ball"
  357. spart.BrickColor = maincolor
  358. spart.Material = "Neon"
  359. spart.Transparency = 0
  360. spart.Anchored = false
  361. msh2.Scale = Vector3.new(4.875,4.875,4.875)
  362. spart.Rotation = hed.Rotation
  363. spart.CanCollide = false
  364. spart.Position = sloc.Position + Vector3.new(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  365. local bv = Instance.new("BodyVelocity")
  366. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  367. bv.velocity = mouse.Hit.lookVector * 125
  368. bv.Parent = spart
  369. sloc:Destroy()
  370. wait()
  371. local pewdiepie=spart.Touched:connect(function(hit)
  372. ExplodeMassen(100,spart)
  373. end)
  374. sloc:Destroy()
  375. tick:Destroy()
  376. s:Destroy()
  377. sen:Destroy()
  378. s2:Destroy()
  379. end
  380.  
  381. function AuraBall()
  382. attack = true
  383. for i = 1, 20 do
  384. wait()
  385. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)--head
  386. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)--torso
  387. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(20)), 0.3)--rarm
  388. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-180),math.rad(0),math.rad(-20)), 0.3)--larm
  389. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)--lleg
  390. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)--rleg
  391. end
  392. hed.Anchored = true
  393. EnergyBomb()
  394. hed.Anchored = false
  395. for i = 1,40 do
  396. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  397. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  398. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  399. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
  400. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
  401. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  402. wait()
  403. end
  404. attack = false
  405. end
  406.  
  407. function LaserEyes()
  408.  
  409. end
  410.  
  411. local theme = 2
  412. function ChangeThemes()
  413. if theme == 1 then
  414. theme = 2
  415. song.SoundId = "rbxassetid://1720486224"
  416. song:Stop()
  417. wait()
  418. song:Play()
  419. elseif theme == 2 then
  420. theme = 3
  421. song.SoundId = "rbxassetid://227991386"
  422. song:Stop()
  423. wait()
  424. song:Play()
  425. elseif theme == 3 then
  426. theme = 4
  427. song.SoundId = "rbxassetid://728472181"
  428. song:Stop()
  429. wait()
  430. song:Play()
  431. elseif theme == 4 then
  432. theme = 5
  433. song.SoundId = "rbxassetid://590156873"
  434. song.Volume = 3
  435. song:Stop()
  436. wait()
  437. song:Play()
  438. elseif theme == 5 then
  439. theme = 1
  440. song.SoundId = "rbxassetid://569045108"
  441. song.Volume = 1
  442. song:Stop()
  443. wait()
  444. song:Play()
  445. end
  446. end
  447.  
  448. function newRay(start,face,range,wat)
  449. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  450. local hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  451. return rey,hit,pos
  452. end
  453.  
  454. function nooutline(part)
  455. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  456. end
  457.  
  458. function MegaCrater(cfremz, thepart, amt)
  459. for j = 1, amt do
  460. do
  461. local pr = Instance.new("Part")
  462. nooutline(pr)
  463. pr.Name = "debrisobeb"
  464. pr.Anchored = true
  465. pr.BrickColor = thepart.BrickColor
  466. pr.CanCollide = true
  467. pr.Material = thepart.Material
  468. pr.Transparency = thepart.Transparency
  469. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  470. pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  471. pr.Parent = workspace
  472. game.Debris:AddItem(pr, 25)
  473. delay(15, function()
  474. if pr then
  475. pr.CanCollide = false
  476. pr.Anchored = false
  477. end
  478. end)
  479. end
  480. end
  481. for c = 1, amt do
  482. do
  483. local pr2 = Instance.new("Part")
  484. nooutline(pr2)
  485. pr2.Name = "moredebr"
  486. pr2.Anchored = false
  487. pr2.BrickColor = thepart.BrickColor
  488. pr2.CanCollide = false
  489. pr2.Material = thepart.Material
  490. pr2.Transparency = thepart.Transparency
  491. pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
  492. pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  493. pr2.Parent = workspace
  494. pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
  495. pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
  496. game.Debris:AddItem(pr2, 45)
  497. delay(2, function()
  498. pr2.CanCollide = true
  499. wait(10)
  500. if pr2 then
  501. pr2.CanCollide = false
  502. end
  503. end)
  504. end
  505. end
  506. end
  507.  
  508. local acos = math.acos
  509. local sqrt = math.sqrt
  510. local Vec3 = Vector3.new
  511. local fromAxisAngle = CFrame.fromAxisAngle
  512.  
  513. function ApplyTrig(Num,Func)
  514. local Min,Max = Func(0),Func(1)
  515. local i = Func(Num)
  516. return (i-Min)/(Max-Min)
  517. end
  518.  
  519. function hito(partoz, magn, dmg, debtim)
  520. for _, guy in pairs(workspace:GetChildren()) do
  521. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  522. do
  523. local humz = guy:FindFirstChild("Humanoid")
  524. local hed = guy:FindFirstChild("Head")
  525. humz:TakeDamage(dmg)
  526. local db = Instance.new("StringValue")
  527. db.Name = "alabo"
  528. db.Parent = hed
  529. delay(debtim, function()
  530. db:Destroy()
  531. end)
  532. end
  533. end
  534. end
  535. end
  536.  
  537. local function toAxisAngle(CFr)
  538. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  539. local Angle = math.acos((R00+R11+R22-1)/2)
  540. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  541. A = A == 0 and 0.00001 or A
  542. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  543. B = B == 0 and 0.00001 or B
  544. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  545. C = C == 0 and 0.00001 or C
  546. local x = (R21-R12)/sqrt(A)
  547. local y = (R02-R20)/sqrt(B)
  548. local z = (R10-R01)/sqrt(C)
  549. return Vec3(x,y,z),Angle
  550. end
  551.  
  552. function so(id,par,vol,pit)
  553. local sou = Instance.new("Sound",par)
  554. sou.Volume=vol
  555. sou.Pitch=pit
  556. sou.SoundId=id
  557. sou:play()
  558. end
  559.  
  560. function LerpCFrame(CFrame1,CFrame2,Num)
  561. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  562. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  563. end
  564.  
  565. function Crater(Torso,Radius)
  566. spawn(function()
  567. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  568. local Ignore = {}
  569. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  570. if v.Character ~= nil then
  571. Ignore[#Ignore+1] = v.Character
  572. end
  573. end
  574. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  575. if Hit == nil then return end
  576. local Parts = {}
  577. for i = 1,360,10 do
  578. local P = Instance.new("Part",Torso.Parent)
  579. P.Anchored = true
  580. P.FormFactor = "Custom"
  581. P.BrickColor = Hit.BrickColor
  582. P.Material = Hit.Material
  583. P.TopSurface = "Smooth"
  584. P.BottomSurface = "Smooth"
  585. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  586. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  587. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  588. if math.random(0,5) == 0 then -- rubble
  589. local P = Instance.new("Part",Torso.Parent)
  590. P.Anchored = true
  591. P.FormFactor = "Custom"
  592. P.BrickColor = Hit.BrickColor
  593. P.Material = Hit.Material
  594. P.TopSurface = "Smooth"
  595. P.BottomSurface = "Smooth"
  596. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  597. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  598. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  599. end
  600. end
  601. for i = 0,1,0.05 do
  602. for i2,v in pairs(Parts) do
  603. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  604. end
  605. wait(0.02)
  606. end
  607. for i,v in pairs(Parts) do
  608. if v[1].Size.X > 2.1 then
  609. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  610. end
  611. v[1].Anchored = false
  612. end
  613. for i = 0,1,0.05 do
  614. for i2,v in pairs(Parts) do
  615. v[1].Transparency = i
  616. if i == 1 then
  617. v[1]:Destroy()
  618. elseif i >= 0.25 then
  619. v[1].CanCollide = false
  620. end
  621. end
  622. wait(0.02)
  623. end
  624. Parts = nil
  625. end)
  626. end
  627.  
  628. function KABOOMZ2()
  629. local effspwn = Instance.new("Part")
  630. coroutine.resume(coroutine.create(function()
  631. local sound1 = Instance.new("Sound")
  632. sound1.SoundId = "rbxassetid://138137702"
  633. sound1.MaxDistance = 300
  634. sound1.EmitterSize = 20
  635. sound1.Volume = 2.5
  636. sound1.Pitch = 0.65
  637. sound1.Parent = effspwn
  638. local sound2 = Instance.new("Sound")
  639. sound2.SoundId = "rbxassetid://157878578"
  640. sound2.MaxDistance = 300
  641. sound2.EmitterSize = 20
  642. sound2.Volume = 1
  643. sound2.Pitch = 0.7
  644. sound2.Parent = effspwn
  645. local sound3 = Instance.new("Sound")
  646. sound3.SoundId = "rbxassetid://138250406"
  647. sound2.MaxDistance = 400
  648. sound2.EmitterSize = 30
  649. sound2.Volume = 0.5
  650. sound2.Pitch = 0.5
  651. sound2.Parent = effspwn
  652. sound2:Play()
  653. wait()
  654. sound1:Play()
  655. sound3:Play()
  656. end))
  657. local model = Instance.new("Model")
  658. game.Debris:AddItem(model, 20)
  659. model.Name = "smasheffects"
  660. model.Parent = workspace
  661. effspwn.Name = "spwnr"
  662. effspwn.Size = Vector3.new(1, 1, 1)
  663. effspwn.Anchored = true
  664. effspwn.CanCollide = false
  665. effspwn.Transparency = 1
  666. effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  667. effspwn.Parent = model
  668. Crater(torso,60)
  669. Crater(torso,120)
  670. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  671. if v:FindFirstChild('Humanoid') then
  672. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  673. v.Humanoid.PlatformStand = true
  674. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
  675. end
  676. end
  677. coroutine.resume(coroutine.create(function()
  678. local shok = Instance.new("Part")
  679. shok.Name = "whoosh"
  680. shok.BrickColor = maincolor
  681. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  682. shok.Size = Vector3.new(1, 1, 1)
  683. shok.Anchored = true
  684. shok.Material = "Neon"
  685. shok.Transparency = 0.1
  686. shok.CanCollide = false
  687. shok.Parent = model
  688. game.Debris:AddItem(shok, 12)
  689. local mesh = Instance.new("SpecialMesh")
  690. mesh.MeshType = "FileMesh"
  691. mesh.MeshId = "rbxassetid://437347603"
  692. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  693. mesh.Parent = shok
  694. for e = 1, 8 do
  695. wait()
  696. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  697. shok.Transparency = shok.Transparency + 0.035
  698. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  699. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  700. hito(shok, 10, math.huge, 3)
  701. end
  702. for e = 1, 16 do
  703. wait()
  704. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  705. shok.Transparency = shok.Transparency + 0.11
  706. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  707. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  708. hito(shok, 10, math.huge, 3)
  709.  
  710. end
  711. end))
  712. coroutine.resume(coroutine.create(function()
  713. local shok = Instance.new("Part")
  714. shok.Name = "wring1"
  715. shok.BrickColor = maincolor
  716. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  717. shok.Size = Vector3.new(1, 1, 1)
  718. shok.Anchored = true
  719. shok.Material = "Neon"
  720. shok.Transparency = 0.25
  721. shok.CanCollide = false
  722. shok.Parent = model
  723. game.Debris:AddItem(shok, 12)
  724. local mesh = Instance.new("SpecialMesh")
  725. mesh.MeshType = "FileMesh"
  726. mesh.MeshId = "rbxassetid://3270017"
  727. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  728. mesh.Parent = shok
  729. for e = 1, 30 do
  730. wait()
  731. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  732. shok.Transparency = shok.Transparency + 0.002
  733. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  734. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  735. end
  736. for e = 1, 38 do
  737. wait()
  738. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  739. shok.Transparency = shok.Transparency + 0.002
  740. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  741. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  742. end
  743. for e = 1, 24 do
  744. wait()
  745. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  746. shok.Transparency = shok.Transparency + 0.03
  747. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  748. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  749. end
  750. end))
  751. coroutine.resume(coroutine.create(function()
  752. local shok = Instance.new("Part")
  753. shok.Name = "wring2"
  754. shok.BrickColor = maincolor
  755. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  756. shok.Size = Vector3.new(1, 1, 1)
  757. shok.Anchored = true
  758. shok.Material = "Neon"
  759. shok.Transparency = 0.25
  760. shok.CanCollide = false
  761. shok.Parent = model
  762. game.Debris:AddItem(shok, 12)
  763. local mesh = Instance.new("SpecialMesh")
  764. mesh.MeshType = "FileMesh"
  765. mesh.MeshId = "rbxassetid://3270017"
  766. mesh.Scale = Vector3.new(12, 12, 0.05)
  767. mesh.Parent = shok
  768. for e = 1, 30 do
  769. wait()
  770. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  771. shok.Transparency = shok.Transparency + 0.002
  772. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  773. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  774. end
  775. for e = 1, 38 do
  776. wait()
  777. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  778. shok.Transparency = shok.Transparency + 0.002
  779. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  780. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  781. end
  782. for e = 1, 24 do
  783. wait()
  784. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  785. shok.Transparency = shok.Transparency + 0.03
  786. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  787. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  788. end
  789. end))
  790. coroutine.resume(coroutine.create(function()
  791. local shok = Instance.new("Part")
  792. shok.Name = "coil1"
  793. shok.BrickColor = maincolor
  794. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  795. shok.Size = Vector3.new(1, 1, 1)
  796. shok.Anchored = true
  797. shok.Material = "Neon"
  798. shok.Transparency = 0.25
  799. shok.CanCollide = false
  800. shok.Parent = model
  801. game.Debris:AddItem(shok, 12)
  802. local mesh = Instance.new("SpecialMesh")
  803. mesh.MeshType = "FileMesh"
  804. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  805. mesh.Scale = Vector3.new(12, 12, 12)
  806. mesh.Parent = shok
  807. for e = 1, 15 do
  808. wait()
  809. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  810. shok.Transparency = shok.Transparency + 0.004
  811. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  812. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  813. end
  814. for e = 1, 16 do
  815. wait()
  816. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  817. shok.Transparency = shok.Transparency + 0.004
  818. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  819. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  820. end
  821. for e = 1, 12 do
  822. wait()
  823. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  824. shok.Transparency = shok.Transparency + 0.06
  825. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  826. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  827. end
  828. end))
  829. coroutine.resume(coroutine.create(function()
  830. local shok = Instance.new("Part")
  831. shok.Name = "coil2"
  832. shok.BrickColor = maincolor
  833. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  834. shok.Size = Vector3.new(1, 1, 1)
  835. shok.Anchored = true
  836. shok.Material = "Neon"
  837. shok.Transparency = 0.25
  838. shok.CanCollide = false
  839. shok.Parent = model
  840. game.Debris:AddItem(shok, 12)
  841. local mesh = Instance.new("SpecialMesh")
  842. mesh.MeshType = "FileMesh"
  843. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  844. mesh.Scale = Vector3.new(6, 12, 6)
  845. mesh.Parent = shok
  846. for e = 1, 15 do
  847. wait()
  848. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  849. shok.Transparency = shok.Transparency + 0.005
  850. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  851. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  852. end
  853. for e = 1, 16 do
  854. wait()
  855. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  856. shok.Transparency = shok.Transparency + 0.005
  857. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  858. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  859. end
  860. for e = 1, 12 do
  861. wait()
  862. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  863. shok.Transparency = shok.Transparency + 0.09
  864. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  865. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  866. end
  867. end))
  868. coroutine.resume(coroutine.create(function()
  869. local shok = Instance.new("Part")
  870. shok.Name = "shokwve"
  871. shok.BrickColor = maincolor
  872. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  873. shok.Size = Vector3.new(1, 1, 1)
  874. shok.Anchored = true
  875. shok.Material = "Neon"
  876. shok.Transparency = 0.6
  877. shok.CanCollide = false
  878. shok.Parent = model
  879. game.Debris:AddItem(shok, 12)
  880. local mesh = Instance.new("SpecialMesh")
  881. mesh.MeshType = "FileMesh"
  882. mesh.MeshId = "rbxassetid://489415447"
  883. mesh.Scale = Vector3.new(1, 1, 1)
  884. mesh.Parent = shok
  885. for e = 1, 12 do
  886. wait()
  887. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  888. shok.Transparency = shok.Transparency + 0.002
  889. end
  890. for e = 1, 32 do
  891. wait()
  892. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  893. shok.Transparency = shok.Transparency + 0.002
  894. end
  895. for e = 1, 24 do
  896. wait()
  897. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  898. shok.Transparency = shok.Transparency + 0.03
  899. end
  900. end))
  901. coroutine.resume(coroutine.create(function()
  902. local shok = Instance.new("Part")
  903. shok.Name = "shock2"
  904. shok.BrickColor = maincolor
  905. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  906. shok.Size = Vector3.new(1, 1, 1)
  907. shok.Anchored = true
  908. shok.Material = "Neon"
  909. shok.Transparency = 0.35
  910. shok.CanCollide = false
  911. shok.Parent = model
  912. game.Debris:AddItem(shok, 12)
  913. local mesh = Instance.new("SpecialMesh")
  914. mesh.MeshType = "FileMesh"
  915. mesh.MeshId = "rbxassetid://489415447"
  916. mesh.Scale = Vector3.new(12, 12, 12)
  917. mesh.Parent = shok
  918. for e = 1, 15 do
  919. wait()
  920. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  921. shok.Transparency = shok.Transparency + 0.004
  922. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  923. end
  924. for e = 1, 16 do
  925. wait()
  926. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  927. shok.Transparency = shok.Transparency + 0.004
  928. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  929. end
  930. for e = 1, 12 do
  931. wait()
  932. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  933. shok.Transparency = shok.Transparency + 0.06
  934. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  935. end
  936. end))
  937. coroutine.resume(coroutine.create(function()
  938. local shok = Instance.new("Part")
  939. shok.Name = "shock3"
  940. shok.BrickColor = maincolor
  941. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  942. shok.Size = Vector3.new(1, 1, 1)
  943. shok.Anchored = true
  944. shok.Material = "Neon"
  945. shok.Transparency = 0.35
  946. shok.CanCollide = false
  947. shok.Parent = model
  948. game.Debris:AddItem(shok, 12)
  949. local mesh = Instance.new("SpecialMesh")
  950. mesh.MeshType = "FileMesh"
  951. mesh.MeshId = "rbxassetid://489415447"
  952. mesh.Scale = Vector3.new(12, 12, 12)
  953. mesh.Parent = shok
  954. for e = 1, 15 do
  955. wait()
  956. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  957. shok.Transparency = shok.Transparency + 0.004
  958. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  959. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  960. end
  961. for e = 1, 16 do
  962. wait()
  963. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  964. shok.Transparency = shok.Transparency + 0.004
  965. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  966. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  967. end
  968. for e = 1, 12 do
  969. wait()
  970. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  971. shok.Transparency = shok.Transparency + 0.06
  972. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  973. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  974. end
  975. end))
  976. end
  977.  
  978. function FindNearestTorso(Position,Distance,SinglePlayer)
  979. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  980. local List = {}
  981. for i,v in pairs(workspace:GetChildren())do
  982. if v:IsA("Model")then
  983. if v:findFirstChild("Torso")then
  984. if v ~= char then
  985. if(v.Torso.Position -Position).magnitude <= Distance then
  986. table.insert(List,v)
  987. end
  988. end
  989. end
  990. end
  991. end
  992. return List
  993. end
  994.  
  995. function weld(a, b, acf)
  996. local w = Instance.new("Weld", a)
  997. w.Part0 = a
  998. w.Part1 = b
  999. w.C0 = acf
  1000. end
  1001.  
  1002. function FuryBlast()
  1003. local rs = game:GetService("RunService").RenderStepped
  1004. if attack == false then
  1005. attack = true
  1006. sp = Instance.new("Part",rarm)
  1007. sp.Anchored = true
  1008. sp.CanCollide = false
  1009. sp.Locked = true
  1010. sp.Transparency = 1
  1011. sp.Material = "Neon"
  1012. sp.Size = Vector3.new(1,1,1)
  1013. sp.TopSurface = "SmoothNoOutlines"
  1014. sp.BottomSurface = "SmoothNoOutlines"
  1015. sp.BrickColor = maincolor
  1016. spm = Instance.new("SpecialMesh",sp)
  1017. spm.MeshType = "Sphere"
  1018. spm.Scale = Vector3.new(21,21,21)
  1019. sp2 = Instance.new("Part", rarm)
  1020. sp2.Name = "Energy"
  1021. sp2.BrickColor = maincolor
  1022. sp2.Size = Vector3.new(1, 1, 1)
  1023. sp2.Shape = "Ball"
  1024. sp2.CanCollide = false
  1025. sp2.Anchored = true
  1026. sp2.Locked = true
  1027. sp2.TopSurface = 0
  1028. sp2.BottomSurface = 0
  1029. sp2.Transparency = 1
  1030. spm2 = Instance.new("SpecialMesh",sp2)
  1031. spm2.MeshId = "rbxassetid://9982590"
  1032. spm2.Scale = Vector3.new(2,2,2)
  1033. for i = 1, 20 do
  1034. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1035. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1036. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1037. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1038. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1039. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1040. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1041. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1042. game:GetService("RunService").Stepped:wait()
  1043. end
  1044. for i = 1, 100, 20 do game:GetService("RunService").Stepped:wait()
  1045. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1046. end
  1047. sp.Transparency = 0
  1048. sp2.Transparency = 0.84
  1049. for i = 1, 20 do
  1050. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1051. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1052. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1053. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1054. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1055. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1056. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1057. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1058. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1059. game:GetService("RunService").Stepped:wait()
  1060. end
  1061. for i = 1, 2880, 50 do
  1062. game:GetService("RunService").Stepped:wait()
  1063. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1064. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1065. game:GetService("RunService").Stepped:wait()
  1066. end
  1067. sp:Destroy()
  1068. sp2:Destroy()
  1069. local X = Instance.new("Part",char)
  1070. local O = Instance.new("ObjectValue",X)
  1071. O.Name = "creator"
  1072. X.Locked = true
  1073. X.Name = "Shell"
  1074. X.Anchored = false
  1075. X.CanCollide = false
  1076. X.Transparency = 0
  1077. X.Reflectance = 0
  1078. X.BottomSurface = 0
  1079. X.TopSurface = 0
  1080. X.Shape = 0
  1081. local V = Instance.new("ObjectValue",X)
  1082. V.Value = char
  1083. V.Name = "creator"
  1084. X.BrickColor = maincolor
  1085. X.Size = Vector3.new(2,2,2)
  1086. X.Material = "Neon"
  1087. local Z = Instance.new("SpecialMesh",X)
  1088. Z.MeshType = "Sphere"
  1089. Z.Scale = Vector3.new(0.5,0.5,1)
  1090. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1091. local bv = Instance.new("BodyVelocity",X)
  1092. bv.maxForce = Vector3.new(99999,99999,99999)
  1093. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1094. bv.velocity = X.CFrame.lookVector*65
  1095.  
  1096. Explode = X.Touched:connect(function(hit)
  1097. if hit ~= char and hit.Name ~= "Shell" then
  1098. local cf = X.CFrame
  1099. bv:Destroy()
  1100. X.Anchored = true
  1101. Z:Remove()
  1102. Explode:disconnect()
  1103. X.Size = Vector3.new(3,3,3)
  1104. X.Touched:connect(function(hit) end)
  1105. X.CanCollide = false
  1106. local part3 = Instance.new("Part", rarm)
  1107. part3.Anchored=true
  1108. part3.CanCollide=false
  1109. part3.Locked = true
  1110. part3.TopSurface = "SmoothNoOutlines"
  1111. part3.BottomSurface = "SmoothNoOutlines"
  1112. part3.FormFactor='Custom'
  1113. part3.Size=Vector3.new(1,1, 1)
  1114. part3.CFrame=X.CFrame
  1115. part3.Transparency=0
  1116. part3.BrickColor=maincolor
  1117. local mesh3 = Instance.new("SpecialMesh",part3)
  1118. mesh3.MeshType = "Sphere"
  1119. mesh3.Scale = Vector3.new(1,1,1)
  1120. --debris:AddItem(X,8)
  1121. local part4 = Instance.new("Part", rarm)
  1122. part4.Material = "Neon"
  1123. part4.Anchored=true
  1124. part4.CanCollide=false
  1125. part4.Locked = true
  1126. part4.TopSurface = "SmoothNoOutlines"
  1127. part4.BottomSurface = "SmoothNoOutlines"
  1128. part4.FormFactor='Custom'
  1129. part4.Size=Vector3.new(1,1, 1)
  1130. part4.CFrame=X.CFrame
  1131. part4.Transparency=0
  1132. part4.BrickColor=BrickColor.new("Really black")
  1133. local mesh4 = Instance.new("SpecialMesh",part4)
  1134. mesh4.MeshType = "Sphere"
  1135. mesh4.Scale = Vector3.new(.5,.5,.5)
  1136. local part7 = Instance.new("Part", rarm)
  1137. part7.Material = "Neon"
  1138. part7.Anchored=true
  1139. part7.CanCollide=false
  1140. part7.Locked = true
  1141. part7.TopSurface = "SmoothNoOutlines"
  1142. part7.BottomSurface = "SmoothNoOutlines"
  1143. part7.FormFactor='Custom'
  1144. part7.Size=Vector3.new(1,1, 1)
  1145. part7.CFrame=X.CFrame
  1146. part7.Transparency=0
  1147. part7.BrickColor=maincolor
  1148. local mesh7 = Instance.new("SpecialMesh",part7)
  1149. mesh7.MeshType = "Sphere"
  1150. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1151. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1152. if v:FindFirstChild('Humanoid') then
  1153. v.Humanoid:TakeDamage(math.random(math.huge,math.huge))
  1154. v.Humanoid.PlatformStand = true
  1155. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1156. end
  1157. end
  1158.  
  1159. local acos = math.acos
  1160. local sqrt = math.sqrt
  1161. local Vec3 = Vector3.new
  1162. local fromAxisAngle = CFrame.fromAxisAngle
  1163.  
  1164. local function toAxisAngle(CFr)
  1165. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1166. local Angle = math.acos((R00+R11+R22-1)/2)
  1167. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1168. A = A == 0 and 0.00001 or A
  1169. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1170. B = B == 0 and 0.00001 or B
  1171. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1172. C = C == 0 and 0.00001 or C
  1173. local x = (R21-R12)/sqrt(A)
  1174. local y = (R02-R20)/sqrt(B)
  1175. local z = (R10-R01)/sqrt(C)
  1176. return Vec3(x,y,z),Angle
  1177. end
  1178.  
  1179. function ApplyTrig(Num,Func)
  1180. local Min,Max = Func(0),Func(1)
  1181. local i = Func(Num)
  1182. return (i-Min)/(Max-Min)
  1183. end
  1184.  
  1185. function LerpCFrame(CFrame1,CFrame2,Num)
  1186. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1187. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1188. end
  1189. ROW = function(out, trans, s, wt, t, ang, plus)
  1190. for i = 1, 360, 360/t do
  1191. local c = Instance.new("Part", game.Workspace)
  1192. c.FormFactor = 3
  1193. c.TopSurface = 0
  1194. c.BottomSurface = 0
  1195. c.Size = s
  1196. c.Anchored = true
  1197. c.CanCollide = wt
  1198. c.Material=workspace.Base.Material
  1199. c.Transparency = trans
  1200. c.BrickColor = workspace.Base.BrickColor
  1201. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1202. c.Locked=true
  1203. game.Debris:AddItem(c,15)
  1204. end
  1205. end
  1206.  
  1207. Part = function(x,y,z,color,tr,cc,an,parent)
  1208. local p = Instance.new('Part',parent)
  1209. p.formFactor = 'Custom'
  1210. p.Size = Vector3.new(x,y,z)
  1211. p.BrickColor = BrickColor.new(color)
  1212. p.CanCollide = cc
  1213. p.Transparency = tr
  1214. p.Anchored = an
  1215. p.TopSurface,p.BottomSurface = 0,0
  1216. p.Locked=true
  1217. p:BreakJoints()
  1218. return p end
  1219.  
  1220. Mesh = function(par,num,x,y,z)
  1221. local msh = _
  1222. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1223. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1224. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1225. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1226. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1227. end msh.Scale = Vector3.new(x,y,z)
  1228. return msh end
  1229.  
  1230. function explosion(col1,col2,cfr,sz,rng,dmg)
  1231. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1232. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1233. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1234. v1,v2,v3=sz.x,sz.y,sz.z
  1235. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1236. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1237. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1238. a.CFrame=cfr
  1239. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1240. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1241.  
  1242. Spawn(function()
  1243. while wait() do
  1244. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1245. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1246. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1247. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1248. a.Transparency=a.Transparency+0.05
  1249. a2.Transparency=a2.Transparency+0.05
  1250. a3.Transparency=a3.Transparency+0.05
  1251. end
  1252. end)
  1253. end
  1254.  
  1255. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1256. z = Instance.new("Sound",X)
  1257. z.SoundId = SuperExplosion
  1258. z.Pitch = 1
  1259. z.Volume = 1999
  1260. wait(0.1)
  1261. z:Play()
  1262.  
  1263. local part=Instance.new('Part',rarm)
  1264. part.Anchored=true
  1265. part.CanCollide=false
  1266. part.Locked = true
  1267. part.FormFactor='Custom'
  1268. part.Size=Vector3.new(1,1,1)
  1269. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1270. part.Transparency=0
  1271. part.BrickColor=maincolor
  1272. local mesh=Instance.new('SpecialMesh',part)
  1273. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1274. mesh.Scale=Vector3.new(2,2,2)
  1275. local part2=part:clone()
  1276. part2.Parent = rarm
  1277. part2.BrickColor=maincolor
  1278. local part5=part:clone()
  1279. part5.Parent = rarm
  1280. part5.BrickColor=BrickColor.new("Really black")
  1281. local part6=part:clone()
  1282. part6.Parent = rarm
  1283. part6.BrickColor=BrickColor.new("Black")
  1284. local mesh2=mesh:clone()
  1285. mesh2.Parent=part2
  1286. mesh2.Scale=Vector3.new(3, 3, 3)
  1287. local mesh5=mesh:clone()
  1288. mesh5.Parent=part5
  1289. mesh5.Scale=Vector3.new(3, 3, 3)
  1290. local mesh6=mesh:clone()
  1291. mesh6.Parent=part6
  1292. mesh6.Scale=Vector3.new(3, 3, 3)
  1293. local blast = Instance.new("Part", rarm)
  1294. blast.BrickColor = maincolor
  1295. blast.Anchored = true
  1296. blast.CanCollide = false
  1297. blast.Locked = true
  1298. blast.Size = Vector3.new(1, 1, 1)
  1299. blast.TopSurface = "Smooth"
  1300. blast.BottomSurface = "Smooth"
  1301. blast.Transparency = 0
  1302. blast.CFrame = HandCF
  1303. local bm = Instance.new("SpecialMesh", blast)
  1304. bm.Scale = Vector3.new(5,1,5)
  1305. bm.MeshId = "rbxassetid://3270017"
  1306. local blast2 = Instance.new("Part", rarm)
  1307. blast2.BrickColor = maincolor
  1308. blast2.Anchored = true
  1309. blast2.CanCollide = false
  1310. blast2.Locked = true
  1311. blast2.Size = Vector3.new(1, 1, 1)
  1312. blast2.TopSurface = "Smooth"
  1313. blast2.BottomSurface = "Smooth"
  1314. blast2.Transparency = 0
  1315. blast2.CFrame = HandCF
  1316. local bm2 = Instance.new("SpecialMesh", blast2)
  1317. bm2.Scale = Vector3.new(3,1,3)
  1318. bm2.MeshId = "rbxassetid://3270017"
  1319. local blast3 = Instance.new("Part", rarm)
  1320. blast3.BrickColor = maincolor
  1321. blast3.Anchored = true
  1322. blast3.CanCollide = false
  1323. blast3.Locked = true
  1324. blast3.Size = Vector3.new(1, 1, 1)
  1325. blast3.TopSurface = "Smooth"
  1326. blast3.BottomSurface = "Smooth"
  1327. blast3.Transparency = 0
  1328. blast3.CFrame = HandCF
  1329. local bm3 = Instance.new("SpecialMesh", blast3)
  1330. bm3.Scale = Vector3.new(3,1,3)
  1331. bm3.MeshId = "rbxassetid://3270017"
  1332. for i = 1,120 do game:GetService("RunService").Stepped:wait()
  1333. X.Transparency = X.Transparency + (1/120)
  1334. part.Transparency = part.Transparency + (1/120)
  1335. part2.Transparency = part2.Transparency + (1/120)
  1336. part3.Transparency = part3.Transparency + (1/120)
  1337. part4.Transparency = part4.Transparency + (1/120)
  1338. part5.Transparency = part5.Transparency + (1/120)
  1339. part6.Transparency = part6.Transparency + (1/120)
  1340. part7.Transparency = part7.Transparency + (1/120)
  1341. blast.Transparency = blast.Transparency + (1/120)
  1342. blast2.Transparency = blast2.Transparency + (1/120)
  1343. blast3.Transparency = blast3.Transparency + (1/120)
  1344. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1345. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1346. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1347. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1348. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1349. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1350. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1351. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1352. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1353. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1354. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1355. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1356. X.CFrame = cf
  1357. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1358. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1359. part3.CFrame=X.CFrame
  1360. part4.CFrame=X.CFrame
  1361. part7.CFrame=X.CFrame
  1362. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1363. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1364. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1365. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1366. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1367. game:GetService("RunService").Stepped:wait()
  1368. end
  1369. X:Destroy()
  1370. part:Destroy()
  1371. part2:Destroy()
  1372. part3:Destroy()
  1373. part4:Destroy()
  1374. part5:Destroy()
  1375. part6:Destroy()
  1376. blast:Destroy()
  1377. blast2:Destroy()
  1378. blast3:Destroy()
  1379. z:Destroy()
  1380. end
  1381. end)
  1382. for i = 1, 20 do
  1383. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1384. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1385. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1386. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1387. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1388. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1389. game:GetService("RunService").Stepped:wait()
  1390. end
  1391. attack = false
  1392. end
  1393. end
  1394.  
  1395. function GroundSmash()
  1396. attack = true
  1397. hum.WalkSpeed = 0
  1398. for i = 1, 20 do
  1399. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  1400. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  1401. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  1402. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  1403. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  1404. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  1405. wait()
  1406. end
  1407. wait(1)
  1408. hum.WalkSpeed = 150
  1409. local BV = Instance.new("BodyVelocity", torso)
  1410. BV.maxForce = Vector3.new(500000, 500000000, 500000)
  1411. BV.P = 10000000000000
  1412. BV.velocity = Vector3.new(0,300,0)
  1413. for i = 1, 20 do
  1414. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  1415. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  1416. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  1417. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  1418. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  1419. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  1420. wait()
  1421. end
  1422. torso.BodyVelocity:Destroy()
  1423. for i = 1, 30 do
  1424. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  1425. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  1426. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1427. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1428. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  1429. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  1430. wait()
  1431. end
  1432. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  1433. for i = 1, 20 do
  1434. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3)
  1435. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3)
  1436. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1437. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  1438. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  1439. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3)
  1440. wait()
  1441. end
  1442. end
  1443. local ry,ht,ps=nil,nil,nil
  1444. while ht==nil do
  1445. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  1446. wait()
  1447. end
  1448. local par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  1449. if par then
  1450. local cfremz = CFrame.new(loc)
  1451. so("rbxassetid://133680244",torso,10,1)
  1452. local effspwn = Instance.new("Part")
  1453. local model = Instance.new("Model")
  1454. game.Debris:AddItem(model, 20)
  1455. model.Name = "smasheffects"
  1456. model.Parent = workspace
  1457. effspwn.Name = "spwnr"
  1458. effspwn.Size = Vector3.new(1, 1, 1)
  1459. effspwn.Anchored = true
  1460. effspwn.CanCollide = false
  1461. effspwn.Transparency = 1
  1462. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  1463. effspwn.Parent = model
  1464. KABOOMZ2()
  1465. MegaCrater(cfremz, par, 50)
  1466. end
  1467. hum.WalkSpeed = 8
  1468. for i = 1, 25 do
  1469. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
  1470. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
  1471. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
  1472. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
  1473. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
  1474. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  1475. wait()
  1476. end
  1477. wait(0.2)
  1478. attack = false
  1479. end
  1480.  
  1481. --// Attacks \\--
  1482. mouse.KeyDown:connect(function(key)
  1483. if attack == false then
  1484. if key == "q" then
  1485.  
  1486. end
  1487.  
  1488. if key == "e" then
  1489. GroundSmash()
  1490. end
  1491.  
  1492. if key == "t" then
  1493. AuraBall()
  1494. end
  1495.  
  1496. if key == "g" then
  1497. game.Chat:Chat(char.Head,"ATTACK THE ENEMY!!!", "Red")
  1498. FuryBlast()
  1499. end
  1500.  
  1501. if key == "z" then
  1502. if running == false then
  1503. running = true
  1504. hum.WalkSpeed = 48
  1505. elseif running == true then
  1506. running = false
  1507. hum.WalkSpeed = 7
  1508. end
  1509. end
  1510.  
  1511. if key == "m" then
  1512. ChangeThemes()
  1513. end
  1514. end
  1515. end)
  1516. game:GetService("RunService").RenderStepped:connect(function()
  1517. char.Humanoid.FreeFalling:connect(function(f)
  1518. if f then
  1519. ffing = true
  1520. else
  1521. ffing = false
  1522. end
  1523. end)
  1524. sine = sine + add
  1525. if ffing==true then
  1526. anim="jump"
  1527. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1528. anim="idle"
  1529. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1530. anim = "walk"
  1531. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1532. anim = "run"
  1533. end
  1534. if attack==false then
  1535. if anim=="idle" then
  1536. add=0.5
  1537. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  1538. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  1539. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  1540. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
  1541. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
  1542. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  1543. elseif anim=="walk" then
  1544. add=0.5
  1545. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
  1546. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
  1547. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
  1548. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  1549. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  1550. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
  1551. elseif anim=="run" then
  1552. add=0.5
  1553. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
  1554. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  1555. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  1556. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
  1557. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
  1558. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
  1559. elseif anim=="jump" then
  1560. add=0.5
  1561. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
  1562. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
  1563. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
  1564. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
  1565. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
  1566. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
  1567. end
  1568. end
  1569. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement