Advertisement
memelorrd23

pikachu

Nov 4th, 2017
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- ty krystalburger
  2. --[[
  3. Pikachu:
  4. By: KrystalTeam
  5. Features: Being a dank engine that kill people
  6. Version: 1.0.0.2
  7. --]]
  8.  
  9. local p = game.Players.LocalPlayer.Character
  10. local weld = Instance.new("Weld",p.Torso)
  11. weld.Part0 = p.Torso
  12.  
  13. local train = Instance.new("Part",p.Torso)
  14. train.Anchored = true
  15. train.CanCollide = false
  16. train.Size = Vector3.new(3,2,6)
  17. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  18. weld.Part1 = train
  19. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  20. train.Anchored = false
  21. local TrainMesh = Instance.new("SpecialMesh",train)
  22. TrainMesh.MeshType = Enum.MeshType.FileMesh
  23. TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
  24. TrainMesh.MeshId = "rbxassetid://949646147"
  25. TrainMesh.TextureId = "rbxassetid://949646155"
  26.  
  27.  
  28. local weld2 = Instance.new("Weld",p.Torso)
  29. weld2.Part0 = p.Torso
  30. local Smoke = Instance.new("Part",p.Torso)
  31. Smoke.Anchored = true
  32. Smoke.CanCollide = false
  33. Smoke.Size = Vector3.new(1,1,1)
  34. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  35. weld2.Part1 = Smoke
  36. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  37. Smoke.Anchored = false
  38. Smoke.Transparency = 1;
  39.  
  40. local Particle = Instance.new("ParticleEmitter",Smoke)
  41. Particle.Rate = 50;
  42. Particle.Speed = NumberRange.new(30,60);
  43. Particle.VelocitySpread = 4;
  44. Particle.Texture = "rbxassetid://133619974"
  45.  
  46. local Light = Instance.new("SpotLight",train)
  47. Light.Angle = 45;
  48. Light.Brightness = 100;
  49. Light.Face = Enum.NormalId.Back;
  50. Light.Range = 30;
  51.  
  52. p.Humanoid.WalkSpeed = 60;
  53.  
  54.  
  55. for i,v in pairs(p:GetChildren()) do
  56. if v:IsA("Part") then
  57. v.Transparency = 1;
  58. elseif v:IsA("Hat") then
  59. v:Destroy()
  60. elseif v:IsA("Model") then
  61. v:Destroy()
  62. end
  63. end
  64.  
  65. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  66. train.Touched:connect(function(p)
  67. if p.Parent then
  68. if p.Parent:IsA("Model") then
  69. if game.Players:FindFirstChild(p.Parent.Name) then
  70. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  71. local Whistle = SFX(584715759)
  72. Whistle:Play()
  73. end
  74. end
  75. end
  76. end
  77. end)
  78.  
  79. --fixed by Scenius
  80. plr = game.Players.LocalPlayer
  81. repeat
  82. wait(0.4)
  83. until plr.Character
  84. chr = plr.Character
  85. human = chr:FindFirstChild("Humanoid")
  86. mouse = plr:GetMouse()
  87. selected = false
  88. equipd = false
  89. tors = chr.Torso
  90. rarm = chr["Right Arm"]
  91. larm = chr["Left Arm"]
  92. rleg = chr["Right Leg"]
  93. lleg = chr["Left Leg"]
  94. hrp = chr.HumanoidRootPart
  95. head = chr.Head
  96. anim = human.Animator
  97. activu = false
  98. Heartbeat = Instance.new("BindableEvent")
  99. Heartbeat.Name = "Heartbeat"
  100. Heartbeat.Parent = script
  101. frame = 0.03333333333333333
  102. tf = 0
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. for i = 1, math.floor(tf / frame) do
  107. Heartbeat:Fire()
  108. end
  109. tf = tf - frame * math.floor(tf / frame)
  110. end
  111. end)
  112. function swait(num)
  113. if num == 0 or num == nil then
  114. Heartbeat.Event:wait()
  115. else
  116. for i = 1, num do
  117. Heartbeat.Event:wait()
  118. end
  119. end
  120. end
  121. tool = Instance.new("Tool")
  122. tool.CanBeDropped = false
  123. tool.RequiresHandle = false
  124. tool.Name = "fir"
  125. tool.Parent = plr.Backpack
  126. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  127. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  128. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  129. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  130. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  131. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  132. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  133. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  134. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  135. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  136. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  137. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  138. RS = tors:FindFirstChild("Right Shoulder")
  139. LS = tors:FindFirstChild("Left Shoulder")
  140. RH = tors:FindFirstChild("Right Hip")
  141. LH = tors:FindFirstChild("Left Hip")
  142. RJ = hrp:FindFirstChild("RootJoint")
  143. N = tors:FindFirstChild("Neck")
  144. cf = CFrame.new
  145. ang = CFrame.Angles
  146. rd = math.rad
  147. rd2 = math.random
  148. function nooutline(p)
  149. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  150. end
  151. function makepart(color, name, reflec, mater, parnt, cfram)
  152. local port = Instance.new("Part")
  153. port.BrickColor = BrickColor.new(color)
  154. port.Name = name
  155. nooutline(port)
  156. port.Reflectance = reflec
  157. port.Material = mater
  158. port.Anchored = false
  159. port.CanCollide = false
  160. port.Locked = true
  161. port.Size = Vector3.new(0.2, 0.2, 0.2)
  162. port.Parent = parnt
  163. return port
  164. end
  165. function makemesh(meshtype, scale, meshid, parent)
  166. local mes = Instance.new("SpecialMesh")
  167. mes.MeshType = meshtype
  168. mes.Scale = scale
  169. if meshtype == "FileMesh" then
  170. mes.MeshId = meshid
  171. end
  172. mes.Parent = parent
  173. return mes
  174. end
  175. function makeweld(parent, p0, p1, c0, c1)
  176. local wel = Instance.new("Weld")
  177. wel.Part0 = p0
  178. wel.Part1 = p1
  179. wel.C0 = c0
  180. if c1 ~= nil then
  181. wel.C1 = c1
  182. end
  183. wel.Parent = parent
  184. return wel
  185. end
  186. function smokz(prnt)
  187. s = Instance.new("Smoke")
  188. s.Color = Color3.new(1, 1, 1)
  189. s.Enabled = false
  190. s.Name = "smok"
  191. s.Opacity = 0.5
  192. s.RiseVelocity = 0.2
  193. s.Size = 0.1
  194. s.Parent = prnt
  195. end
  196. function glow(tz, paz, smokinz, length)
  197. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  198. do
  199. local s = Instance.new("Sound")
  200. s.SoundId = "rbxassetid://298181829"
  201. s.Volume = 0.25
  202. s.Pitch = math.random(9, 11) / 10
  203. s.Parent = paz
  204. s:Play()
  205. paz.Transparency = 0.7
  206. if smokinz == true then
  207. paz.smok.Enabled = true
  208. end
  209. delay(length, function()
  210. paz.Transparency = 1
  211. paz.smok.Enabled = false
  212. s:Destroy()
  213. end)
  214. end
  215. end
  216. end
  217. function makeglow()
  218. for _, p in pairs(chr:GetChildren()) do
  219. if p.ClassName == "Accessory" then
  220. do
  221. local h = p:FindFirstChildOfClass("Part")
  222. local nh = h:Clone()
  223. nh.Parent = nil
  224. nh.CFrame = h.CFrame
  225. nh.Transparency = 1
  226. nh.Name = "Glow"
  227. nh.Material = "Neon"
  228. nh.BrickColor = BrickColor.new("New Yeller")
  229. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  230. nh.Parent = h
  231. makeweld(nh, nh, h, cf(0, 0, 0))
  232. local m = nh:FindFirstChildOfClass("SpecialMesh")
  233. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  234. m.TextureId = ""
  235. smokz(nh)
  236. nh.Touched:connect(function(po)
  237. glow(po, nh, true, 0.8)
  238. end)
  239. end
  240. elseif p.ClassName == "Part" and p ~= hrp then
  241. do
  242. local n = p:Clone()
  243. n.Parent = nil
  244. n.Transparency = 1
  245. n.Material = "Neon"
  246. n.Name = "Glow"
  247. n.BrickColor = BrickColor.new("New Yeller")
  248. n.CFrame = p.CFrame
  249. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  250. n.Parent = p
  251. makeweld(n, n, p, cf(0, 0, 0))
  252. smokz(n)
  253. n.Touched:connect(function(po)
  254. glow(po, n, true, 0.8)
  255. end)
  256. if n:FindFirstChildOfClass("Decal") then
  257. n:FindFirstChildOfClass("Decal"):Destroy()
  258. end
  259. if p:FindFirstChildOfClass("SpecialMesh") then
  260. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  261. c.Parent = nil
  262. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  263. c.Parent = n
  264. else
  265. local m = Instance.new("BlockMesh")
  266. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  267. if p == tors then
  268. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  269. end
  270. m.Parent = n
  271. end
  272. end
  273. end
  274. end
  275. end
  276. makeglow()
  277. function fglow(glopart, duration)
  278. for _ = 1, 4 do
  279. swait()
  280. glopart.Transparency = glopart.Transparency - 0.075
  281. end
  282. delay(duration, function()
  283. for _ = 1, 4 do
  284. swait()
  285. glopart.Transparency = glopart.Transparency + 0.075
  286. end
  287. end)
  288. end
  289. function lerpz(joint, prop, cfrmz, alp)
  290. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  291. end
  292. function resetlerp()
  293. RJ.C0 = RJC0
  294. RJ.C1 = RJC1
  295. N.C0 = NC0
  296. N.C1 = NC1
  297. RS.C0 = RSC0
  298. RS.C1 = RSC1
  299. LS.C0 = LSC0
  300. LS.C1 = LSC1
  301. RH.C0 = RHC0
  302. RH.C1 = RHC1
  303. LH.C0 = LHC0
  304. end
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. function RFistDamage()
  317.  
  318. end
  319. function rsmash()
  320. if activu == true or selected == false then
  321. return
  322. end
  323. coroutine.resume(coroutine.create(function()
  324. fglow(rarm.Glow, 3)
  325. end))
  326. activu = true
  327.  
  328. human.WalkSpeed = human.WalkSpeed - 13
  329. animo(false)
  330. local Mus = Instance.new("Sound",workspace)
  331. Mus.SoundId = "rbxassetid://789575203"
  332. Mus.Pitch = 1
  333. Mus.Volume = 90000
  334. Mus.Looped = false
  335. wait(0.3)
  336. Mus:Play()
  337. local pe = Instance.new("ParticleEmitter")
  338. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  339. pe.LightEmission = 0.9
  340. pe.Size = NumberSequence.new(0.5)
  341. pe.Texture = "rbxassetid://272050333"
  342. pe.Transparency = NumberSequence.new(0.1)
  343. pe.Lifetime = NumberRange.new(0.1)
  344. pe.Rate = 1
  345. pe.RotSpeed = NumberRange.new(360)
  346. pe.Speed = NumberRange.new(3)
  347. pe.VelocitySpread = 360
  348. pe.Parent = rarm.Glow
  349. local pe2 = Instance.new("ParticleEmitter")
  350. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  351. pe2.LightEmission = 0.9
  352. pe2.Size = NumberSequence.new(5)
  353. pe2.Texture = "rbxassetid://516107903"
  354. pe2.Transparency = NumberSequence.new(0.4)
  355. pe2.ZOffset = 2
  356. pe2.Enabled = false
  357. pe2.LockedToPart = true
  358. pe2.Lifetime = NumberRange.new(0.07)
  359. pe2.Rate = 8
  360. pe2.Rotation = NumberRange.new(0, 360)
  361. pe2.RotSpeed = NumberRange.new(0)
  362. pe2.Speed = NumberRange.new(0)
  363. pe2.VelocitySpread = 180
  364. pe2.Parent = rarm.Glow
  365. for _ = 1, 45 do
  366. swait()
  367. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  368. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  369. 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)
  370. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  371. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  372. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  373. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  374. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  375. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  376. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  377. pe.Rate = pe.Rate + 25
  378. end
  379. pe2.Enabled = true
  380. pe.Speed = NumberRange.new(10)
  381. for _ = 1, 30 do
  382. swait()
  383. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  384. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  385. 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)
  386. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  387. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  388. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  389. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  390. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  391.  
  392. end
  393. for l = 1, 3 do
  394. swait()
  395. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  396. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  397. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  398. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  399. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  400. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  401. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  402. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  403. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  404. end
  405. pe:Destroy()
  406. pe2:Destroy()
  407. KABOOMZ()
  408. rarm.Glow.smok.Enabled = true
  409. for _ = 1, 8 do
  410. swait()
  411. lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
  412. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
  413. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
  414. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
  415. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
  416. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
  417. lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
  418. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
  419. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
  420. end
  421. wait(1.5)
  422. animo(true)
  423. human.WalkSpeed = human.WalkSpeed + 13
  424. for _ = 1, 24 do
  425. swait()
  426. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  427. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  428. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  429. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  430. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  431. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  432. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  433. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  434. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  435. end
  436. resetlerp()
  437. rarm.Glow.smok.Enabled = false
  438. activu = false
  439. end
  440.  
  441.  
  442.  
  443.  
  444. local debris=game:service"Debris"
  445. vt = Vector3.new
  446. bc = BrickColor.new
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459. function Ring()
  460.  
  461.  
  462. local effspwn = Instance.new("Part")
  463. local model = Instance.new("Model")
  464. game.Debris:AddItem(model, 20)
  465. model.Name = "smasheffects"
  466. model.Parent = workspace
  467. effspwn.Name = "spwnr"
  468. effspwn.Size = Vector3.new(1, 1, 1)
  469. effspwn.Anchored = true
  470. effspwn.CanCollide = false
  471. effspwn.Transparency = 1
  472. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  473. effspwn.Parent = model
  474.  
  475. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  476. if v:FindFirstChild('Humanoid') then
  477. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  478. v.Humanoid.PlatformStand = true
  479. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  480. end
  481. end
  482. coroutine.resume(coroutine.create(function()
  483. local shok = Instance.new("Part")
  484. shok.Name = "wring1"
  485. shok.BrickColor = BrickColor.new("Institutional white")
  486. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  487. shok.Size = Vector3.new(1, 1, 1)
  488. shok.Anchored = true
  489. shok.Material = "Neon"
  490. shok.Transparency = 0.25
  491. shok.CanCollide = false
  492. shok.Parent = model
  493. game.Debris:AddItem(shok, 12)
  494. local mesh = Instance.new("SpecialMesh")
  495. mesh.MeshType = "FileMesh"
  496. mesh.MeshId = "rbxassetid://3270017"
  497. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  498. mesh.Parent = shok
  499. for e = 1, 30 do
  500. wait()
  501. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  502. shok.Transparency = shok.Transparency + 0.002
  503. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  504. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  505. end
  506. for e = 1, 38 do
  507. wait()
  508. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  509. shok.Transparency = shok.Transparency + 0.002
  510. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  511. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  512. end
  513. for e = 1, 24 do
  514. wait()
  515. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  516. shok.Transparency = shok.Transparency + 0.03
  517. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  518. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  519. end
  520. end))
  521. coroutine.resume(coroutine.create(function()
  522. local shok = Instance.new("Part")
  523. shok.Name = "wring2"
  524. shok.BrickColor = BrickColor.new("Institutional white")
  525. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  526. shok.Size = Vector3.new(1, 1, 1)
  527. shok.Anchored = true
  528. shok.Material = "Neon"
  529. shok.Transparency = 0.25
  530. shok.CanCollide = false
  531. shok.Parent = model
  532. game.Debris:AddItem(shok, 12)
  533. local mesh = Instance.new("SpecialMesh")
  534. mesh.MeshType = "FileMesh"
  535. mesh.MeshId = "rbxassetid://3270017"
  536. mesh.Scale = Vector3.new(12, 12, 0.05)
  537. mesh.Parent = shok
  538. for e = 1, 30 do
  539. wait()
  540. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  541. shok.Transparency = shok.Transparency + 0.002
  542. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  543. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  544. end
  545. for e = 1, 38 do
  546. wait()
  547. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  548. shok.Transparency = shok.Transparency + 0.002
  549. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  550. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  551. end
  552. for e = 1, 24 do
  553. wait()
  554. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  555. shok.Transparency = shok.Transparency + 0.03
  556. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  557. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  558. end
  559. end))
  560.  
  561. coroutine.resume(coroutine.create(function()
  562. local shok = Instance.new("Part")
  563. shok.Name = "shokwve"
  564. shok.BrickColor = BrickColor.new("Institutional white")
  565. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  566. shok.Size = Vector3.new(1, 1, 1)
  567. shok.Anchored = true
  568. shok.Material = "Neon"
  569. shok.Transparency = 0.6
  570. shok.CanCollide = false
  571. shok.Parent = model
  572. game.Debris:AddItem(shok, 12)
  573. local mesh = Instance.new("SpecialMesh")
  574. mesh.MeshType = "FileMesh"
  575. mesh.MeshId = "rbxassetid://489415447"
  576. mesh.Scale = Vector3.new(1, 1, 1)
  577. mesh.Parent = shok
  578. for e = 1, 12 do
  579. wait()
  580. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  581. shok.Transparency = shok.Transparency + 0.002
  582. end
  583. for e = 1, 32 do
  584. wait()
  585. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  586. shok.Transparency = shok.Transparency + 0.002
  587. end
  588. for e = 1, 24 do
  589. wait()
  590. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  591. shok.Transparency = shok.Transparency + 0.03
  592. end
  593. end))
  594. coroutine.resume(coroutine.create(function()
  595. local shok = Instance.new("Part")
  596. shok.Name = "shock2"
  597. shok.BrickColor = BrickColor.new("Institutional white")
  598. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  599. shok.Size = Vector3.new(1, 1, 1)
  600. shok.Anchored = true
  601. shok.Material = "Neon"
  602. shok.Transparency = 0.35
  603. shok.CanCollide = false
  604. shok.Parent = model
  605. game.Debris:AddItem(shok, 12)
  606. local mesh = Instance.new("SpecialMesh")
  607. mesh.MeshType = "FileMesh"
  608. mesh.MeshId = "rbxassetid://489415447"
  609. mesh.Scale = Vector3.new(12, 12, 12)
  610. mesh.Parent = shok
  611. for e = 1, 15 do
  612. wait()
  613. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  614. shok.Transparency = shok.Transparency + 0.004
  615. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  616. end
  617. for e = 1, 16 do
  618. wait()
  619. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  620. shok.Transparency = shok.Transparency + 0.004
  621. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  622. end
  623. for e = 1, 12 do
  624. wait()
  625. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  626. shok.Transparency = shok.Transparency + 0.06
  627. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  628. end
  629. end))
  630. coroutine.resume(coroutine.create(function()
  631. local shok = Instance.new("Part")
  632. shok.Name = "shock3"
  633. shok.BrickColor = BrickColor.new("Institutional white")
  634. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  635. shok.Size = Vector3.new(1, 1, 1)
  636. shok.Anchored = true
  637. shok.Material = "Neon"
  638. shok.Transparency = 0.35
  639. shok.CanCollide = false
  640. shok.Parent = model
  641. game.Debris:AddItem(shok, 12)
  642. local mesh = Instance.new("SpecialMesh")
  643. mesh.MeshType = "FileMesh"
  644. mesh.MeshId = "rbxassetid://489415447"
  645. mesh.Scale = Vector3.new(12, 12, 12)
  646. mesh.Parent = shok
  647. for e = 1, 15 do
  648. wait()
  649. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  650. shok.Transparency = shok.Transparency + 0.004
  651. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  652. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  653. end
  654. for e = 1, 16 do
  655. wait()
  656. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  657. shok.Transparency = shok.Transparency + 0.004
  658. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  659. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  660. end
  661. for e = 1, 12 do
  662. wait()
  663. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  664. shok.Transparency = shok.Transparency + 0.06
  665. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  666. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  667. end
  668. end))
  669.  
  670. end
  671. function Landing()
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678. ROW = function(out, trans, s, wt, t, ang, plus)
  679. for i = 1, 360, 360/t do
  680. local c = Instance.new("Part", game.Workspace)
  681. c.FormFactor = 3
  682. c.TopSurface = 0
  683. c.BottomSurface = 0
  684. c.Size = s
  685. c.Anchored = true
  686. c.CanCollide = wt
  687. c.Material=workspace.Base.Material
  688. c.Transparency = trans
  689. c.BrickColor = workspace.Base.BrickColor
  690. c.CFrame = CFrame.new(tors.CFrame.x,0,tors.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  691. c.Locked=true
  692. game.Debris:AddItem(c,15)
  693. end
  694. end
  695.  
  696.  
  697.  
  698.  
  699.  
  700. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  701. Ring()
  702.  
  703.  
  704.  
  705.  
  706.  
  707. end
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715. function newRay(start,face,range,wat)
  716. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  717. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  718. return rey,hit,pos
  719. end
  720.  
  721.  
  722.  
  723.  
  724. function jum()
  725. if activu == true or selected == false then
  726. return
  727. end
  728. coroutine.resume(coroutine.create(function()
  729. fglow(rleg.Glow, 1)
  730. fglow(lleg.Glow, 1)
  731. end))
  732. activu = true
  733. human.WalkSpeed = human.WalkSpeed - 13
  734. local pe = Instance.new("ParticleEmitter")
  735. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  736. pe.LightEmission = 0.9
  737. pe.Size = NumberSequence.new(0.5)
  738. pe.Texture = "rbxassetid://272050333"
  739. pe.Transparency = NumberSequence.new(0.1)
  740. pe.Lifetime = NumberRange.new(0.1)
  741. pe.Rate = 250
  742. pe.RotSpeed = NumberRange.new(360)
  743. pe.Speed = NumberRange.new(3)
  744. pe.VelocitySpread = 360
  745. pe.Parent = rleg.Glow
  746. local pea = pe:Clone()
  747. pea.Parent = lleg.Glow
  748. local pe2 = Instance.new("ParticleEmitter")
  749. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  750. pe2.LightEmission = 0.9
  751. pe2.Size = NumberSequence.new(5)
  752. pe2.Texture = "rbxassetid://516107903"
  753. pe2.Transparency = NumberSequence.new(0.4)
  754. pe2.ZOffset = 2
  755. pe2.Enabled = true
  756. pe2.LockedToPart = true
  757. pe2.Lifetime = NumberRange.new(0.07)
  758. pe2.Rate = 8
  759. pe2.Rotation = NumberRange.new(0, 360)
  760. pe2.RotSpeed = NumberRange.new(0)
  761. pe2.Speed = NumberRange.new(0)
  762. pe2.VelocitySpread = 180
  763. pe2.Parent = lleg.Glow
  764. local pea2 = pe2:Clone()
  765. pea2.Parent = rleg.Glow
  766. for l = 1, 30 do
  767. swait()
  768. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  769. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  770. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  771. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  772. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  773. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  774. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  775. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  776. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  777. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  778. end
  779. pe:Destroy()
  780. pe2:Destroy()
  781. pea:Destroy()
  782. pea2:Destroy()
  783. human.WalkSpeed = 50
  784. BV = Instance.new("BodyVelocity", tors)
  785. BV.maxForce = Vector3.new(0,100000,0)
  786. BV.P = 100000
  787. BV.velocity = Vector3.new(0,800,0)
  788. KABOOMZ2()
  789. coroutine.resume(coroutine.create(function()
  790. swait(3)
  791. BV:Destroy()
  792. end))
  793. for _ = 1, 18 do
  794. swait()
  795. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
  796. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
  797. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
  798. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  799. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
  800. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  801. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
  802. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  803. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
  804. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  805. end
  806. for _ = 1, 18 do
  807. swait()
  808. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  809. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  810. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  811. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  812. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  813. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  814. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  815. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  816. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  817. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  818. end
  819. resetlerp()
  820. local ry,ht,ps=nil,nil,nil
  821. while ht==nil do
  822. ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
  823. wait()
  824. end
  825. human.WalkSpeed = 0
  826. Landing()
  827. z = Instance.new("Sound",tors)
  828. z.SoundId = "rbxassetid://142070127"
  829. z.Volume = 2
  830. wait(.1)
  831. z:Play()
  832.  
  833. for l = 1, 30 do
  834. swait()
  835. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  836. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  837. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  838. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  839. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  840. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  841. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  842. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  843. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  844. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  845. end
  846. resetlerp()
  847. human.WalkSpeed = 16
  848.  
  849. activu = false
  850. end
  851.  
  852.  
  853.  
  854. local acos = math.acos
  855. local sqrt = math.sqrt
  856. local Vec3 = Vector3.new
  857. local fromAxisAngle = CFrame.fromAxisAngle
  858.  
  859. local function toAxisAngle(CFr)
  860. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  861. local Angle = math.acos((R00+R11+R22-1)/2)
  862. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  863. A = A == 0 and 0.00001 or A
  864. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  865. B = B == 0 and 0.00001 or B
  866. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  867. C = C == 0 and 0.00001 or C
  868. local x = (R21-R12)/sqrt(A)
  869. local y = (R02-R20)/sqrt(B)
  870. local z = (R10-R01)/sqrt(C)
  871. return Vec3(x,y,z),Angle
  872. end
  873.  
  874. function ApplyTrig(Num,Func)
  875. local Min,Max = Func(0),Func(1)
  876. local i = Func(Num)
  877. return (i-Min)/(Max-Min)
  878. --[[if Func == "sin" then
  879. return (math.sin((1-Num)*math.pi)+1)/2
  880. elseif Func == "cos" then
  881. return (math.cos((1-Num)*math.pi)+1)/2
  882. end]]
  883. end
  884.  
  885. function LerpCFrame(CFrame1,CFrame2,Num)
  886. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  887. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  888. end
  889.  
  890. function Crater(Torso,Radius)
  891. spawn(function()
  892. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  893. local Ignore = {}
  894. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  895. if v.Character ~= nil then
  896. Ignore[#Ignore+1] = v.Character
  897. end
  898. end
  899. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  900. if Hit == nil then return end
  901. local Parts = {}
  902. for i = 1,360,10 do
  903. local P = Instance.new("Part",Torso.Parent)
  904. P.Anchored = true
  905. P.FormFactor = "Custom"
  906. P.BrickColor = Hit.BrickColor
  907. P.Material = Hit.Material
  908. P.TopSurface = "Smooth"
  909. P.BottomSurface = "Smooth"
  910. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  911. 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)))
  912. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  913. if math.random(0,5) == 0 then -- rubble
  914. local P = Instance.new("Part",Torso.Parent)
  915. P.Anchored = true
  916. P.FormFactor = "Custom"
  917. P.BrickColor = Hit.BrickColor
  918. P.Material = Hit.Material
  919. P.TopSurface = "Smooth"
  920. P.BottomSurface = "Smooth"
  921. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  922. 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)))
  923. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  924. end
  925. end
  926. for i = 0,1,0.05 do
  927. for i2,v in pairs(Parts) do
  928. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  929. end
  930. wait(0.02)
  931. end
  932. for i,v in pairs(Parts) do
  933. if v[1].Size.X > 2.1 then
  934. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  935. end
  936. v[1].Anchored = false
  937. end
  938. for i = 0,1,0.05 do
  939. for i2,v in pairs(Parts) do
  940. v[1].Transparency = i
  941. if i == 1 then
  942. v[1]:Destroy()
  943. elseif i >= 0.25 then
  944. v[1].CanCollide = false
  945. end
  946. end
  947. wait(0.02)
  948. end
  949. Parts = nil
  950. end)
  951. end
  952.  
  953.  
  954. function FindNearestTorso(Position,Distance,SinglePlayer)
  955. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  956. local List = {}
  957. for i,v in pairs(workspace:GetChildren())do
  958. if v:IsA("Model")then
  959. if v:findFirstChild("Torso")then
  960. if v ~= chr then
  961. if(v.Torso.Position -Position).magnitude <= Distance then
  962. table.insert(List,v)
  963. end
  964. end
  965. end
  966. end
  967. end
  968. return List
  969. end
  970.  
  971. function KABOOMZ()
  972. local effspwn = Instance.new("Part")
  973. coroutine.resume(coroutine.create(function()
  974. local sound1 = Instance.new("Sound")
  975. sound1.SoundId = "rbxassetid://138137702"
  976. sound1.MaxDistance = 300
  977. sound1.EmitterSize = 20
  978. sound1.Volume = 5
  979. sound1.Pitch = 0.95
  980. sound1.Parent = effspwn
  981. local sound2 = Instance.new("Sound")
  982. sound2.SoundId = "rbxassetid://157878578"
  983. sound2.MaxDistance = 300
  984. sound2.EmitterSize = 20
  985. sound2.Volume = 2
  986. sound2.Pitch = 0.9
  987. sound2.Parent = effspwn
  988. local sound3 = Instance.new("Sound")
  989. sound3.SoundId = "rbxassetid://138250406"
  990. sound2.MaxDistance = 400
  991. sound2.EmitterSize = 30
  992. sound2.Volume = 1.5
  993. sound2.Pitch = 0.6
  994. sound2.Parent = effspwn
  995. sound2:Play()
  996. wait()
  997. sound1:Play()
  998. sound3:Play()
  999. end))
  1000. local model = Instance.new("Model")
  1001. game.Debris:AddItem(model, 20)
  1002. model.Name = "smasheffects"
  1003. model.Parent = workspace
  1004. effspwn.Name = "spwnr"
  1005. effspwn.Size = Vector3.new(1, 1, 1)
  1006. effspwn.Anchored = true
  1007. effspwn.CanCollide = false
  1008. effspwn.Transparency = 1
  1009. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  1010. effspwn.Parent = model
  1011.  
  1012. Crater(head,60)
  1013.  
  1014. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1015. if v:FindFirstChild('Humanoid') then
  1016. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1017. v.Humanoid.PlatformStand = true
  1018. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1019. end
  1020. end
  1021. coroutine.resume(coroutine.create(function()
  1022. local shok = Instance.new("Part")
  1023. shok.Name = "whoosh"
  1024. shok.BrickColor = BrickColor.new("Institutional white")
  1025. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1026. shok.Size = Vector3.new(1, 1, 1)
  1027. shok.Anchored = true
  1028. shok.Material = "Neon"
  1029. shok.Transparency = 0.1
  1030. shok.CanCollide = false
  1031. shok.Parent = model
  1032. game.Debris:AddItem(shok, 12)
  1033. local mesh = Instance.new("SpecialMesh")
  1034. mesh.MeshType = "FileMesh"
  1035. mesh.MeshId = "rbxassetid://437347603"
  1036. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  1037. mesh.Parent = shok
  1038. for e = 1, 8 do
  1039. wait()
  1040. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  1041. shok.Transparency = shok.Transparency + 0.035
  1042. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  1043. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1044. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1045. end
  1046. for e = 1, 16 do
  1047. wait()
  1048. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  1049. shok.Transparency = shok.Transparency + 0.11
  1050. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  1051. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  1052. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1053. end
  1054. end))
  1055. coroutine.resume(coroutine.create(function()
  1056. local shok = Instance.new("Part")
  1057. shok.Name = "wring1"
  1058. shok.BrickColor = BrickColor.new("Institutional white")
  1059. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1060. shok.Size = Vector3.new(1, 1, 1)
  1061. shok.Anchored = true
  1062. shok.Material = "Neon"
  1063. shok.Transparency = 0.25
  1064. shok.CanCollide = false
  1065. shok.Parent = model
  1066. game.Debris:AddItem(shok, 12)
  1067. local mesh = Instance.new("SpecialMesh")
  1068. mesh.MeshType = "FileMesh"
  1069. mesh.MeshId = "rbxassetid://3270017"
  1070. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1071. mesh.Parent = shok
  1072. for e = 1, 30 do
  1073. wait()
  1074. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1075. shok.Transparency = shok.Transparency + 0.002
  1076. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1077. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1078. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1079.  
  1080. end
  1081. for e = 1, 38 do
  1082. wait()
  1083. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1084. shok.Transparency = shok.Transparency + 0.002
  1085. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1086. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1087. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1088.  
  1089. end
  1090. for e = 1, 24 do
  1091. wait()
  1092. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1093. shok.Transparency = shok.Transparency + 0.03
  1094. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1095. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1096. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1097.  
  1098. end
  1099. end))
  1100. coroutine.resume(coroutine.create(function()
  1101. local shok = Instance.new("Part")
  1102. shok.Name = "wring2"
  1103. shok.BrickColor = BrickColor.new("Institutional white")
  1104. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1105. shok.Size = Vector3.new(1, 1, 1)
  1106. shok.Anchored = true
  1107. shok.Material = "Neon"
  1108. shok.Transparency = 0.25
  1109. shok.CanCollide = false
  1110. shok.Parent = model
  1111. game.Debris:AddItem(shok, 12)
  1112. local mesh = Instance.new("SpecialMesh")
  1113. mesh.MeshType = "FileMesh"
  1114. mesh.MeshId = "rbxassetid://3270017"
  1115. mesh.Scale = Vector3.new(12, 12, 0.05)
  1116. mesh.Parent = shok
  1117. for e = 1, 30 do
  1118. wait()
  1119. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1120. shok.Transparency = shok.Transparency + 0.002
  1121. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1122. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1123. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1124.  
  1125. end
  1126. for e = 1, 38 do
  1127. wait()
  1128. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1129. shok.Transparency = shok.Transparency + 0.002
  1130. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1131. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1132. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1133.  
  1134. end
  1135. for e = 1, 24 do
  1136. wait()
  1137. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1138. shok.Transparency = shok.Transparency + 0.03
  1139. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1140. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1141. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1142.  
  1143. end
  1144. end))
  1145. coroutine.resume(coroutine.create(function()
  1146. local shok = Instance.new("Part")
  1147. shok.Name = "coil1"
  1148. shok.BrickColor = BrickColor.new("Institutional white")
  1149. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1150. shok.Size = Vector3.new(1, 1, 1)
  1151. shok.Anchored = true
  1152. shok.Material = "Neon"
  1153. shok.Transparency = 0.25
  1154. shok.CanCollide = false
  1155. shok.Parent = model
  1156. game.Debris:AddItem(shok, 12)
  1157. local mesh = Instance.new("SpecialMesh")
  1158. mesh.MeshType = "FileMesh"
  1159. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1160. mesh.Scale = Vector3.new(12, 12, 12)
  1161. mesh.Parent = shok
  1162. for e = 1, 15 do
  1163. wait()
  1164. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1165. shok.Transparency = shok.Transparency + 0.004
  1166. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1167. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1168. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1169.  
  1170. end
  1171. for e = 1, 16 do
  1172. wait()
  1173. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1174. shok.Transparency = shok.Transparency + 0.004
  1175. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1176. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1177. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1178.  
  1179. end
  1180. for e = 1, 12 do
  1181. wait()
  1182. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1183. shok.Transparency = shok.Transparency + 0.06
  1184. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1185. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1186. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1187.  
  1188. end
  1189. end))
  1190. coroutine.resume(coroutine.create(function()
  1191. local shok = Instance.new("Part")
  1192. shok.Name = "coil2"
  1193. shok.BrickColor = BrickColor.new("Institutional white")
  1194. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1195. shok.Size = Vector3.new(1, 1, 1)
  1196. shok.Anchored = true
  1197. shok.Material = "Neon"
  1198. shok.Transparency = 0.25
  1199. shok.CanCollide = false
  1200. shok.Parent = model
  1201. game.Debris:AddItem(shok, 12)
  1202. local mesh = Instance.new("SpecialMesh")
  1203. mesh.MeshType = "FileMesh"
  1204. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1205. mesh.Scale = Vector3.new(6, 12, 6)
  1206. mesh.Parent = shok
  1207. for e = 1, 15 do
  1208. wait()
  1209. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1210. shok.Transparency = shok.Transparency + 0.005
  1211. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1212. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1213. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1214.  
  1215. end
  1216. for e = 1, 16 do
  1217. wait()
  1218. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1219. shok.Transparency = shok.Transparency + 0.005
  1220. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1221. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1222. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1223.  
  1224. end
  1225. for e = 1, 12 do
  1226. wait()
  1227. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1228. shok.Transparency = shok.Transparency + 0.09
  1229. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1230. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1231. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1232.  
  1233. end
  1234. end))
  1235. coroutine.resume(coroutine.create(function()
  1236. local shok = Instance.new("Part")
  1237. shok.Name = "shokwve"
  1238. shok.BrickColor = BrickColor.new("Institutional white")
  1239. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  1240. shok.Size = Vector3.new(1, 1, 1)
  1241. shok.Anchored = true
  1242. shok.Material = "Neon"
  1243. shok.Transparency = 0.6
  1244. shok.CanCollide = false
  1245. shok.Parent = model
  1246. game.Debris:AddItem(shok, 12)
  1247. local mesh = Instance.new("SpecialMesh")
  1248. mesh.MeshType = "FileMesh"
  1249. mesh.MeshId = "rbxassetid://489415447"
  1250. mesh.Scale = Vector3.new(1, 1, 1)
  1251. mesh.Parent = shok
  1252. for e = 1, 12 do
  1253. wait()
  1254. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1255. shok.Transparency = shok.Transparency + 0.002
  1256. end
  1257. for e = 1, 32 do
  1258. wait()
  1259. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1260. shok.Transparency = shok.Transparency + 0.002
  1261. end
  1262. for e = 1, 24 do
  1263. wait()
  1264. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1265. shok.Transparency = shok.Transparency + 0.03
  1266. end
  1267. end))
  1268. coroutine.resume(coroutine.create(function()
  1269. local shok = Instance.new("Part")
  1270. shok.Name = "shock2"
  1271. shok.BrickColor = BrickColor.new("Institutional white")
  1272. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1273. shok.Size = Vector3.new(1, 1, 1)
  1274. shok.Anchored = true
  1275. shok.Material = "Neon"
  1276. shok.Transparency = 0.35
  1277. shok.CanCollide = false
  1278. shok.Parent = model
  1279. game.Debris:AddItem(shok, 12)
  1280. local mesh = Instance.new("SpecialMesh")
  1281. mesh.MeshType = "FileMesh"
  1282. mesh.MeshId = "rbxassetid://489415447"
  1283. mesh.Scale = Vector3.new(12, 12, 12)
  1284. mesh.Parent = shok
  1285. for e = 1, 15 do
  1286. wait()
  1287. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1288. shok.Transparency = shok.Transparency + 0.004
  1289. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1290. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1291.  
  1292. end
  1293. for e = 1, 16 do
  1294. wait()
  1295. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1296. shok.Transparency = shok.Transparency + 0.004
  1297. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1298. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1299.  
  1300. end
  1301. for e = 1, 12 do
  1302. wait()
  1303. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1304. shok.Transparency = shok.Transparency + 0.06
  1305. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1306. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1307.  
  1308. end
  1309. end))
  1310. coroutine.resume(coroutine.create(function()
  1311. local shok = Instance.new("Part")
  1312. shok.Name = "shock3"
  1313. shok.BrickColor = BrickColor.new("Institutional white")
  1314. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1315. shok.Size = Vector3.new(1, 1, 1)
  1316. shok.Anchored = true
  1317. shok.Material = "Neon"
  1318. shok.Transparency = 0.35
  1319. shok.CanCollide = false
  1320. shok.Parent = model
  1321. game.Debris:AddItem(shok, 12)
  1322. local mesh = Instance.new("SpecialMesh")
  1323. mesh.MeshType = "FileMesh"
  1324. mesh.MeshId = "rbxassetid://489415447"
  1325. mesh.Scale = Vector3.new(12, 12, 12)
  1326. mesh.Parent = shok
  1327. for e = 1, 15 do
  1328. wait()
  1329. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1330. shok.Transparency = shok.Transparency + 0.004
  1331. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1332. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1333. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1334.  
  1335. end
  1336. for e = 1, 16 do
  1337. wait()
  1338. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1339. shok.Transparency = shok.Transparency + 0.004
  1340. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1341. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1342. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1343.  
  1344. end
  1345. for e = 1, 12 do
  1346. wait()
  1347. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1348. shok.Transparency = shok.Transparency + 0.06
  1349. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1350. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1351. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1352.  
  1353. end
  1354. end))
  1355. end
  1356. function KABOOMZ2()
  1357. local effspwn = Instance.new("Part")
  1358. coroutine.resume(coroutine.create(function()
  1359. local sound1 = Instance.new("Sound")
  1360. sound1.SoundId = "rbxassetid://138137702"
  1361. sound1.MaxDistance = 300
  1362. sound1.EmitterSize = 20
  1363. sound1.Volume = 2.5
  1364. sound1.Pitch = 0.65
  1365. sound1.Parent = effspwn
  1366. local sound2 = Instance.new("Sound")
  1367. sound2.SoundId = "rbxassetid://157878578"
  1368. sound2.MaxDistance = 300
  1369. sound2.EmitterSize = 20
  1370. sound2.Volume = 1
  1371. sound2.Pitch = 0.7
  1372. sound2.Parent = effspwn
  1373. local sound3 = Instance.new("Sound")
  1374. sound3.SoundId = "rbxassetid://138250406"
  1375. sound2.MaxDistance = 400
  1376. sound2.EmitterSize = 30
  1377. sound2.Volume = 0.5
  1378. sound2.Pitch = 0.5
  1379. sound2.Parent = effspwn
  1380. sound2:Play()
  1381. wait()
  1382. sound1:Play()
  1383. sound3:Play()
  1384. end))
  1385. local model = Instance.new("Model")
  1386. game.Debris:AddItem(model, 20)
  1387. model.Name = "smasheffects"
  1388. model.Parent = workspace
  1389. effspwn.Name = "spwnr"
  1390. effspwn.Size = Vector3.new(1, 1, 1)
  1391. effspwn.Anchored = true
  1392. effspwn.CanCollide = false
  1393. effspwn.Transparency = 1
  1394. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1395. effspwn.Parent = model
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401. Crater(head,60)
  1402. Crater(head,120)
  1403.  
  1404. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1405. if v:FindFirstChild('Humanoid') then
  1406. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1407. v.Humanoid.PlatformStand = true
  1408. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1409. end
  1410. end
  1411.  
  1412. coroutine.resume(coroutine.create(function()
  1413. local shok = Instance.new("Part")
  1414. shok.Name = "whoosh"
  1415. shok.BrickColor = BrickColor.new("Institutional white")
  1416. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1417. shok.Size = Vector3.new(1, 1, 1)
  1418. shok.Anchored = true
  1419. shok.Material = "Neon"
  1420. shok.Transparency = 0.1
  1421. shok.CanCollide = false
  1422. shok.Parent = model
  1423. game.Debris:AddItem(shok, 12)
  1424. local mesh = Instance.new("SpecialMesh")
  1425. mesh.MeshType = "FileMesh"
  1426. mesh.MeshId = "rbxassetid://437347603"
  1427. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  1428. mesh.Parent = shok
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434. for e = 1, 8 do
  1435. wait()
  1436. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  1437. shok.Transparency = shok.Transparency + 0.035
  1438. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  1439. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1440. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1441.  
  1442. end
  1443. for e = 1, 16 do
  1444. wait()
  1445. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  1446. shok.Transparency = shok.Transparency + 0.11
  1447. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  1448. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  1449. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1450.  
  1451. end
  1452. end))
  1453. coroutine.resume(coroutine.create(function()
  1454. local shok = Instance.new("Part")
  1455. shok.Name = "wring1"
  1456. shok.BrickColor = BrickColor.new("Institutional white")
  1457. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1458. shok.Size = Vector3.new(1, 1, 1)
  1459. shok.Anchored = true
  1460. shok.Material = "Neon"
  1461. shok.Transparency = 0.25
  1462. shok.CanCollide = false
  1463. shok.Parent = model
  1464. game.Debris:AddItem(shok, 12)
  1465. local mesh = Instance.new("SpecialMesh")
  1466. mesh.MeshType = "FileMesh"
  1467. mesh.MeshId = "rbxassetid://3270017"
  1468. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1469. mesh.Parent = shok
  1470. for e = 1, 30 do
  1471. wait()
  1472. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1473. shok.Transparency = shok.Transparency + 0.002
  1474. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1475. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1476. end
  1477. for e = 1, 38 do
  1478. wait()
  1479. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1480. shok.Transparency = shok.Transparency + 0.002
  1481. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1482. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1483. end
  1484. for e = 1, 24 do
  1485. wait()
  1486. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1487. shok.Transparency = shok.Transparency + 0.03
  1488. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1489. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1490. end
  1491. end))
  1492. coroutine.resume(coroutine.create(function()
  1493. local shok = Instance.new("Part")
  1494. shok.Name = "wring2"
  1495. shok.BrickColor = BrickColor.new("Institutional white")
  1496. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1497. shok.Size = Vector3.new(1, 1, 1)
  1498. shok.Anchored = true
  1499. shok.Material = "Neon"
  1500. shok.Transparency = 0.25
  1501. shok.CanCollide = false
  1502. shok.Parent = model
  1503. game.Debris:AddItem(shok, 12)
  1504. local mesh = Instance.new("SpecialMesh")
  1505. mesh.MeshType = "FileMesh"
  1506. mesh.MeshId = "rbxassetid://3270017"
  1507. mesh.Scale = Vector3.new(12, 12, 0.05)
  1508. mesh.Parent = shok
  1509. for e = 1, 30 do
  1510. wait()
  1511. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1512. shok.Transparency = shok.Transparency + 0.002
  1513. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1514. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1515. end
  1516. for e = 1, 38 do
  1517. wait()
  1518. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1519. shok.Transparency = shok.Transparency + 0.002
  1520. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1521. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1522. end
  1523. for e = 1, 24 do
  1524. wait()
  1525. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1526. shok.Transparency = shok.Transparency + 0.03
  1527. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1528. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1529. end
  1530. end))
  1531. coroutine.resume(coroutine.create(function()
  1532. local shok = Instance.new("Part")
  1533. shok.Name = "coil1"
  1534. shok.BrickColor = BrickColor.new("Institutional white")
  1535. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1536. shok.Size = Vector3.new(1, 1, 1)
  1537. shok.Anchored = true
  1538. shok.Material = "Neon"
  1539. shok.Transparency = 0.25
  1540. shok.CanCollide = false
  1541. shok.Parent = model
  1542. game.Debris:AddItem(shok, 12)
  1543. local mesh = Instance.new("SpecialMesh")
  1544. mesh.MeshType = "FileMesh"
  1545. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1546. mesh.Scale = Vector3.new(12, 12, 12)
  1547. mesh.Parent = shok
  1548. for e = 1, 15 do
  1549. wait()
  1550. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1551. shok.Transparency = shok.Transparency + 0.004
  1552. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1553. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1554. end
  1555. for e = 1, 16 do
  1556. wait()
  1557. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1558. shok.Transparency = shok.Transparency + 0.004
  1559. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1560. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1561. end
  1562. for e = 1, 12 do
  1563. wait()
  1564. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1565. shok.Transparency = shok.Transparency + 0.06
  1566. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1567. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1568. end
  1569. end))
  1570. coroutine.resume(coroutine.create(function()
  1571. local shok = Instance.new("Part")
  1572. shok.Name = "coil2"
  1573. shok.BrickColor = BrickColor.new("Institutional white")
  1574. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1575. shok.Size = Vector3.new(1, 1, 1)
  1576. shok.Anchored = true
  1577. shok.Material = "Neon"
  1578. shok.Transparency = 0.25
  1579. shok.CanCollide = false
  1580. shok.Parent = model
  1581. game.Debris:AddItem(shok, 12)
  1582. local mesh = Instance.new("SpecialMesh")
  1583. mesh.MeshType = "FileMesh"
  1584. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1585. mesh.Scale = Vector3.new(6, 12, 6)
  1586. mesh.Parent = shok
  1587. for e = 1, 15 do
  1588. wait()
  1589. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1590. shok.Transparency = shok.Transparency + 0.005
  1591. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1592. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1593. end
  1594. for e = 1, 16 do
  1595. wait()
  1596. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1597. shok.Transparency = shok.Transparency + 0.005
  1598. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1599. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1600. end
  1601. for e = 1, 12 do
  1602. wait()
  1603. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1604. shok.Transparency = shok.Transparency + 0.09
  1605. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1606. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1607. end
  1608. end))
  1609. coroutine.resume(coroutine.create(function()
  1610. local shok = Instance.new("Part")
  1611. shok.Name = "shokwve"
  1612. shok.BrickColor = BrickColor.new("Institutional white")
  1613. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  1614. shok.Size = Vector3.new(1, 1, 1)
  1615. shok.Anchored = true
  1616. shok.Material = "Neon"
  1617. shok.Transparency = 0.6
  1618. shok.CanCollide = false
  1619. shok.Parent = model
  1620. game.Debris:AddItem(shok, 12)
  1621. local mesh = Instance.new("SpecialMesh")
  1622. mesh.MeshType = "FileMesh"
  1623. mesh.MeshId = "rbxassetid://489415447"
  1624. mesh.Scale = Vector3.new(1, 1, 1)
  1625. mesh.Parent = shok
  1626. for e = 1, 12 do
  1627. wait()
  1628. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1629. shok.Transparency = shok.Transparency + 0.002
  1630. end
  1631. for e = 1, 32 do
  1632. wait()
  1633. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1634. shok.Transparency = shok.Transparency + 0.002
  1635. end
  1636. for e = 1, 24 do
  1637. wait()
  1638. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1639. shok.Transparency = shok.Transparency + 0.03
  1640. end
  1641. end))
  1642. coroutine.resume(coroutine.create(function()
  1643. local shok = Instance.new("Part")
  1644. shok.Name = "shock2"
  1645. shok.BrickColor = BrickColor.new("Institutional white")
  1646. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1647. shok.Size = Vector3.new(1, 1, 1)
  1648. shok.Anchored = true
  1649. shok.Material = "Neon"
  1650. shok.Transparency = 0.35
  1651. shok.CanCollide = false
  1652. shok.Parent = model
  1653. game.Debris:AddItem(shok, 12)
  1654. local mesh = Instance.new("SpecialMesh")
  1655. mesh.MeshType = "FileMesh"
  1656. mesh.MeshId = "rbxassetid://489415447"
  1657. mesh.Scale = Vector3.new(12, 12, 12)
  1658. mesh.Parent = shok
  1659. for e = 1, 15 do
  1660. wait()
  1661. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1662. shok.Transparency = shok.Transparency + 0.004
  1663. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1664. end
  1665. for e = 1, 16 do
  1666. wait()
  1667. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1668. shok.Transparency = shok.Transparency + 0.004
  1669. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1670. end
  1671. for e = 1, 12 do
  1672. wait()
  1673. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1674. shok.Transparency = shok.Transparency + 0.06
  1675. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1676. end
  1677. end))
  1678. coroutine.resume(coroutine.create(function()
  1679. local shok = Instance.new("Part")
  1680. shok.Name = "shock3"
  1681. shok.BrickColor = BrickColor.new("Institutional white")
  1682. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1683. shok.Size = Vector3.new(1, 1, 1)
  1684. shok.Anchored = true
  1685. shok.Material = "Neon"
  1686. shok.Transparency = 0.35
  1687. shok.CanCollide = false
  1688. shok.Parent = model
  1689. game.Debris:AddItem(shok, 12)
  1690. local mesh = Instance.new("SpecialMesh")
  1691. mesh.MeshType = "FileMesh"
  1692. mesh.MeshId = "rbxassetid://489415447"
  1693. mesh.Scale = Vector3.new(12, 12, 12)
  1694. mesh.Parent = shok
  1695. for e = 1, 15 do
  1696. wait()
  1697. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1698. shok.Transparency = shok.Transparency + 0.004
  1699. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1700. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1701. end
  1702. for e = 1, 16 do
  1703. wait()
  1704. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1705. shok.Transparency = shok.Transparency + 0.004
  1706. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1707. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1708. end
  1709. for e = 1, 12 do
  1710. wait()
  1711. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1712. shok.Transparency = shok.Transparency + 0.06
  1713. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1714. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1715. end
  1716. end))
  1717. end
  1718.  
  1719.  
  1720.  
  1721. tor = chr.Torso
  1722. Debounce = false
  1723.  
  1724. Invis = function()
  1725. for i = 1,20 do
  1726. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05
  1727. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
  1728. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
  1729. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
  1730. chr['Head'].Transparency = chr['Head'].Transparency + .05
  1731. chr['Torso'].Transparency = chr['Torso'].Transparency + .05
  1732. chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
  1733. game["Run Service"].RenderStepped:wait()
  1734. end
  1735. end
  1736.  
  1737. Vis = function()
  1738. for i = 1,20 do
  1739. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05
  1740. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
  1741. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
  1742. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
  1743. chr['Head'].Transparency = chr['Head'].Transparency - .05
  1744. chr['Torso'].Transparency = chr['Torso'].Transparency - .05
  1745. chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
  1746. game["Run Service"].RenderStepped:wait()
  1747. end
  1748. end
  1749.  
  1750. Fade = function(Part)
  1751. if Part:IsA'Part' then
  1752. for i = 1,20 do
  1753. Part.Transparency = Part.Transparency + .05
  1754. Part.Size = Part.Size - Vector3.new(.04,.04,.04)
  1755. Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
  1756. wait()
  1757. end
  1758. Part:Destroy()
  1759. end
  1760. end
  1761.  
  1762. Teleport = function(cx,cy,cz)
  1763. Debounce = true
  1764. tor.Anchored = true
  1765. Invis()
  1766. --MakeTpPart()
  1767. tor.Anchored = false
  1768. tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
  1769. tor.Anchored = true
  1770. Vis()
  1771. tor.Anchored = false
  1772. Debounce = false
  1773. end;
  1774.  
  1775.  
  1776.  
  1777. tps = Instance.new("Sound",chr)
  1778. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  1779. tps.Volume = 30
  1780.  
  1781.  
  1782. function Tele()
  1783. human.WalkSpeed = 0
  1784. if activu == true or selected == false then
  1785. return
  1786. end
  1787. coroutine.resume(coroutine.create(function()
  1788. fglow(rleg.Glow, 1)
  1789. fglow(lleg.Glow, 1)
  1790. end))
  1791. activu = true
  1792. local pe = Instance.new("ParticleEmitter")
  1793. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  1794. pe.LightEmission = 0.9
  1795. pe.Size = NumberSequence.new(0.5)
  1796. pe.Texture = "rbxassetid://272050333"
  1797. pe.Transparency = NumberSequence.new(0.1)
  1798. pe.Lifetime = NumberRange.new(0.1)
  1799. pe.Rate = 250
  1800. pe.RotSpeed = NumberRange.new(360)
  1801. pe.Speed = NumberRange.new(3)
  1802. pe.VelocitySpread = 360
  1803. pe.Parent = rleg.Glow
  1804. local pea = pe:Clone()
  1805. pea.Parent = lleg.Glow
  1806. local pe2 = Instance.new("ParticleEmitter")
  1807. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  1808. pe2.LightEmission = 0.9
  1809. pe2.Size = NumberSequence.new(5)
  1810. pe2.Texture = "rbxassetid://516107903"
  1811. pe2.Transparency = NumberSequence.new(0.4)
  1812. pe2.ZOffset = 2
  1813. pe2.Enabled = true
  1814. pe2.LockedToPart = true
  1815. pe2.Lifetime = NumberRange.new(0.07)
  1816. pe2.Rate = 8
  1817. pe2.Rotation = NumberRange.new(0, 360)
  1818. pe2.RotSpeed = NumberRange.new(0)
  1819. pe2.Speed = NumberRange.new(0)
  1820. pe2.VelocitySpread = 180
  1821. pe2.Parent = lleg.Glow
  1822. local pea2 = pe2:Clone()
  1823. pea2.Parent = rleg.Glow
  1824.  
  1825. for l = 1, 30 do
  1826. swait()
  1827. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  1828. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  1829. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  1830. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1831. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  1832. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1833. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  1834. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1835. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  1836. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1837. end
  1838.  
  1839. pe:Destroy()
  1840. pe2:Destroy()
  1841. pea:Destroy()
  1842. pea2:Destroy()
  1843. local rng = Instance.new("Part", chr)
  1844. rng.Anchored = true
  1845. rng.BrickColor = BrickColor.new("Institutional white")
  1846. rng.CanCollide = false
  1847. rng.FormFactor = 3
  1848. rng.Name = "Ring"
  1849. rng.Size = Vector3.new(1, 1, 1)
  1850. rng.Transparency = 0.5
  1851. rng.TopSurface = 0
  1852. rng.BottomSurface = 0
  1853. rng.Position = tors.Position - Vector3.new(0,2,0)
  1854. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1855. local rngm = Instance.new("SpecialMesh", rng)
  1856. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1857. rngm.Scale = Vector3.new(1, 1, 2)
  1858. coroutine.wrap(function()
  1859. for i = 1, 60, 8 do
  1860. rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
  1861. rng.Transparency = i/60
  1862. wait()
  1863. end
  1864. wait()
  1865. rng:Destroy()
  1866. end)()
  1867. tps:Play()
  1868. Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
  1869. resetlerp()
  1870. human.WalkSpeed = 16
  1871. activu = false
  1872.  
  1873. end
  1874.  
  1875.  
  1876.  
  1877.  
  1878. boom3 = Instance.new("Sound",chr)
  1879. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  1880. boom3.Volume = 50
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886. gprop = {}
  1887. function materialhit(hit)
  1888. if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  1889. gprop = {hit.BrickColor,hit.Material}
  1890. end
  1891. end
  1892. chr["Left Leg"].Touched:connect(materialhit)
  1893. chr["Right Leg"].Touched:connect(materialhit)
  1894.  
  1895.  
  1896. function KickBoom()
  1897. local effspwn = Instance.new("Part")
  1898. local model = Instance.new("Model")
  1899. game.Debris:AddItem(model, 20)
  1900. model.Name = "smasheffects"
  1901. model.Parent = chr
  1902. effspwn.Name = "spwnr"
  1903. effspwn.Size = Vector3.new(1, 1, 1)
  1904. effspwn.Anchored = true
  1905. effspwn.CanCollide = false
  1906. effspwn.Transparency = 1
  1907. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1908. effspwn.Parent = model
  1909.  
  1910. for i = 1, 15 do
  1911. local gtrace = Instance.new("Part",game.Workspace)
  1912. gtrace.BrickColor = gprop[1]
  1913. gtrace.Material = gprop[2]
  1914. gtrace.Size = Vector3.new(16,16,16)
  1915. gtrace.Anchored = true
  1916. gtrace.CanCollide = false
  1917. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1918. local gdisp = coroutine.wrap(function()
  1919. wait(3)
  1920. for i = 1, 9 do
  1921. wait(.1)
  1922. gtrace.Transparency = gtrace.Transparency + .1
  1923. end
  1924. gtrace:Destroy()
  1925. end)
  1926. gdisp()
  1927. end
  1928.  
  1929. Crater(head,67)
  1930.  
  1931. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1932. if v:FindFirstChild('Humanoid') then
  1933. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1934. v.Humanoid.PlatformStand = true
  1935. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
  1936. end
  1937. end
  1938.  
  1939. coroutine.resume(coroutine.create(function()
  1940. local shok = Instance.new("Part")
  1941. shok.Name = "shock3"
  1942. shok.BrickColor = BrickColor.new("Institutional white")
  1943. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1944. shok.Size = Vector3.new(1, 1, 1)
  1945. shok.Anchored = true
  1946. shok.Material = "Neon"
  1947. shok.Transparency = 0.35
  1948. shok.CanCollide = false
  1949. shok.Parent = model
  1950. game.Debris:AddItem(shok, 12)
  1951. local mesh = Instance.new("SpecialMesh")
  1952. mesh.MeshType = "FileMesh"
  1953. mesh.MeshId = "rbxassetid://489415447"
  1954. mesh.Scale = Vector3.new(19, 19, 19)
  1955. mesh.Parent = shok
  1956. for e = 1, 15 do
  1957. wait()
  1958. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1959. shok.Transparency = shok.Transparency + 0.004
  1960. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1961. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1962. end
  1963. for e = 1, 16 do
  1964. wait()
  1965. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1966. shok.Transparency = shok.Transparency + 0.004
  1967. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1968. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1969. end
  1970. for e = 1, 12 do
  1971. wait()
  1972. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1973. shok.Transparency = shok.Transparency + 0.06
  1974. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1975. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1976. end
  1977. end))
  1978.  
  1979.  
  1980. coroutine.resume(coroutine.create(function()
  1981. local shok = Instance.new("Part")
  1982. shok.Name = "shock3"
  1983. shok.BrickColor = BrickColor.new("Institutional white")
  1984. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1985. shok.Size = Vector3.new(1, 1, 1)
  1986. shok.Anchored = true
  1987. shok.Material = "Neon"
  1988. shok.Transparency = 0.35
  1989. shok.CanCollide = false
  1990. shok.Parent = model
  1991. game.Debris:AddItem(shok, 12)
  1992. local mesh = Instance.new("SpecialMesh")
  1993. mesh.MeshType = "FileMesh"
  1994. mesh.MeshId = "rbxassetid://489415447"
  1995. mesh.Scale = Vector3.new(47, 47, 47)
  1996. mesh.Parent = shok
  1997. for e = 1, 15 do
  1998. wait()
  1999. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2000. shok.Transparency = shok.Transparency + 0.004
  2001. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2002. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2003. end
  2004. for e = 1, 16 do
  2005. wait()
  2006. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2007. shok.Transparency = shok.Transparency + 0.004
  2008. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2009. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2010. end
  2011. for e = 1, 12 do
  2012. wait()
  2013. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2014. shok.Transparency = shok.Transparency + 0.06
  2015. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2016. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2017. end
  2018. end))
  2019.  
  2020. coroutine.resume(coroutine.create(function()
  2021. local shok = Instance.new("Part")
  2022. shok.Name = "shock3"
  2023. shok.BrickColor = BrickColor.new("Institutional white")
  2024. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2025. shok.Size = Vector3.new(1, 1, 1)
  2026. shok.Anchored = true
  2027. shok.Material = "Neon"
  2028. shok.Transparency = 0.35
  2029. shok.CanCollide = false
  2030. shok.Parent = model
  2031. game.Debris:AddItem(shok, 12)
  2032. local mesh = Instance.new("SpecialMesh")
  2033. mesh.MeshType = "FileMesh"
  2034. mesh.MeshId = "rbxassetid://489415447"
  2035. mesh.Scale = Vector3.new(79, 79, 79)
  2036. mesh.Parent = shok
  2037. for e = 1, 15 do
  2038. wait()
  2039. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2040. shok.Transparency = shok.Transparency + 0.004
  2041. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2042. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2043. end
  2044. for e = 1, 16 do
  2045. wait()
  2046. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2047. shok.Transparency = shok.Transparency + 0.004
  2048. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2049. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2050. end
  2051. for e = 1, 12 do
  2052. wait()
  2053. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2054. shok.Transparency = shok.Transparency + 0.06
  2055. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2056. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2057. end
  2058. end))
  2059. end
  2060.  
  2061.  
  2062.  
  2063.  
  2064. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2065. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2066. end
  2067. cam = workspace.CurrentCamera
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076. function NoOutline(Part)
  2077. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2078. end
  2079.  
  2080.  
  2081.  
  2082.  
  2083. it = Instance.new
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094. so = function(id,par,vol,pit)
  2095. coroutine.resume(coroutine.create(function()
  2096. local sou = Instance.new("Sound",par or workspace)
  2097. sou.Volume=vol
  2098. sou.Pitch=pit or 1
  2099. sou.SoundId=id
  2100. swait()
  2101. sou:play()
  2102. game:GetService("Debris"):AddItem(sou,6)
  2103. end))
  2104. end
  2105.  
  2106.  
  2107. function Stom()
  2108.  
  2109. cf=CFrame.new
  2110. angles=CFrame.Angles
  2111. euler=CFrame.fromEulerAnglesXYZ
  2112. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2113. RootPart=chr.HumanoidRootPart
  2114. RootJoint=RootPart.RootJoint
  2115. RootCF=euler(-1.57,0,3.14)
  2116.  
  2117. function QuaternionFromCFrame(cf)
  2118. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2119. local trace = m00 + m11 + m22
  2120. if trace > 0 then
  2121. local s = math.sqrt(1 + trace)
  2122. local recip = 0.5/s
  2123. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2124. else
  2125. local i = 0
  2126. if m11 > m00 then
  2127. i = 1
  2128. end
  2129. if m22 > (i == 0 and m00 or m11) then
  2130. i = 2
  2131. end
  2132. if i == 0 then
  2133. local s = math.sqrt(m00-m11-m22+1)
  2134. local recip = 0.5/s
  2135. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2136. elseif i == 1 then
  2137. local s = math.sqrt(m11-m22-m00+1)
  2138. local recip = 0.5/s
  2139. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2140. elseif i == 2 then
  2141. local s = math.sqrt(m22-m00-m11+1)
  2142. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2143. end
  2144. end
  2145. end
  2146.  
  2147. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2148. local xs, ys, zs = x + x, y + y, z + z
  2149. local wx, wy, wz = w*xs, w*ys, w*zs
  2150. local xx = x*xs
  2151. local xy = x*ys
  2152. local xz = x*zs
  2153. local yy = y*ys
  2154. local yz = y*zs
  2155. local zz = z*zs
  2156. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  2157. end
  2158.  
  2159. function QuaternionSlerp(a, b, t)
  2160. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2161. local startInterp, finishInterp;
  2162. if cosTheta >= 0.0001 then
  2163. if (1 - cosTheta) > 0.0001 then
  2164. local theta = math.acos(cosTheta)
  2165. local invSinTheta = 1/math.sin(theta)
  2166. startInterp = math.sin((1-t)*theta)*invSinTheta
  2167. finishInterp = math.sin(t*theta)*invSinTheta
  2168. else
  2169. startInterp = 1-t
  2170. finishInterp = t
  2171. end
  2172. else
  2173. if (1+cosTheta) > 0.0001 then
  2174. local theta = math.acos(-cosTheta)
  2175. local invSinTheta = 1/math.sin(theta)
  2176. startInterp = math.sin((t-1)*theta)*invSinTheta
  2177. finishInterp = math.sin(t*theta)*invSinTheta
  2178. else
  2179. startInterp = t-1
  2180. finishInterp = t
  2181. end
  2182. end
  2183. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  2184. end
  2185.  
  2186. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2187. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2188. end
  2189.  
  2190. function clerp(a,b,t)
  2191. local qa = {QuaternionFromCFrame(a)}
  2192. local qb = {QuaternionFromCFrame(b)}
  2193. local ax, ay, az = a.x, a.y, a.z
  2194. local bx, by, bz = b.x, b.y, b.z
  2195. local _t = 1-t
  2196. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2197. end
  2198.  
  2199.  
  2200.  
  2201. if activu == true or selected == false then
  2202. return
  2203. end
  2204. coroutine.resume(coroutine.create(function()
  2205. fglow(lleg.Glow, 6)
  2206. end))
  2207. activu = true
  2208. local pe = Instance.new("ParticleEmitter")
  2209. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2210. pe.LightEmission = 0.9
  2211. pe.Size = NumberSequence.new(0.5)
  2212. pe.Texture = "rbxassetid://272050333"
  2213. pe.Transparency = NumberSequence.new(0.1)
  2214. pe.Lifetime = NumberRange.new(0.1)
  2215. pe.Rate = 250
  2216. pe.RotSpeed = NumberRange.new(360)
  2217. pe.Speed = NumberRange.new(3)
  2218. pe.VelocitySpread = 360
  2219. pe.Parent = lleg.Glow
  2220. local pea = pe:Clone()
  2221. pea.Parent = lleg.Glow
  2222. wait(0.5)
  2223. local pe2 = Instance.new("ParticleEmitter")
  2224. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2225. pe2.LightEmission = 0.9
  2226. pe2.Size = NumberSequence.new(5)
  2227. pe2.Texture = "rbxassetid://516107903"
  2228. pe2.Transparency = NumberSequence.new(0.4)
  2229. pe2.ZOffset = 2
  2230. pe2.Enabled = true
  2231. pe2.LockedToPart = true
  2232. pe2.Lifetime = NumberRange.new(0.07)
  2233. pe2.Rate = 8
  2234. pe2.Rotation = NumberRange.new(0, 360)
  2235. pe2.RotSpeed = NumberRange.new(0)
  2236. pe2.Speed = NumberRange.new(0)
  2237. pe2.VelocitySpread = 180
  2238. pe2.Parent = lleg.Glow
  2239. local pea2 = pe2:Clone()
  2240. pea2.Parent = lleg.Glow
  2241. local Mus = Instance.new("Sound",workspace)
  2242. Mus.SoundId = "rbxassetid://802518140"
  2243. Mus.Pitch = 1
  2244. Mus.Volume = 90000
  2245. Mus.Looped = false
  2246. wait(0.9)
  2247. Mus:Play()
  2248.  
  2249.  
  2250.  
  2251. human.WalkSpeed = 0
  2252. for i = 0,1,0.1 do
  2253. swait()
  2254. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2255. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2256. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2257. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2258. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  2259. LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2260. end
  2261. wait(1)
  2262. for i = 0,1,0.1 do
  2263. swait()
  2264. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2265. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2266. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2267. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2268. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  2269. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2270. end
  2271. KickBoom()
  2272. so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
  2273. so("http://roblox.com/asset/?id=321321137",lleg,1,1)
  2274. so("http://roblox.com/asset/?id=506384002",lleg,1,1)
  2275. so("http://roblox.com/asset/?id=157878578",lleg,25,1)
  2276. so("http://roblox.com/asset/?id=165970126",lleg,25,1)
  2277.  
  2278. wait(3)
  2279. human.WalkSpeed = 16
  2280. pe:Destroy()
  2281. pe2:Destroy()
  2282. pea:Destroy()
  2283. pea2:Destroy()
  2284. resetlerp()
  2285. activu = false
  2286. end
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292. function Smash()
  2293. for i = 1, 15 do
  2294. local gtrace = Instance.new("Part",game.Workspace)
  2295. gtrace.BrickColor = gprop[1]
  2296. gtrace.Material = gprop[2]
  2297. gtrace.Size = Vector3.new(19,19,19)
  2298. gtrace.Anchored = true
  2299. gtrace.CanCollide = false
  2300. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2301. local gdisp = coroutine.wrap(function()
  2302. wait(7)
  2303. for i = 1, 9 do
  2304. wait(.1)
  2305. gtrace.Transparency = gtrace.Transparency + .1
  2306. end
  2307. gtrace:Destroy()
  2308. end)
  2309. gdisp()
  2310. end
  2311.  
  2312. Crater(head,67)
  2313. end
  2314.  
  2315. function Smash2()
  2316. for i = 1, 15 do
  2317. local gtrace = Instance.new("Part",game.Workspace)
  2318. gtrace.BrickColor = gprop[1]
  2319. gtrace.Material = gprop[2]
  2320. gtrace.Size = Vector3.new(19,19,19)
  2321. gtrace.Anchored = true
  2322. gtrace.CanCollide = false
  2323. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2324. local gdisp = coroutine.wrap(function()
  2325. wait(7)
  2326. for i = 1, 9 do
  2327. wait(.1)
  2328. gtrace.Transparency = gtrace.Transparency + .1
  2329. end
  2330. gtrace:Destroy()
  2331. end)
  2332. gdisp()
  2333. end
  2334.  
  2335. end
  2336.  
  2337. function Smash3()
  2338. for i = 1, 15 do
  2339. local gtrace = Instance.new("Part",game.Workspace)
  2340. gtrace.BrickColor = gprop[1]
  2341. gtrace.Material = gprop[2]
  2342. gtrace.Size = Vector3.new(19,19,19)
  2343. gtrace.Anchored = true
  2344. gtrace.CanCollide = false
  2345. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2346. local gdisp = coroutine.wrap(function()
  2347. wait(7)
  2348. for i = 1, 9 do
  2349. wait(.1)
  2350. gtrace.Transparency = gtrace.Transparency + .1
  2351. end
  2352. gtrace:Destroy()
  2353. end)
  2354. gdisp()
  2355. end
  2356.  
  2357. end
  2358.  
  2359.  
  2360. function Smash4()
  2361. for i = 1, 15 do
  2362. local gtrace = Instance.new("Part",game.Workspace)
  2363. gtrace.BrickColor = gprop[1]
  2364. gtrace.Material = gprop[2]
  2365. gtrace.Size = Vector3.new(19,19,19)
  2366. gtrace.Anchored = true
  2367. gtrace.CanCollide = false
  2368. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2369. local gdisp = coroutine.wrap(function()
  2370. wait(7)
  2371. for i = 1, 9 do
  2372. wait(.1)
  2373. gtrace.Transparency = gtrace.Transparency + .1
  2374. end
  2375. gtrace:Destroy()
  2376. end)
  2377. gdisp()
  2378. end
  2379.  
  2380. end
  2381.  
  2382. function Smash5()
  2383. for i = 1, 15 do
  2384. local gtrace = Instance.new("Part",game.Workspace)
  2385. gtrace.BrickColor = gprop[1]
  2386. gtrace.Material = gprop[2]
  2387. gtrace.Size = Vector3.new(19,19,19)
  2388. gtrace.Anchored = true
  2389. gtrace.CanCollide = false
  2390. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2391. local gdisp = coroutine.wrap(function()
  2392. wait(7)
  2393. for i = 1, 9 do
  2394. wait(.1)
  2395. gtrace.Transparency = gtrace.Transparency + .1
  2396. end
  2397. gtrace:Destroy()
  2398. end)
  2399. gdisp()
  2400. end
  2401.  
  2402. end
  2403.  
  2404. function Smash6()
  2405. for i = 1, 15 do
  2406. local gtrace = Instance.new("Part",game.Workspace)
  2407. gtrace.BrickColor = gprop[1]
  2408. gtrace.Material = gprop[2]
  2409. gtrace.Size = Vector3.new(19,19,19)
  2410. gtrace.Anchored = true
  2411. gtrace.CanCollide = false
  2412. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2413. local gdisp = coroutine.wrap(function()
  2414. wait(7)
  2415. for i = 1, 9 do
  2416. wait(.1)
  2417. gtrace.Transparency = gtrace.Transparency + .1
  2418. end
  2419. gtrace:Destroy()
  2420. end)
  2421. gdisp()
  2422. end
  2423.  
  2424. end
  2425.  
  2426.  
  2427. for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
  2428. if v:FindFirstChild('Humanoid') then
  2429. v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
  2430. v.Humanoid.PlatformStand = true
  2431. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
  2432. end
  2433. end
  2434.  
  2435.  
  2436. function HeavenSmash()
  2437.  
  2438.  
  2439. if activu == true or selected == false then
  2440. return
  2441. end
  2442. coroutine.resume(coroutine.create(function()
  2443. fglow(lleg.Glow, 19)
  2444. fglow(rleg.Glow, 19)
  2445. fglow(rarm.Glow, 19)
  2446. fglow(larm.Glow, 19)
  2447. fglow(head.Glow, 19)
  2448. fglow(tors.Glow, 19)
  2449. end))
  2450. activu = true
  2451. local pe = Instance.new("ParticleEmitter")
  2452. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2453. pe.LightEmission = 0.9
  2454. pe.Size = NumberSequence.new(0.5)
  2455. pe.Texture = "rbxassetid://272050333"
  2456. pe.Transparency = NumberSequence.new(0.1)
  2457. pe.Lifetime = NumberRange.new(0.1)
  2458. pe.Rate = 250
  2459. pe.RotSpeed = NumberRange.new(360)
  2460. pe.Speed = NumberRange.new(3)
  2461. pe.VelocitySpread = 360
  2462. pe.Parent = lleg.Glow
  2463. local pea = pe:Clone()
  2464. pea.Parent = lleg.Glow
  2465. local pe2 = Instance.new("ParticleEmitter")
  2466. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2467. pe2.LightEmission = 0.9
  2468. pe2.Size = NumberSequence.new(5)
  2469. pe2.Texture = "rbxassetid://516107903"
  2470. pe2.Transparency = NumberSequence.new(0.4)
  2471. pe2.ZOffset = 2
  2472. pe2.Enabled = true
  2473. pe2.LockedToPart = true
  2474. pe2.Lifetime = NumberRange.new(0.07)
  2475. pe2.Rate = 8
  2476. pe2.Rotation = NumberRange.new(0, 360)
  2477. pe2.RotSpeed = NumberRange.new(0)
  2478. pe2.Speed = NumberRange.new(0)
  2479. pe2.VelocitySpread = 180
  2480. pe2.Parent = lleg.Glow
  2481. local pea2 = pe2:Clone()
  2482. pea2.Parent = lleg.Glow
  2483.  
  2484.  
  2485.  
  2486. local pet = Instance.new("ParticleEmitter")
  2487. pet.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2488. pet.LightEmission = 0.9
  2489. pet.Size = NumberSequence.new(0.5)
  2490. pet.Texture = "rbxassetid://272050333"
  2491. pet.Transparency = NumberSequence.new(0.1)
  2492. pet.Lifetime = NumberRange.new(0.1)
  2493. pet.Rate = 1
  2494. pet.RotSpeed = NumberRange.new(360)
  2495. pet.Speed = NumberRange.new(3)
  2496. pet.VelocitySpread = 360
  2497. pet.Parent = rarm.Glow
  2498. local pet2 = Instance.new("ParticleEmitter")
  2499. pet2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2500. pet2.LightEmission = 0.9
  2501. pet2.Size = NumberSequence.new(5)
  2502. pet2.Texture = "rbxassetid://516107903"
  2503. pet2.Transparency = NumberSequence.new(0.4)
  2504. pet2.ZOffset = 2
  2505. pet2.Enabled = false
  2506. pet2.LockedToPart = true
  2507. pet2.Lifetime = NumberRange.new(0.07)
  2508. pet2.Rate = 8
  2509. pet2.Rotation = NumberRange.new(0, 360)
  2510. pet2.RotSpeed = NumberRange.new(0)
  2511. pet2.Speed = NumberRange.new(0)
  2512. pet2.VelocitySpread = 180
  2513. pet2.Parent = rarm.Glow
  2514.  
  2515.  
  2516.  
  2517. local petl = Instance.new("ParticleEmitter")
  2518. petl.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2519. petl.LightEmission = 0.9
  2520. petl.Size = NumberSequence.new(0.5)
  2521. petl.Texture = "rbxassetid://272050333"
  2522. petl.Transparency = NumberSequence.new(0.1)
  2523. petl.Lifetime = NumberRange.new(0.1)
  2524. petl.Rate = 1
  2525. petl.RotSpeed = NumberRange.new(360)
  2526. petl.Speed = NumberRange.new(3)
  2527. petl.VelocitySpread = 360
  2528. petl.Parent = larm.Glow
  2529. local petl2 = Instance.new("ParticleEmitter")
  2530. petl2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2531. petl2.LightEmission = 0.9
  2532. petl2.Size = NumberSequence.new(5)
  2533. petl2.Texture = "rbxassetid://516107903"
  2534. petl2.Transparency = NumberSequence.new(0.4)
  2535. petl2.ZOffset = 2
  2536. petl2.Enabled = false
  2537. petl2.LockedToPart = true
  2538. petl2.Lifetime = NumberRange.new(0.07)
  2539. petl2.Rate = 8
  2540. petl2.Rotation = NumberRange.new(0, 360)
  2541. petl2.RotSpeed = NumberRange.new(0)
  2542. petl2.Speed = NumberRange.new(0)
  2543. petl2.VelocitySpread = 180
  2544. petl2.Parent = larm.Glow
  2545.  
  2546.  
  2547. local petl3 = Instance.new("ParticleEmitter")
  2548. petl3.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2549. petl3.LightEmission = 0.9
  2550. petl3.Size = NumberSequence.new(0.5)
  2551. petl3.Texture = "rbxassetid://272050333"
  2552. petl3.Transparency = NumberSequence.new(0.1)
  2553. petl3.Lifetime = NumberRange.new(0.1)
  2554. petl3.Rate = 1
  2555. petl3.RotSpeed = NumberRange.new(360)
  2556. petl3.Speed = NumberRange.new(3)
  2557. petl3.VelocitySpread = 360
  2558. petl3.Parent = head.Glow
  2559. local petl23 = Instance.new("ParticleEmitter")
  2560. petl23.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2561. petl23.LightEmission = 0.9
  2562. petl23.Size = NumberSequence.new(5)
  2563. petl23.Texture = "rbxassetid://516107903"
  2564. petl23.Transparency = NumberSequence.new(0.4)
  2565. petl23.ZOffset = 2
  2566. petl23.Enabled = false
  2567. petl23.LockedToPart = true
  2568. petl23.Lifetime = NumberRange.new(0.07)
  2569. petl23.Rate = 8
  2570. petl23.Rotation = NumberRange.new(0, 360)
  2571. petl23.RotSpeed = NumberRange.new(0)
  2572. petl23.Speed = NumberRange.new(0)
  2573. petl23.VelocitySpread = 180
  2574. petl23.Parent = head.Glow
  2575.  
  2576.  
  2577.  
  2578. local petl34 = Instance.new("ParticleEmitter")
  2579. petl34.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2580. petl34.LightEmission = 0.9
  2581. petl34.Size = NumberSequence.new(0.5)
  2582. petl34.Texture = "rbxassetid://272050333"
  2583. petl34.Transparency = NumberSequence.new(0.1)
  2584. petl34.Lifetime = NumberRange.new(0.1)
  2585. petl34.Rate = 1
  2586. petl34.RotSpeed = NumberRange.new(360)
  2587. petl34.Speed = NumberRange.new(3)
  2588. petl34.VelocitySpread = 360
  2589. petl34.Parent = rleg.Glow
  2590. local petl234 = Instance.new("ParticleEmitter")
  2591. petl234.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2592. petl234.LightEmission = 0.9
  2593. petl234.Size = NumberSequence.new(5)
  2594. petl234.Texture = "rbxassetid://516107903"
  2595. petl234.Transparency = NumberSequence.new(0.4)
  2596. petl234.ZOffset = 2
  2597. petl234.Enabled = false
  2598. petl234.LockedToPart = true
  2599. petl234.Rate = 8
  2600. petl234.Rotation = NumberRange.new(0, 360)
  2601. petl234.RotSpeed = NumberRange.new(0)
  2602. petl234.Speed = NumberRange.new(0)
  2603. petl234.VelocitySpread = 180
  2604. petl234.Parent = rleg.Glow
  2605.  
  2606.  
  2607. local petl345 = Instance.new("ParticleEmitter")
  2608. petl345.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2609. petl345.LightEmission = 0.9
  2610. petl345.Size = NumberSequence.new(0.5)
  2611. petl345.Texture = "rbxassetid://272050333"
  2612. petl345.Transparency = NumberSequence.new(0.1)
  2613. petl345.Lifetime = NumberRange.new(0.1)
  2614. petl345.Rate = 1
  2615. petl345.RotSpeed = NumberRange.new(360)
  2616. petl345.Speed = NumberRange.new(3)
  2617. petl345.VelocitySpread = 360
  2618. petl345.Parent = tors.Glow
  2619. local petl2345 = Instance.new("ParticleEmitter")
  2620. petl2345.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2621. petl2345.LightEmission = 0.9
  2622. petl2345.Size = NumberSequence.new(5)
  2623. petl2345.Texture = "rbxassetid://516107903"
  2624. petl2345.Transparency = NumberSequence.new(0.4)
  2625. petl2345.ZOffset = 2
  2626. petl2345.Enabled = false
  2627. petl2345.LockedToPart = true
  2628. petl2345.Rate = 8
  2629. petl2345.Rotation = NumberRange.new(0, 360)
  2630. petl2345.RotSpeed = NumberRange.new(0)
  2631. petl2345.Speed = NumberRange.new(0)
  2632. petl2345.VelocitySpread = 180
  2633. petl2345.Parent = tors.Glow
  2634. human.WalkSpeed = 0
  2635. so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
  2636. so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
  2637. for l = 1, 30 do
  2638. swait()
  2639. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  2640. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  2641. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  2642. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2643. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  2644. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2645. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  2646. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2647. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  2648. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2649. end
  2650.  
  2651.  
  2652. resetlerp()
  2653.  
  2654. BV = Instance.new("BodyVelocity", tors)
  2655. BV.maxForce = Vector3.new(0,200000,0)
  2656. BV.P = 100000
  2657. BV.velocity = Vector3.new(0,150,0)
  2658. local rng = Instance.new("Part", chr)
  2659. rng.Anchored = true
  2660. rng.BrickColor = BrickColor.new("Institutional white")
  2661. rng.CanCollide = false
  2662. rng.FormFactor = 3
  2663. rng.Name = "Ring"
  2664. rng.Size = Vector3.new(1, 1, 1)
  2665. rng.Transparency = 0.5
  2666. rng.TopSurface = 0
  2667. rng.BottomSurface = 0
  2668. rng.Position = tors.Position - Vector3.new(0,2,0)
  2669. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2670. local rngm = Instance.new("SpecialMesh", rng)
  2671. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2672. rngm.Scale = Vector3.new(10, 10, 20)
  2673. x = Instance.new("Sound",tors)
  2674. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2675. x.Looped = false
  2676. x.Pitch = .7
  2677. x.Volume = 30
  2678. x:Play()
  2679. coroutine.wrap(function()
  2680. for i = 1, 60, 8 do
  2681. rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
  2682. rng.Transparency = i/60
  2683. wait()
  2684. end
  2685. wait()
  2686. rng:Destroy()
  2687. end)()
  2688. wait(2.6)
  2689. BV:Destroy()
  2690. tors.Anchored = true
  2691. wait(3.2)
  2692. tors.Anchored = false
  2693. BV = Instance.new("BodyVelocity", tors)
  2694. BV.maxForce = Vector3.new(0,-20000,0)
  2695. BV.P = 1000
  2696. BV.velocity = Vector3.new(0,-150,0)
  2697. wait(1)
  2698. BV:Destroy()
  2699. wait(0.01)
  2700.  
  2701. human.WalkSpeed = 0
  2702. boom3:Play()
  2703.  
  2704. Smash()
  2705. Smash2()
  2706. Smash3()
  2707. Ring()
  2708. pe:Destroy()
  2709. pea:Destroy()
  2710. pea2:Destroy()
  2711. pe2:Destroy()
  2712. wait(2)
  2713. human.WalkSpeed = 16
  2714. activu = false
  2715. end
  2716.  
  2717.  
  2718.  
  2719. sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  2720. sound.SoundId = "rbxassetid://220025776"
  2721. sound.Volume = 6
  2722.  
  2723. sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
  2724. sound2.SoundId = "rbxassetid://386946017"
  2725. sound2.Volume = 6
  2726.  
  2727. sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  2728. sound3.SoundId = "rbxassetid://165969964"
  2729. sound3.Volume = 6
  2730.  
  2731. function rip()
  2732. activu = true
  2733. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  2734. detect.Size = Vector3.new(1,1,1)
  2735. detect:BreakJoints()
  2736. detect.CanCollide = false
  2737. local weld = Instance.new("Weld", detect)
  2738. weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  2739. weld.Part1 = detect
  2740. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  2741.  
  2742.  
  2743.  
  2744. local function attack(prt)
  2745. local humanoid = prt.Parent:findFirstChild("Humanoid")
  2746. if humanoid ~= nil then
  2747. local torso = prt.Parent:findFirstChild("Torso")
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755. function KABOOMZ3()
  2756. local effspwn = Instance.new("Part")
  2757. coroutine.resume(coroutine.create(function()
  2758. local sound1 = Instance.new("Sound")
  2759. sound1.SoundId = "rbxassetid://138137702"
  2760. sound1.MaxDistance = 300
  2761. sound1.EmitterSize = 20
  2762. sound1.Volume = 2.5
  2763. sound1.Pitch = 0.65
  2764. sound1.Parent = effspwn
  2765. local sound2 = Instance.new("Sound")
  2766. sound2.SoundId = "rbxassetid://157878578"
  2767. sound2.MaxDistance = 300
  2768. sound2.EmitterSize = 20
  2769. sound2.Volume = 1
  2770. sound2.Pitch = 0.7
  2771. sound2.Parent = effspwn
  2772. local sound3 = Instance.new("Sound")
  2773. sound3.SoundId = "rbxassetid://138250406"
  2774. sound2.MaxDistance = 400
  2775. sound2.EmitterSize = 30
  2776. sound2.Volume = 0.5
  2777. sound2.Pitch = 0.5
  2778. sound2.Parent = effspwn
  2779. sound2:Play()
  2780. wait()
  2781. sound1:Play()
  2782. sound3:Play()
  2783. end))
  2784. local model = Instance.new("Model")
  2785. game.Debris:AddItem(model, 20)
  2786. model.Name = "smasheffects"
  2787. model.Parent = workspace
  2788. effspwn.Name = "spwnr"
  2789. effspwn.Size = Vector3.new(1, 1, 1)
  2790. effspwn.Anchored = true
  2791. effspwn.CanCollide = false
  2792. effspwn.Transparency = 1
  2793. effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  2794. effspwn.Parent = model
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800. Crater(head,60)
  2801. Crater(head,120)
  2802.  
  2803. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  2804. if v:FindFirstChild('Humanoid') then
  2805. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2806. v.Humanoid.PlatformStand = true
  2807. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  2808. end
  2809. end
  2810.  
  2811. coroutine.resume(coroutine.create(function()
  2812. local shok = Instance.new("Part")
  2813. shok.Name = "whoosh"
  2814. shok.BrickColor = BrickColor.new("Institutional white")
  2815. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2816. shok.Size = Vector3.new(1, 1, 1)
  2817. shok.Anchored = true
  2818. shok.Material = "Neon"
  2819. shok.Transparency = 0.1
  2820. shok.CanCollide = false
  2821. shok.Parent = model
  2822. game.Debris:AddItem(shok, 12)
  2823. local mesh = Instance.new("SpecialMesh")
  2824. mesh.MeshType = "FileMesh"
  2825. mesh.MeshId = "rbxassetid://437347603"
  2826. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  2827. mesh.Parent = shok
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833. for e = 1, 8 do
  2834. wait()
  2835. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  2836. shok.Transparency = shok.Transparency + 0.035
  2837. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  2838. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  2839. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2840.  
  2841. end
  2842. for e = 1, 16 do
  2843. wait()
  2844. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  2845. shok.Transparency = shok.Transparency + 0.11
  2846. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  2847. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  2848. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2849.  
  2850. end
  2851. end))
  2852. coroutine.resume(coroutine.create(function()
  2853. local shok = Instance.new("Part")
  2854. shok.Name = "wring1"
  2855. shok.BrickColor = BrickColor.new("Institutional white")
  2856. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2857. shok.Size = Vector3.new(1, 1, 1)
  2858. shok.Anchored = true
  2859. shok.Material = "Neon"
  2860. shok.Transparency = 0.25
  2861. shok.CanCollide = false
  2862. shok.Parent = model
  2863. game.Debris:AddItem(shok, 12)
  2864. local mesh = Instance.new("SpecialMesh")
  2865. mesh.MeshType = "FileMesh"
  2866. mesh.MeshId = "rbxassetid://3270017"
  2867. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  2868. mesh.Parent = shok
  2869. for e = 1, 30 do
  2870. wait()
  2871. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  2872. shok.Transparency = shok.Transparency + 0.002
  2873. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2874. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2875. end
  2876. for e = 1, 38 do
  2877. wait()
  2878. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2879. shok.Transparency = shok.Transparency + 0.002
  2880. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2881. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2882. end
  2883. for e = 1, 24 do
  2884. wait()
  2885. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2886. shok.Transparency = shok.Transparency + 0.03
  2887. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2888. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2889. end
  2890. end))
  2891. coroutine.resume(coroutine.create(function()
  2892. local shok = Instance.new("Part")
  2893. shok.Name = "wring2"
  2894. shok.BrickColor = BrickColor.new("Institutional white")
  2895. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2896. shok.Size = Vector3.new(1, 1, 1)
  2897. shok.Anchored = true
  2898. shok.Material = "Neon"
  2899. shok.Transparency = 0.25
  2900. shok.CanCollide = false
  2901. shok.Parent = model
  2902. game.Debris:AddItem(shok, 12)
  2903. local mesh = Instance.new("SpecialMesh")
  2904. mesh.MeshType = "FileMesh"
  2905. mesh.MeshId = "rbxassetid://3270017"
  2906. mesh.Scale = Vector3.new(12, 12, 0.05)
  2907. mesh.Parent = shok
  2908. for e = 1, 30 do
  2909. wait()
  2910. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  2911. shok.Transparency = shok.Transparency + 0.002
  2912. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2913. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2914. end
  2915. for e = 1, 38 do
  2916. wait()
  2917. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2918. shok.Transparency = shok.Transparency + 0.002
  2919. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2920. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2921. end
  2922. for e = 1, 24 do
  2923. wait()
  2924. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2925. shok.Transparency = shok.Transparency + 0.03
  2926. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2927. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2928. end
  2929. end))
  2930. coroutine.resume(coroutine.create(function()
  2931. local shok = Instance.new("Part")
  2932. shok.Name = "coil1"
  2933. shok.BrickColor = BrickColor.new("Institutional white")
  2934. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2935. shok.Size = Vector3.new(1, 1, 1)
  2936. shok.Anchored = true
  2937. shok.Material = "Neon"
  2938. shok.Transparency = 0.25
  2939. shok.CanCollide = false
  2940. shok.Parent = model
  2941. game.Debris:AddItem(shok, 12)
  2942. local mesh = Instance.new("SpecialMesh")
  2943. mesh.MeshType = "FileMesh"
  2944. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2945. mesh.Scale = Vector3.new(12, 12, 12)
  2946. mesh.Parent = shok
  2947. for e = 1, 15 do
  2948. wait()
  2949. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2950. shok.Transparency = shok.Transparency + 0.004
  2951. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2952. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2953. end
  2954. for e = 1, 16 do
  2955. wait()
  2956. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2957. shok.Transparency = shok.Transparency + 0.004
  2958. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2959. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2960. end
  2961. for e = 1, 12 do
  2962. wait()
  2963. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2964. shok.Transparency = shok.Transparency + 0.06
  2965. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2966. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2967. end
  2968. end))
  2969. coroutine.resume(coroutine.create(function()
  2970. local shok = Instance.new("Part")
  2971. shok.Name = "coil2"
  2972. shok.BrickColor = BrickColor.new("Institutional white")
  2973. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2974. shok.Size = Vector3.new(1, 1, 1)
  2975. shok.Anchored = true
  2976. shok.Material = "Neon"
  2977. shok.Transparency = 0.25
  2978. shok.CanCollide = false
  2979. shok.Parent = model
  2980. game.Debris:AddItem(shok, 12)
  2981. local mesh = Instance.new("SpecialMesh")
  2982. mesh.MeshType = "FileMesh"
  2983. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2984. mesh.Scale = Vector3.new(6, 12, 6)
  2985. mesh.Parent = shok
  2986. for e = 1, 15 do
  2987. wait()
  2988. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2989. shok.Transparency = shok.Transparency + 0.005
  2990. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2991. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2992. end
  2993. for e = 1, 16 do
  2994. wait()
  2995. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2996. shok.Transparency = shok.Transparency + 0.005
  2997. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2998. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2999. end
  3000. for e = 1, 12 do
  3001. wait()
  3002. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3003. shok.Transparency = shok.Transparency + 0.09
  3004. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3005. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3006. end
  3007. end))
  3008. coroutine.resume(coroutine.create(function()
  3009. local shok = Instance.new("Part")
  3010. shok.Name = "shokwve"
  3011. shok.BrickColor = BrickColor.new("Institutional white")
  3012. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  3013. shok.Size = Vector3.new(1, 1, 1)
  3014. shok.Anchored = true
  3015. shok.Material = "Neon"
  3016. shok.Transparency = 0.6
  3017. shok.CanCollide = false
  3018. shok.Parent = model
  3019. game.Debris:AddItem(shok, 12)
  3020. local mesh = Instance.new("SpecialMesh")
  3021. mesh.MeshType = "FileMesh"
  3022. mesh.MeshId = "rbxassetid://489415447"
  3023. mesh.Scale = Vector3.new(1, 1, 1)
  3024. mesh.Parent = shok
  3025. for e = 1, 12 do
  3026. wait()
  3027. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  3028. shok.Transparency = shok.Transparency + 0.002
  3029. end
  3030. for e = 1, 32 do
  3031. wait()
  3032. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3033. shok.Transparency = shok.Transparency + 0.002
  3034. end
  3035. for e = 1, 24 do
  3036. wait()
  3037. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3038. shok.Transparency = shok.Transparency + 0.03
  3039. end
  3040. end))
  3041. coroutine.resume(coroutine.create(function()
  3042. local shok = Instance.new("Part")
  3043. shok.Name = "shock2"
  3044. shok.BrickColor = BrickColor.new("Institutional white")
  3045. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3046. shok.Size = Vector3.new(1, 1, 1)
  3047. shok.Anchored = true
  3048. shok.Material = "Neon"
  3049. shok.Transparency = 0.35
  3050. shok.CanCollide = false
  3051. shok.Parent = model
  3052. game.Debris:AddItem(shok, 12)
  3053. local mesh = Instance.new("SpecialMesh")
  3054. mesh.MeshType = "FileMesh"
  3055. mesh.MeshId = "rbxassetid://489415447"
  3056. mesh.Scale = Vector3.new(12, 12, 12)
  3057. mesh.Parent = shok
  3058. for e = 1, 15 do
  3059. wait()
  3060. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3061. shok.Transparency = shok.Transparency + 0.004
  3062. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3063. end
  3064. for e = 1, 16 do
  3065. wait()
  3066. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3067. shok.Transparency = shok.Transparency + 0.004
  3068. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3069. end
  3070. for e = 1, 12 do
  3071. wait()
  3072. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3073. shok.Transparency = shok.Transparency + 0.06
  3074. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3075. end
  3076. end))
  3077. coroutine.resume(coroutine.create(function()
  3078. local shok = Instance.new("Part")
  3079. shok.Name = "shock3"
  3080. shok.BrickColor = BrickColor.new("Institutional white")
  3081. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3082. shok.Size = Vector3.new(1, 1, 1)
  3083. shok.Anchored = true
  3084. shok.Material = "Neon"
  3085. shok.Transparency = 0.35
  3086. shok.CanCollide = false
  3087. shok.Parent = model
  3088. game.Debris:AddItem(shok, 12)
  3089. local mesh = Instance.new("SpecialMesh")
  3090. mesh.MeshType = "FileMesh"
  3091. mesh.MeshId = "rbxassetid://489415447"
  3092. mesh.Scale = Vector3.new(12, 12, 12)
  3093. mesh.Parent = shok
  3094. for e = 1, 15 do
  3095. wait()
  3096. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3097. shok.Transparency = shok.Transparency + 0.004
  3098. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3099. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3100. end
  3101. for e = 1, 16 do
  3102. wait()
  3103. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3104. shok.Transparency = shok.Transparency + 0.004
  3105. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3106. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3107. end
  3108. for e = 1, 12 do
  3109. wait()
  3110. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3111. shok.Transparency = shok.Transparency + 0.06
  3112. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3113. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3114. end
  3115. end))
  3116. end
  3117.  
  3118.  
  3119.  
  3120. if torso ~= nil then
  3121. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  3122. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  3123. for i = 1,5 do
  3124. wait()
  3125. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
  3126. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
  3127. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
  3128. end
  3129. sound:Play()
  3130. local bodyVel = Instance.new("BodyPosition", torso)
  3131. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
  3132. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3133. wait(2)
  3134. torso.Anchored = true
  3135. for i = 1,5 do
  3136. wait()
  3137. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  3138. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  3139. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  3140. end
  3141. for i = 1,5 do
  3142. wait()
  3143. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
  3144. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
  3145. end
  3146. wait(1)
  3147. local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
  3148. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3149. bodyvel.Position = torso.Position
  3150. for i = 1,5 do
  3151. wait()
  3152. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
  3153. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
  3154. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
  3155. end
  3156. wait(2)
  3157. bodyVel:destroy()
  3158. game.Players.LocalPlayer.Character.Torso.Anchored = true
  3159. torso.Anchored = false
  3160. humanoid.PlatformStand = true
  3161. local bodyVel = Instance.new("BodyPosition", torso)
  3162. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
  3163. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3164. sound2:Play()
  3165.  
  3166. wait(1.2)
  3167. game.Players.LocalPlayer.Character.Torso.Anchored = false
  3168. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3169. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3170. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3171. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3172. activu = false
  3173. wait(0.5)
  3174. bodyvel:destroy()
  3175. local ROW3 = function(out, trans, s, wt, t, ang, plus)
  3176. for i = 1, 360, 360/t do
  3177. local c = Instance.new("Part", game.Workspace)
  3178. c.FormFactor = 3
  3179. c.TopSurface = 0
  3180. c.BottomSurface = 0
  3181. c.Size = s
  3182. c.Anchored = true
  3183. c.CanCollide = wt
  3184. c.Material=workspace.Base.Material
  3185. c.Transparency = trans
  3186. c.BrickColor = workspace.Base.BrickColor
  3187. c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  3188. c.Locked=true
  3189. game.Debris:AddItem(c,25)
  3190. end
  3191. end
  3192.  
  3193.  
  3194.  
  3195.  
  3196. sound3:Play()
  3197. ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  3198. game.Players.LocalPlayer.Character.Torso.Anchored = true
  3199. KABOOMZ3()
  3200. wait(0.1)
  3201.  
  3202. game.Players.LocalPlayer.Character.Torso.Anchored = false
  3203. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  3204. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  3205.  
  3206.  
  3207. end
  3208. end
  3209. end
  3210. detect.Touched:connect(attack)
  3211. wait(0.1)
  3212. detect:destroy()
  3213. activu = false
  3214. end
  3215.  
  3216.  
  3217.  
  3218. function hito(partoz, magn, dmg, debtim)
  3219. for _, guy in pairs(workspace:GetChildren()) do
  3220. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  3221. do
  3222. local humz = guy:FindFirstChild("Humanoid")
  3223. local hed = guy:FindFirstChild("Head")
  3224. humz:TakeDamage(dmg)
  3225. local db = Instance.new("StringValue")
  3226. db.Name = "alabo"
  3227. db.Parent = hed
  3228. delay(debtim, function()
  3229. db:Destroy()
  3230. end)
  3231. end
  3232. end
  3233. end
  3234. end
  3235. function animo(yep)
  3236. if yep == true then
  3237. anim.Parent = human
  3238. chr.Animate.Disabled = false
  3239. elseif yep == false then
  3240. chr.Animate.Disabled = true
  3241. anim.Parent = nil
  3242. end
  3243. end
  3244. mouse.KeyDown:connect(function(key)
  3245. if key == "e" then
  3246. rsmash()
  3247. end
  3248. if key == "t" then
  3249. jum()
  3250. end
  3251. if key == "r" then
  3252. Tele()
  3253. end
  3254. if key == "q" then
  3255. Stom()
  3256. end
  3257. if key == "f" then
  3258. HeavenSmash()
  3259. end
  3260. if key == "h" then
  3261. rip()
  3262. end
  3263. end)
  3264. tool.Equipped:connect(function()
  3265. selected = true
  3266. end)
  3267. tool.Unequipped:connect(function()
  3268. selected = false
  3269. end)
  3270.  
  3271. -- ~OS 2017
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement