Advertisement
Guest User

Untitled

a guest
Jun 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. hrp = plr.Character.HumanoidRootPart
  4. mode = false
  5. tors = char.Torso
  6. m = plr:GetMouse()
  7. cowl = false
  8. hum = char.Humanoid
  9. tors = char.Torso
  10. rarm = char["Right Arm"]
  11. larm = char["Left Arm"]
  12. rleg = char["Right Leg"]
  13. lleg = char["Left Leg"]
  14. cf = CFrame.new
  15. char.Shirt.Catalog = "https://www.roblox.com/catalog/1154164250/UA-Training-Uniform-Shirt"
  16. char.Pants.Catalog = "https://www.roblox.com/catalog/1154184732/UA-Training-Uniform-Pants"
  17. function nooutline(p)
  18. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  19. end
  20. function makepart(color, name, reflec, mater, parnt, cfram)
  21. local port = Instance.new("Part")
  22. port.BrickColor = BrickColor.new(color)
  23. port.Name = name
  24. nooutline(port)
  25. port.Reflectance = reflec
  26. port.Material = mater
  27. port.Anchored = false
  28. port.CanCollide = false
  29. port.Locked = true
  30. port.Size = Vector3.new(0.2, 0.2, 0.2)
  31. port.Parent = parent
  32. return port
  33. end
  34. function makemesh(meshtype, scale, meshid, parent)
  35. local mes = Instance.new("SpecialMesh")
  36. mes.MeshType = meshtype
  37. mes.Scale = scale
  38. if meshtype == "FileMesh" then
  39. mes.MeshId = meshid
  40. end
  41. mes.Parent = parent
  42. return mes
  43. end
  44. function makeweld(parent, p0, p1, c0, c1)
  45. local wel = Instance.new("Weld")
  46. wel.Part0 = p0
  47. wel.Part1 = p1
  48. wel.C0 = c0
  49. if c1 ~= nil then
  50. wel.C1 = c1
  51. end
  52. wel.Parent = parent
  53. return wel
  54. end
  55. function smokz(prnt)
  56. local s = Instance.new("Smoke")
  57. s.Color = Color3.new(1, 1, 1)
  58. s.Enabled = false
  59. s.Name = "smok"
  60. s.Opacity = 0.5
  61. s.RiseVelocity = 0.2
  62. s.Size = 0.1
  63. s.Parent = prnt
  64. end
  65. function glow(tz, paz, smokinz, length)
  66. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  67. do
  68. local s = Instance.new("Sound")
  69. s.SoundId = ""
  70. s.Volume = 0.25
  71. s.Pitch = math.random(9, 11) / 10
  72. s.Parent = paz
  73. paz.Transparency = 0.7
  74. if smokinz == true then
  75. paz.smok.Enabled = true
  76. end
  77. delay(length, function()
  78. paz.Transparency = 1
  79. paz.smok.Enabled = false
  80. s:Destroy()
  81. end)
  82. end
  83. end
  84. end
  85. function makeglow()
  86. for _, p in pairs(char:GetChildren()) do
  87. if p.ClassName == "Accessory" then
  88. do
  89. local h = p:FindFirstChildOfClass("Part")
  90. local nh = h:Clone()
  91. nh.Parent = nil
  92. nh.CFrame = h.CFrame
  93. nh.Transparency = 1
  94. nh.Name = "Glow"
  95. nh.Material = "Neon"
  96. nh.BrickColor = BrickColor.new("New Yeller")
  97. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  98. nh.Parent = h
  99. makeweld(nh, nh, h, cf(0, 0, 0))
  100. local m = nh:FindFirstChildOfClass("SpecialMesh")
  101. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  102. m.TextureId = ""
  103. smokz(nh)
  104. nh.Touched:connect(function(po)
  105. glow(po, nh, true, 0.8)
  106. end)
  107. end
  108. elseif p.ClassName == "Part" and p ~= hrp then
  109. do
  110. local n = p:Clone()
  111. n.Parent = nil
  112. n.Transparency = 1
  113. n.Material = "Neon"
  114. n.Name = "Glow"
  115. n.BrickColor = BrickColor.new("Lime green")
  116. n.CFrame = p.CFrame
  117. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  118. n.Parent = p
  119. makeweld(n, n, p, cf(0, 0, 0))
  120. smokz(n)
  121. n.Touched:connect(function(po)
  122. glow(po, n, true, 0.8)
  123. end)
  124. if n:FindFirstChildOfClass("Decal") then
  125. n:FindFirstChildOfClass("Decal"):Destroy()
  126. end
  127. if p:FindFirstChildOfClass("SpecialMesh") then
  128. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  129. c.Parent = nil
  130. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  131. c.Parent = n
  132. else
  133. local m = Instance.new("BlockMesh")
  134. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  135. if p == tors then
  136. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  137. end
  138. m.Parent = n
  139. end
  140. end
  141. end
  142. end
  143. end
  144. function fglow(glopart, duration)
  145. for _ = 1, 4 do
  146. swait()
  147. glopart.Transparency = glopart.Transparency - 0.075
  148. end
  149. delay(duration, function()
  150. for _ = 1, 4 do
  151. swait()
  152. glopart.Transparency = glopart.Transparency + 0.075
  153. end
  154. end)
  155. end
  156. function lerpz(joint, prop, cfrmz, alp)
  157. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  158. end
  159. char.Head.face.Texture = "http://www.roblox.com/asset/?id=988802990"
  160.  
  161. function sp()
  162. local S = Instance.new("Sound",game.Soundscape)
  163. S.SoundId = "rbxassetid://532798812"
  164. S.Volume = 0.6
  165. S.Looped = true
  166. S:Play()
  167.  
  168. end
  169.  
  170. sp()
  171.  
  172. local acos = math.acos
  173. local sqrt = math.sqrt
  174. local Vec3 = Vector3.new
  175. local fromAxisAngle = CFrame.fromAxisAngle
  176.  
  177. local function toAxisAngle(CFr)
  178. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  179. local Angle = math.acos((R00+R11+R22-1)/2)
  180. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  181. A = A == 0 and 0.00001 or A
  182. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  183. B = B == 0 and 0.00001 or B
  184. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  185. C = C == 0 and 0.00001 or C
  186. local x = (R21-R12)/sqrt(A)
  187. local y = (R02-R20)/sqrt(B)
  188. local z = (R10-R01)/sqrt(C)
  189. return Vec3(x,y,z),Angle
  190. end
  191.  
  192.  
  193. function ApplyTrig(Num,Func)
  194. local Min,Max = Func(0),Func(1)
  195. local i = Func(Num)
  196. return (i-Min)/(Max-Min)
  197. --[[if Func == "sin" then
  198. return (math.sin((1-Num)*math.pi)+1)/2
  199. elseif Func == "cos" then
  200. return (math.cos((1-Num)*math.pi)+1)/2
  201. end]]
  202. end
  203.  
  204. function LerpCFrame(CFrame1,CFrame2,Num)
  205. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  206. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  207. end
  208.  
  209. function Crater(Torso,Radius)
  210. spawn(function()
  211. local Ray = Ray.new(char.Torso.Position,Vector3.new(0,-1,0)*10)
  212. local Ignore = {}
  213. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  214. if v.Character ~= nil then
  215. Ignore[#Ignore+1] = v.Character
  216. end
  217. end
  218. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  219. if Hit == nil then return end
  220. local Parts = {}
  221. for i = 1,360,10 do
  222. local P = Instance.new("Part",char.Torso.Parent)
  223. P.Anchored = true
  224. P.FormFactor = "Custom"
  225. P.BrickColor = Hit.BrickColor
  226. P.Material = Hit.Material
  227. P.TopSurface = "Smooth"
  228. P.BottomSurface = "Smooth"
  229. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  230. 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)))
  231. 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,-45)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  232. if math.random(0,5) == 0 then -- rubble
  233. local P = Instance.new("Part",char.Torso.Parent)
  234. P.Anchored = true
  235. P.CanCollide = false
  236. P.FormFactor = "Custom"
  237. P.BrickColor = Hit.BrickColor
  238. P.Material = Hit.Material
  239. P.TopSurface = "Smooth"
  240. P.BottomSurface = "Smooth"
  241. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  242. 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)))
  243. P.CanCollide = true
  244. 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,-50)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  245. end
  246. end
  247. for i = 0,1,0.05 do
  248. for i2,v in pairs(Parts) do
  249. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  250. end
  251. wait(0.02)
  252. end
  253. for i,v in pairs(Parts) do
  254. if v[1].Size.X > 2.1 then
  255. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  256. end
  257. v[1].Anchored = false
  258. end
  259. for i = 0,1,0.05 do
  260. for i2,v in pairs(Parts) do
  261. v[1].Transparency = i
  262. if i == 1 then
  263. v[1]:Destroy()
  264. elseif i >= 0.25 then
  265. v[1].CanCollide = false
  266. end
  267. end
  268. wait(0.02)
  269. end
  270. Parts = nil
  271. end)
  272. end
  273.  
  274. Player = game.Players.LocalPlayer
  275. Object = Player.Character.HumanoidRootPart
  276. Arm1 = Player.Character["Right Arm"]
  277. PreviousA1 = Arm1.CFrame.p
  278. Arm2 = Player.Character["Left Arm"]
  279. PreviousA2 = Arm2.CFrame.p
  280.  
  281. Leg1 = Player.Character["Torso"]
  282. PreviousL1 = Leg1.CFrame.p
  283. Leg2 = Player.Character["Torso"]
  284. PreviousL2 = Leg2.CFrame.p
  285.  
  286.  
  287. Run = game["Run Service"]
  288.  
  289.  
  290.  
  291. Debounce = false
  292.  
  293. LOADED = 1
  294.  
  295.  
  296. plr = game.Players.LocalPlayer
  297. rootpart = plr.Character.HumanoidRootPart
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310. PreviousP = Object.CFrame.p
  311. Running = false
  312. Phase = false
  313. PhaseActive = false
  314. Morph = false
  315. MorphActive = false
  316. Tornado = false
  317. TornadoRadius = 50
  318. TornadoActive = false
  319. Portal = false
  320. PortalEnd = false
  321. MaxZ = 15
  322. MinZ = -15
  323. LightMaxX = 3
  324. LightMinX = 1
  325. LightMaxX2 = -1
  326. LightMinX2 = -3
  327. LightMaxY = 3
  328. LightMinY = -1
  329. Rotation = 0
  330. Length = 10
  331. Color = BrickColor.Blue()
  332. PColor = Color3.new(0,0,255)
  333. PrevPoint1 = nil
  334. PrevPoint2 = nil
  335. PrevPoint3 = nil
  336. PrevPoint4 = nil
  337. PrevPoint5 = nil
  338. PrevPoint6 = nil
  339. PrevPoint7 = nil
  340. PrevPoint8 = nil
  341. PrevPoint9 = nil
  342. PrevPoint10 = nil
  343. PrevPoint11 = nil
  344. PrevPoint12 = nil
  345. angle = 0
  346. Mouse = Player:GetMouse()
  347.  
  348. Nil = function()
  349. PrevPoint1 = "Empty"
  350. PrevPoint2 = "Empty"
  351. PrevPoint3 = "Empty"
  352. PrevPoint4 = "Empty"
  353. PrevPoint5 = "Empty"
  354. PrevPoint6 = "Empty"
  355. PrevPoint7 = "Empty"
  356. PrevPoint8 = "Empty"
  357. PrevPoint9 = "Empty"
  358. PrevPoint10 = "Empty"
  359. PrevPoint11 = "Empty"
  360. PrevPoint12 = "Empty"
  361. end
  362.  
  363. local Lightning = (function()
  364. if Portal == false then
  365. makeglow()
  366. coroutine.resume(coroutine.create(function()
  367. fglow(lleg.Glow, 19)
  368. fglow(rleg.Glow, 19)
  369. fglow(rarm.Glow, 19)
  370. fglow(larm.Glow, 19)
  371. fglow(char.Head.Glow, 19)
  372. fglow(tors.Glow, 19)
  373. end))
  374. local s = Instance.new("Sound",game.Soundscape)
  375. s.SoundId = "rbxassetid://1071361821"
  376. s.Volume = 0.25
  377. s.Pitch = 0.5
  378. s.Looped = true
  379. s:Play()
  380. local s2 = Instance.new("Sound",game.Soundscape)
  381. s2.SoundId = "rbxassetid://610327604"
  382. s2.Volume = 0.35
  383. s2.Pitch = 3
  384. s2:Play()
  385. while cowl == true do
  386. wait()
  387. hum.WalkSpeed = 50
  388. hum.JumpPower = 95
  389.  
  390. angle = angle + 0.6
  391. local Model = Instance.new("Model",workspace)
  392. Model.Name = "Lightning"
  393. local Point1 = Instance.new("Part",Model)
  394. Point1.Transparency = 1
  395. Point1.Size = Vector3.new(0.2,0.2,0.2)
  396. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  397. Point1.Anchored = true
  398. Point1.CanCollide = false
  399. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  400.  
  401. local Point2 = Instance.new("Part",Model)
  402. Point2.Transparency = 1
  403. Point2.Size = Vector3.new(0.2,0.2,0.2)
  404. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  405. Point2.Anchored = true
  406. Point2.CanCollide = false
  407. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  408.  
  409. local Point3 = Instance.new("Part",Model)
  410. Point3.Transparency = 1
  411. Point3.Size = Vector3.new(0.2,0.2,0.2)
  412. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  413. Point3.Anchored = true
  414. Point3.CanCollide = false
  415. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  416.  
  417. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  418. local Light = Instance.new("Part",Model)
  419. local PointLight = Instance.new("PointLight",Light)
  420. PointLight.Range = 5
  421. PointLight.Color = PColor
  422. Light.Transparency = 0
  423. Light.BrickColor = Color
  424. Light.Material = "Neon"
  425. Light.Size = Vector3.new(0.0001,0.0001,distance)
  426. Light.Anchored = true
  427. Light.CanCollide = false
  428. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  429.  
  430.  
  431. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  432. local Light = Instance.new("Part",Model)
  433. local PointLight = Instance.new("PointLight",Light)
  434. PointLight.Range = 5
  435. PointLight.Color = PColor
  436. Light.Transparency = 0
  437. Light.BrickColor = Color
  438. Light.Material = "Neon"
  439. Light.Size = Vector3.new(0.0001,0.0001,distance2)
  440. Light.Anchored = true
  441. Light.CanCollide = false
  442. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  443.  
  444.  
  445. local Point1 = Instance.new("Part",Model)
  446. Point1.Transparency = 1
  447. Point1.Size = Vector3.new(0.2,0.2,0.2)
  448. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  449. Point1.Anchored = true
  450. Point1.CanCollide = false
  451. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  452.  
  453. local Point2 = Instance.new("Part",Model)
  454. Point2.Transparency = 1
  455. Point2.Size = Vector3.new(0.2,0.2,0.2)
  456. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  457. Point2.Anchored = true
  458. Point2.CanCollide = false
  459. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  460.  
  461. local Point3 = Instance.new("Part",Model)
  462. Point3.Transparency = 1
  463. Point3.Size = Vector3.new(0.2,0.2,0.2)
  464. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  465. Point3.Anchored = true
  466. Point3.CanCollide = false
  467. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  468.  
  469. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  470. local Light = Instance.new("Part",Model)
  471. local PointLight = Instance.new("PointLight",Light)
  472. PointLight.Range = 5
  473. PointLight.Color = PColor
  474. Light.Transparency = 0
  475. Light.BrickColor = Color
  476. Light.Material = "Neon"
  477. Light.Size = Vector3.new(0.0001,0.0001,distance)
  478. Light.Anchored = true
  479. Light.CanCollide = false
  480. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  481.  
  482.  
  483. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  484. local Light = Instance.new("Part",Model)
  485. local PointLight = Instance.new("PointLight",Light)
  486. PointLight.Range = 5
  487. PointLight.Color = PColor
  488. Light.Transparency = 0
  489. Light.BrickColor = Color
  490. Light.Material = "Neon"
  491. Light.Size = Vector3.new(0.0001,0.0001,distance2)
  492. Light.Anchored = true
  493. Light.CanCollide = false
  494. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  495.  
  496.  
  497. local Point1 = Instance.new("Part",Model)
  498. Point1.Transparency = 1
  499. Point1.Size = Vector3.new(0.2,0.2,0.2)
  500. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  501. Point1.Anchored = true
  502. Point1.CanCollide = false
  503. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  504.  
  505. local Point2 = Instance.new("Part",Model)
  506. Point2.Transparency = 1
  507. Point2.Size = Vector3.new(0.2,0.2,0.2)
  508. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  509. Point2.Anchored = true
  510. Point2.CanCollide = false
  511. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  512.  
  513. local Point3 = Instance.new("Part",Model)
  514. Point3.Transparency = 1
  515. Point3.Size = Vector3.new(0.2,0.2,0.2)
  516. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  517. Point3.Anchored = true
  518. Point3.CanCollide = false
  519. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  520.  
  521. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  522. local Light = Instance.new("Part",Model)
  523. local PointLight = Instance.new("PointLight",Light)
  524. PointLight.Range = 5
  525. PointLight.Color = PColor
  526. Light.Transparency = 0
  527. Light.BrickColor = Color
  528. Light.Material = "Neon"
  529. Light.Size = Vector3.new(0.0001,0.0001,distance)
  530. Light.Anchored = true
  531. Light.CanCollide = false
  532. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  533.  
  534.  
  535. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  536. local Light = Instance.new("Part",Model)
  537. local PointLight = Instance.new("PointLight",Light)
  538. PointLight.Range = 5
  539. PointLight.Color = PColor
  540. Light.Transparency = 0
  541. Light.BrickColor = Color
  542. Light.Material = "Neon"
  543. Light.Size = Vector3.new(0.0001,0.0001,distance2)
  544. Light.Anchored = true
  545. Light.CanCollide = false
  546. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  547.  
  548.  
  549. local Point1 = Instance.new("Part",Model)
  550. Point1.Transparency = 1
  551. Point1.Size = Vector3.new(0.2,0.2,0.2)
  552. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  553. Point1.Anchored = true
  554. Point1.CanCollide = false
  555. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  556.  
  557. local Point2 = Instance.new("Part",Model)
  558. Point2.Transparency = 1
  559. Point2.Size = Vector3.new(0.2,0.2,0.2)
  560. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  561. Point2.Anchored = true
  562. Point2.CanCollide = false
  563. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  564.  
  565. local Point3 = Instance.new("Part",Model)
  566. Point3.Transparency = 1
  567. Point3.Size = Vector3.new(0.2,0.2,0.2)
  568. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  569. Point3.Anchored = true
  570. Point3.CanCollide = false
  571. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  572.  
  573. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  574. local Light = Instance.new("Part",Model)
  575. local PointLight = Instance.new("PointLight",Light)
  576. PointLight.Range = 5
  577. PointLight.Color = PColor
  578. Light.Transparency = 0
  579. Light.BrickColor = Color
  580. Light.Material = "Neon"
  581. Light.Size = Vector3.new(0.0001,0.0001,distance)
  582. Light.Anchored = true
  583. Light.CanCollide = false
  584. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  585.  
  586.  
  587. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  588. local Light = Instance.new("Part",Model)
  589. local PointLight = Instance.new("PointLight",Light)
  590. PointLight.Range = 5
  591. PointLight.Color = PColor
  592. Light.Transparency = 0
  593. Light.BrickColor = Color
  594. Light.Material = "Neon"
  595. Light.Size = Vector3.new(0.0001,0.0001,distance2)
  596. Light.Anchored = true
  597. Light.CanCollide = false
  598. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  599.  
  600.  
  601. local Children = Model:GetChildren()
  602. wait(0.1)
  603. for i = 1,#Children do
  604. if Children[i]:IsA("Part") then
  605. Children[i].Transparency = 1
  606. end
  607. game.Debris:AddItem(Children[i],0)
  608. end
  609. end
  610. s:remove()
  611. s2:remove()
  612. hum.WalkSpeed = 16
  613. hum.JumpPower = 50
  614. for i = 0.2,1,0.03 do
  615. wait()
  616. lleg.Glow.Transparency = lleg.Glow.Transparency + 0.005
  617. rleg.Glow.Transparency = rleg.Glow.Transparency + 0.005
  618. larm.Glow.Transparency = larm.Glow.Transparency + 0.005
  619. rarm.Glow.Transparency = rarm.Glow.Transparency + 0.005
  620. tors.Glow.Transparency = tors.Glow.Transparency + 0.005
  621. char.Head.Glow.Transparency = char.Head.Glow.Transparency + 0.05
  622. end
  623. lleg.Glow:remove()
  624. larm.Glow:remove()
  625. rarm.Glow:remove()
  626. rleg.Glow:remove()
  627. tors.Glow:remove()
  628. char.Head.Glow:remove()
  629. end
  630. end)
  631.  
  632.  
  633.  
  634. function FindNearestTorso(Position,Distance,SinglePlayer)
  635. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  636. local List = {}
  637. for i,v in pairs(workspace:GetChildren())do
  638. if v:IsA("Model")then
  639. if v:findFirstChild("Torso")then
  640. if v ~= char then
  641. if(v.char.Torso.Position -Position).magnitude <= Distance then
  642. table.insert(List,v)
  643. end
  644. end
  645. end
  646. end
  647. end
  648. return List
  649. end
  650.  
  651.  
  652.  
  653.  
  654. function hito(partoz, magn, dmg, debtim)
  655. for _, guy in pairs(workspace:GetChildren()) do
  656. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= plr.Character and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  657. do
  658. local humz = guy:FindFirstChild("Humanoid")
  659. local hed = guy:FindFirstChild("Head")
  660. humz:TakeDamage(dmg)
  661. local db = Instance.new("StringValue")
  662. db.Name = "alabo"
  663. db.Parent = hed
  664. delay(debtim, function()
  665. db:Destroy()
  666. end)
  667. end
  668. end
  669. end
  670. end
  671.  
  672.  
  673. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  674. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  675. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  676. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  677. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  678. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  679. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  680. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  681. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  682. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  683. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  684. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  685. RS = tors:FindFirstChild("Right Shoulder")
  686. LS = tors:FindFirstChild("Left Shoulder")
  687. RH = tors:FindFirstChild("Right Hip")
  688. LH = tors:FindFirstChild("Left Hip")
  689. RJ = hrp:FindFirstChild("RootJoint")
  690. N = tors:FindFirstChild("Neck")
  691. cf = CFrame.new
  692. ang = CFrame.Angles
  693. rd = math.rad
  694. rd2 = math.random
  695. LOADED = 1
  696.  
  697. Heartbeat = Instance.new("BindableEvent")
  698. Heartbeat.Name = "Heartbeat"
  699. Heartbeat.Parent = script
  700. frame = 0.03333333333333333
  701. tf = 0
  702. game:GetService("RunService").Heartbeat:connect(function(s, p)
  703. tf = tf + s
  704. if tf >= frame then
  705. for i = 1, math.floor(tf / frame) do
  706. Heartbeat:Fire()
  707. end
  708. tf = tf - frame * math.floor(tf / frame)
  709. end
  710. end)
  711. function swait(num)
  712. if num == 0 or num == nil then
  713. Heartbeat.Event:wait()
  714. else
  715. for i = 1, num do
  716. Heartbeat.Event:wait()
  717. end
  718. end
  719. end
  720.  
  721. function makeweld(parent, p0, p1, c0, c1)
  722. local wel = Instance.new("Weld")
  723. wel.Part0 = p0
  724. wel.Part1 = p1
  725. wel.C0 = c0
  726. if c1 ~= nil then
  727. wel.C1 = c1
  728. end
  729. wel.Parent = parent
  730. return wel
  731. end
  732.  
  733.  
  734.  
  735. function smash()
  736. hum.WalkSpeed = 2
  737. hum.JumpPower = 1
  738. local S = Instance.new("Sound",game.Soundscape)
  739. S.SoundId = "rbxassetid://938838122"
  740. S.Volume = 1.5
  741. local S4 = Instance.new("Sound",game.Soundscape)
  742. S4.SoundId = "rbxassetid://991726501"
  743. S4.Volume = 1.5
  744. local S3 = Instance.new("Sound",game.Soundscape)
  745. S3.SoundId = "rbxassetid://610327604"
  746. S3.Volume = 0.3
  747. S3.PlaybackSpeed = 0.85
  748. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Arm"))
  749. pe.Texture = "rbxassetid://272050333"
  750. pe.Size = NumberSequence.new(1)
  751. pe.LightEmission = 1
  752. pe.LightInfluence = 1
  753. pe.Rate = 1000000.000
  754. pe.Rotation = NumberRange.new(0, 360)
  755. pe.Speed = NumberRange.new(10)
  756. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  757. pe.Lifetime = NumberRange.new(0.06)
  758. pe.LockedToPart = true
  759. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Arm"))
  760. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  761. pe2.Size = NumberSequence.new(3)
  762. pe2.LightEmission = 1
  763. pe2.LightInfluence = 1
  764. pe2.Rate = 1000
  765. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  766. pe2.Rotation = NumberRange.new(0, 360)
  767. pe2.RotSpeed = NumberRange.new(2)
  768. pe2.Speed = NumberRange.new(15)
  769. pe2.SpreadAngle = Vector2.new(360,306)
  770. pe2.Lifetime = NumberRange.new(0.06)
  771. pe2.ZOffset = 1
  772. pe2.LockedToPart = true
  773. pe2.Name = "ParticleEmitter2"
  774.  
  775. S:Play()
  776. for _ = 1, 45 do
  777. swait()
  778. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  779. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  780. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  781. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  782. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  783. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  784. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  785. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  786. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  787. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  788. end
  789. for _ = 1, 30 do
  790. swait()
  791. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  792. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  793. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2)
  794. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  795. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  796. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  797. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  798. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  799.  
  800. end
  801. for l = 1, 3 do
  802. swait()
  803. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  804. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  805. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  806. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  807. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  808. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  809. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  810. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  811. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  812. end
  813. local woosh = Instance.new("Part",workspace)
  814. woosh.Size = Vector3.new(12, 12, 20)
  815. woosh.BrickColor = BrickColor.new("Institutional white")
  816. local me = Instance.new("FileMesh",woosh)
  817. me.MeshId = "rbxassetid://437347603"
  818. me.Scale = Vector3.new(1.3, 1.3, 1)
  819. woosh.CanCollide = false
  820. woosh.Anchored = false
  821. woosh.CFrame = woosh.CFrame:lerp(woosh.CFrame * CFrame.new(0, 0, -22), 0.4)
  822. woosh.CFrame = woosh.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  823. woosh.CFrame = char:FindFirstChild("Right Arm").CFrame
  824. woosh.CFrame = woosh.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  825. local woosh2 = Instance.new("Part",workspace)
  826. woosh2.Size = Vector3.new(12, 12, 20)
  827. woosh2.BrickColor = BrickColor.new("Institutional white")
  828. local me2 = Instance.new("FileMesh",woosh2)
  829. me2.MeshId = "rbxassetid://3270017"
  830. me2.Scale = Vector3.new(1.3, 1.3, 0.4)
  831. woosh2.CanCollide = false
  832. woosh2.Anchored = true
  833. woosh2.CFrame = woosh2.CFrame:lerp(woosh2.CFrame * CFrame.new(0, 0, -22), 0.4)
  834. woosh2.CFrame = woosh2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  835. woosh2.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-3,0)
  836. woosh2.CFrame = woosh2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  837. local woosh3 = Instance.new("Part",workspace)
  838. woosh3.Size = Vector3.new(12, 12, 20)
  839. woosh3.BrickColor = BrickColor.new("Institutional white")
  840. local me3 = Instance.new("FileMesh",woosh3)
  841. me3.MeshId = "rbxassetid://3270017"
  842. me3.Scale = Vector3.new(1, 1, 0.4)
  843. woosh3.CanCollide = false
  844. woosh3.Anchored = true
  845. woosh3.CFrame = woosh3.CFrame:lerp(woosh3.CFrame * CFrame.new(0, 0, -22), 0.4)
  846. woosh3.CFrame = woosh3.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  847. woosh3.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-4.5,0)
  848. woosh3.CFrame = woosh3.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  849. local woosh1 = Instance.new("Part",workspace)
  850. woosh1.Size = Vector3.new(12, 12, 20)
  851. woosh1.BrickColor = BrickColor.new("Institutional white")
  852. local me1 = Instance.new("FileMesh",woosh1)
  853. me1.MeshId = "rbxassetid://489415447"
  854. me1.Scale = Vector3.new(1, 1, 0.4)
  855. woosh1.CanCollide = false
  856. woosh1.Anchored = true
  857. woosh1.CFrame = char:FindFirstChild("Right Arm").CFrame * CFrame.new(0,-4.5,0)
  858. local woosh4 = Instance.new("Part",workspace)
  859. woosh4.Size = Vector3.new(12, 12, 20)
  860. woosh4.BrickColor = BrickColor.new("Institutional white")
  861. local me4 = Instance.new("FileMesh",woosh4)
  862. me4.MeshId = "rbxassetid://http://www.roblox.com/asset/?id=1051557"
  863. me4.Scale = Vector3.new(1.3,0.1,1)
  864. woosh4.CanCollide = false
  865. woosh4.Anchored = true
  866. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  867. local woosh4 = Instance.new("Part",workspace)
  868. woosh4.Size = Vector3.new(12, 12, 20)
  869. woosh4.BrickColor = BrickColor.new("Institutional white")
  870. local me4 = Instance.new("FileMesh",woosh4)
  871. me4.MeshId = "http://www.roblox.com/asset/?id=1051557"
  872. me4.Scale = Vector3.new(2,3.3,2)
  873. woosh4.CanCollide = false
  874. woosh4.Anchored = true
  875. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  876. local v = Instance.new("BodyVelocity", woosh)
  877. v.velocity = woosh.CFrame.lookVector *100
  878. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  879. S3:Play()
  880. pe:remove()
  881. pe2:remove()
  882. Crater()
  883. for i = 0.14,1,0.015 do
  884. wait()
  885. hito(woosh, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  886. woosh.CFrame = woosh.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.1)
  887. woosh1.CFrame = woosh1.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  888. woosh.Transparency = woosh.Transparency + 0.04
  889. woosh2.CFrame = woosh2.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  890. woosh2.Transparency = woosh2.Transparency + 0.03
  891. me2.Scale = me2.Scale + Vector3.new(2,2,1.8)
  892. woosh3.CFrame = woosh3.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  893. woosh3.Transparency = woosh3.Transparency + 0.035
  894. me3.Scale = me3.Scale + Vector3.new(1.3,1.3,1)
  895. me1.Scale = me1.Scale + Vector3.new(2,1,2)
  896. woosh1.Transparency = woosh1.Transparency + 0.04
  897. woosh4.CFrame = woosh4.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  898. woosh4.Transparency = woosh4.Transparency + 0.02
  899. me4.Scale = me4.Scale + Vector3.new(2,4,2)
  900. end
  901. woosh3:remove()
  902. woosh2:remove()
  903. woosh1:remove()
  904. woosh4:remove()
  905. woosh:remove()
  906.  
  907. for _ = 1, 24 do
  908. swait()
  909. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  910. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  911. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  912. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  913. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  914. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  915. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  916. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  917. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  918. end
  919. S:remove()
  920. hum.WalkSpeed = 16
  921. hum.JumpPower = 50
  922. wait(2.3)
  923. S4:remove()
  924. S3:remove()
  925. end
  926.  
  927. function ring()
  928. local S4 = Instance.new("Sound",game.Soundscape)
  929. S4.SoundId = "rbxassetid://991726501"
  930. S4.Volume = 1.5
  931. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  932. pe.Texture = "rbxassetid://272050333"
  933. pe.Size = NumberSequence.new(1)
  934. pe.LightEmission = 1
  935. pe.LightInfluence = 1
  936. pe.Rate = 1000000.000
  937. pe.Rotation = NumberRange.new(0, 360)
  938. pe.Speed = NumberRange.new(10)
  939. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  940. pe.Lifetime = NumberRange.new(0.06)
  941. pe.LockedToPart = true
  942. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  943. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  944. pe2.Size = NumberSequence.new(3)
  945. pe2.LightEmission = 1
  946. pe2.LightInfluence = 1
  947. pe2.Rate = 1000
  948. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  949. pe2.Rotation = NumberRange.new(0, 360)
  950. pe2.RotSpeed = NumberRange.new(2)
  951. pe2.Speed = NumberRange.new(15)
  952. pe2.SpreadAngle = Vector2.new(360,306)
  953. pe2.Lifetime = NumberRange.new(0.06)
  954. pe2.ZOffset = 1
  955. pe2.LockedToPart = true
  956. pe2.Name = "ParticleEmitter2"
  957. local me = Instance.new("Part",workspace)
  958. local mesh = Instance.new("SpecialMesh")
  959. mesh.MeshType = "FileMesh"
  960. mesh.MeshId = "rbxassetid://3270017"
  961. mesh.Scale = Vector3.new(12, 12, 0.05)
  962. mesh.Parent = me
  963. me.Anchored = true
  964. me.CanCollide = false
  965. me.BrickColor = BrickColor.new("Institutional white")
  966. me.CFrame = me.CFrame:lerp(me.CFrame * CFrame.new(0, 0, -22), 0.4)
  967. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  968. me.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0)
  969. me.CFrame = me.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  970. me.Anchored = false
  971. local me2 = Instance.new("Part",workspace)
  972. local mesh2 = Instance.new("SpecialMesh")
  973. mesh2.MeshType = "FileMesh"
  974. mesh2.MeshId = "rbxassetid://3270017"
  975. mesh2.Scale = Vector3.new(12, 12, 0.05)
  976. mesh2.Parent = me2
  977. me2.Anchored = true
  978. me2.CanCollide = false
  979. me2.BrickColor = BrickColor.new("Institutional white")
  980. me2.CFrame = me2.CFrame:lerp(me2.CFrame * CFrame.new(0, 0, -22), 0.4)
  981. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  982. me2.CFrame = hrp.CFrame
  983. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  984. local bfor = Instance.new("BodyPosition")
  985. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  986. bfor.P = 2500
  987. bfor.Position = me.Position + Vector3.new(0, 50, 0)
  988. bfor.Parent = me
  989. me.Velocity = me.CFrame.lookVector *65
  990. local sound2 = Instance.new("Sound",game.Soundscape)
  991. sound2.SoundId = "rbxassetid://157878578"
  992. sound2.MaxDistance = 300
  993. sound2.EmitterSize = 20
  994. sound2.Volume = 2
  995. sound2.Pitch = 0.9
  996. local sound3 = Instance.new("Sound",game.Soundscape)
  997. sound3.SoundId = "rbxassetid://138250406"
  998. sound2.MaxDistance = 400
  999. sound2.EmitterSize = 30
  1000. sound2.Volume = 1.5
  1001. sound2.Pitch = 0.6
  1002. sound2:Play()
  1003. sound3:Play()
  1004. local bfor = Instance.new("BodyPosition")
  1005. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1006. bfor.P = 2500
  1007. bfor.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0, 500, 0)
  1008. bfor.Parent = plr.Character.HumanoidRootPart
  1009. plr.Character.HumanoidRootPart.Velocity=plr.Character.HumanoidRootPart.CFrame.lookVector *200
  1010. S4:Play()
  1011. local part = Instance.new("Part",workspace)
  1012. part.Transparency = 1
  1013. part.CanCollide = false
  1014. part.Anchored = true
  1015. part.CFrame = char:FindFirstChild("Right Leg").CFrame
  1016. local smok = Instance.new("Smoke",part)
  1017. smok.Opacity = 1
  1018. smok.Size = 20
  1019. Crater()
  1020. for e = 1, 30 do
  1021. wait()
  1022. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 1)
  1023. me.Transparency = me.Transparency + 0.04
  1024. me.CFrame = me.CFrame:lerp( me.CFrame * CFrame.new(0, 0, -1), 0.4)
  1025. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1026. mesh2.Scale = mesh2.Scale + Vector3.new(8, 8, 3)
  1027. me2.Transparency = me2.Transparency + 0.04
  1028. me2.CFrame = me2.CFrame:lerp( me2.CFrame * CFrame.new(0, 0, -1), 0.4)
  1029. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1030. smok.Size = smok.Size + 10
  1031. wait()
  1032. end
  1033. S4:remove()
  1034. pe:remove()
  1035. pe2:remove()
  1036. bfor:remove()
  1037. me2:remove()
  1038. me:remove()
  1039. for i = 0,1,0.01 do
  1040. wait()
  1041. smok.Opacity = smok.Opacity - 0.01
  1042. end
  1043. part:remove()
  1044. sound2:remove()
  1045. sound3:remove()
  1046. end
  1047.  
  1048. function ring2()
  1049. hum.WalkSpeed = 0
  1050. hum.JumpPower = 0
  1051. local pe = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  1052. pe.Texture = "rbxassetid://272050333"
  1053. pe.Size = NumberSequence.new(1)
  1054. pe.LightEmission = 1
  1055. pe.LightInfluence = 1
  1056. pe.Rate = 1000000.000
  1057. pe.Rotation = NumberRange.new(0, 360)
  1058. pe.Speed = NumberRange.new(10)
  1059. pe.Color = ColorSequence.new(Color3.new(0,170,0))
  1060. pe.Lifetime = NumberRange.new(0.06)
  1061. pe.LockedToPart = true
  1062. local pe2 = Instance.new("ParticleEmitter",char:FindFirstChild("Right Leg"))
  1063. pe2.Texture = "http://www.roblox.com/asset/?id=243098098"
  1064. pe2.Size = NumberSequence.new(3)
  1065. pe2.LightEmission = 1
  1066. pe2.LightInfluence = 1
  1067. pe2.Rate = 1000
  1068. pe2.Color = ColorSequence.new(Color3.new(0,170,0))
  1069. pe2.Rotation = NumberRange.new(0, 360)
  1070. pe2.RotSpeed = NumberRange.new(2)
  1071. pe2.Speed = NumberRange.new(15)
  1072. pe2.SpreadAngle = Vector2.new(360,306)
  1073. pe2.Lifetime = NumberRange.new(0.06)
  1074. pe2.ZOffset = 1
  1075. pe2.LockedToPart = true
  1076. pe2.Name = "ParticleEmitter2"
  1077. for l = 1, 30 do
  1078. swait()
  1079. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  1080. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  1081. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  1082. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1083. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  1084. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1085. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  1086. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1087. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  1088. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1089. end
  1090. local S4 = Instance.new("Sound",game.Soundscape)
  1091. S4.SoundId = "rbxassetid://991726501"
  1092. S4.Volume = 1.5
  1093. wait(0.3)
  1094. local me = Instance.new("Part",workspace)
  1095. local mesh = Instance.new("SpecialMesh")
  1096. mesh.MeshType = "FileMesh"
  1097. mesh.MeshId = "rbxassetid://3270017"
  1098. mesh.Scale = Vector3.new(12, 12, 0.05)
  1099. mesh.Parent = me
  1100. me.Anchored = true
  1101. me.CanCollide = false
  1102. me.BrickColor = BrickColor.new("Institutional white")
  1103. me.CFrame = me.CFrame:lerp(me.CFrame * CFrame.new(0, 0, -22), 0.4)
  1104. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1105. me.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0)
  1106. me.CFrame = me.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1107. me.Anchored = false
  1108. local me2 = Instance.new("Part",workspace)
  1109. local mesh2 = Instance.new("SpecialMesh")
  1110. mesh2.MeshType = "FileMesh"
  1111. mesh2.MeshId = "rbxassetid://3270017"
  1112. mesh2.Scale = Vector3.new(12, 12, 0.05)
  1113. mesh2.Parent = me2
  1114. me2.Anchored = true
  1115. me2.CanCollide = false
  1116. me2.BrickColor = BrickColor.new("Institutional white")
  1117. me2.CFrame = me2.CFrame:lerp(me2.CFrame * CFrame.new(0, 0, -22), 0.4)
  1118. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1119. me2.CFrame = hrp.CFrame
  1120. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1121. local bfor = Instance.new("BodyPosition")
  1122. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1123. bfor.P = 2500
  1124. bfor.Position = me.Position + Vector3.new(0, 50, 0)
  1125. bfor.Parent = me
  1126. me.Velocity = me.CFrame.lookVector *65
  1127. local sound2 = Instance.new("Sound",game.Soundscape)
  1128. sound2.SoundId = "rbxassetid://157878578"
  1129. sound2.MaxDistance = 300
  1130. sound2.EmitterSize = 20
  1131. sound2.Volume = 2
  1132. sound2.Pitch = 0.9
  1133. local sound3 = Instance.new("Sound",game.Soundscape)
  1134. sound3.SoundId = "rbxassetid://138250406"
  1135. sound2.MaxDistance = 400
  1136. sound2.EmitterSize = 30
  1137. sound2.Volume = 1.5
  1138. sound2.Pitch = 0.6
  1139. sound2:Play()
  1140. sound3:Play()
  1141.  
  1142. S4:Play()
  1143. local part = Instance.new("Part",workspace)
  1144. part.Transparency = 1
  1145. part.CanCollide = false
  1146. part.Anchored = true
  1147. part.CFrame = char:FindFirstChild("Right Leg").CFrame
  1148. local smok = Instance.new("Smoke",part)
  1149. smok.Opacity = 1
  1150. smok.Size = 20
  1151. local woosh4 = Instance.new("Part",workspace)
  1152. woosh4.Size = Vector3.new(12, 12, 20)
  1153. woosh4.BrickColor = BrickColor.new("Institutional white")
  1154. local me4 = Instance.new("FileMesh",woosh4)
  1155. me4.MeshId = "rbxassetid://http://www.roblox.com/asset/?id=1051557"
  1156. me4.Scale = Vector3.new(1.3,0.1,1)
  1157. woosh4.CanCollide = false
  1158. woosh4.Anchored = true
  1159. woosh4.CFrame = char:FindFirstChild("Right Arm").CFrame
  1160. local woosh4 = Instance.new("Part",workspace)
  1161. woosh4.Size = Vector3.new(12, 12, 20)
  1162. woosh4.BrickColor = BrickColor.new("Institutional white")
  1163. local me4 = Instance.new("FileMesh",woosh4)
  1164. me4.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1165. me4.Scale = Vector3.new(2,3.3,2)
  1166. woosh4.CanCollide = false
  1167. woosh4.Anchored = true
  1168. woosh4.CFrame = char:FindFirstChild("Right Leg").CFrame
  1169. Crater()
  1170. for e = 1, 30 do
  1171. wait()
  1172. hito(woosh4, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1173. hito(me2, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1174. hito(me, 70, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1175. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 1)
  1176. me.Transparency = me.Transparency + 0.04
  1177. me.CFrame = me.CFrame:lerp( me.CFrame * CFrame.new(0, 0, -1), 0.4)
  1178. me.CFrame = me.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1179. mesh2.Scale = mesh2.Scale + Vector3.new(8, 8, 3)
  1180. me2.Transparency = me2.Transparency + 0.04
  1181. me2.CFrame = me2.CFrame:lerp( me2.CFrame * CFrame.new(0, 0, -1), 0.4)
  1182. me2.CFrame = me2.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1183. smok.Size = smok.Size + 10
  1184. woosh4.CFrame = woosh4.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  1185. woosh4.Transparency = woosh4.Transparency + 0.06
  1186. me4.Scale = me4.Scale + Vector3.new(2,4,2)
  1187. wait()
  1188. end
  1189. for _ = 1, 18 do
  1190. swait()
  1191. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1192. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1193. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1194. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1195. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1196. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1197. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1198. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1199. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1200. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1201. end
  1202. hum.WalkSpeed = 16
  1203. hum.JumpPower = 50
  1204. woosh4:remove()
  1205. S4:remove()
  1206. pe:remove()
  1207. pe2:remove()
  1208. me2:remove()
  1209. me:remove()
  1210. for i = 0,1,0.01 do
  1211. wait()
  1212. smok.Opacity = smok.Opacity - 0.01
  1213. end
  1214. part:remove()
  1215. sound2:remove()
  1216. sound3:remove()
  1217.  
  1218. end
  1219.  
  1220.  
  1221. function lerpz(joint, prop, cfrmz, alp)
  1222. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  1223. end
  1224.  
  1225. m.KeyDown:connect(function(key)
  1226. key = key:lower()
  1227. if key == "e" and LOADED == 1 then
  1228. LOADED = LOADED -1
  1229. smash()
  1230. LOADED = LOADED +1
  1231. end
  1232. end)
  1233.  
  1234. m.KeyDown:connect(function(key)
  1235. key = key:lower()
  1236. if key == "z" and LOADED == 1 then
  1237. LOADED = LOADED -1
  1238. ring()
  1239. wait(1)
  1240. LOADED = LOADED +1
  1241. end
  1242. end)
  1243.  
  1244.  
  1245. m.KeyDown:connect(function(key)
  1246. key = key:lower()
  1247. if key == "r" and LOADED == 1 then
  1248. LOADED = LOADED -1
  1249. ring2()
  1250. wait(1)
  1251. LOADED = LOADED +1
  1252. end
  1253. end)
  1254.  
  1255. m.KeyDown:connect(function(key)
  1256. key = key:lower()
  1257. if key == "b" and cowl == false and LOADED == 1 then
  1258. cowl = true
  1259. Lightning()
  1260. end
  1261. end)
  1262.  
  1263. m.KeyDown:connect(function(key)
  1264. key = key:lower()
  1265. if key == "b" and cowl == false and LOADED == 1 then
  1266. wait(60)
  1267. cowl = false
  1268. end
  1269. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement