Advertisement
Guest User

Untitled

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