Advertisement
Corrundum

One For All

Sep 12th, 2017
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.60 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. repeat
  3. wait(0.4)
  4. until plr.Character
  5. chr = plr.Character
  6. human = chr:FindFirstChild("Humanoid")
  7. mouse = plr:GetMouse()
  8. selected = false
  9. equipd = false
  10. tors = chr.Torso
  11. rarm = chr["Right Arm"]
  12. larm = chr["Left Arm"]
  13. rleg = chr["Right Leg"]
  14. lleg = chr["Left Leg"]
  15. hrp = chr.HumanoidRootPart
  16. head = chr.Head
  17. anim = human.Animator
  18. activu = false
  19. Heartbeat = Instance.new("BindableEvent")
  20. Heartbeat.Name = "Heartbeat"
  21. Heartbeat.Parent = script
  22. frame = 0.03333333333333333
  23. tf = 0
  24. game:GetService("RunService").Heartbeat:connect(function(s, p)
  25. tf = tf + s
  26. if tf >= frame then
  27. for i = 1, math.floor(tf / frame) do
  28. Heartbeat:Fire()
  29. end
  30. tf = tf - frame * math.floor(tf / frame)
  31. end
  32. end)
  33. function swait(num)
  34. if num == 0 or num == nil then
  35. Heartbeat.Event:wait()
  36. else
  37. for i = 1, num do
  38. Heartbeat.Event:wait()
  39. end
  40. end
  41. end
  42. tool = Instance.new("Tool")
  43. tool.CanBeDropped = false
  44. tool.RequiresHandle = false
  45. tool.Name = "fir"
  46. tool.Parent = plr.Backpack
  47. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  48. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  49. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  50. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  51. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  52. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  53. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  54. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  55. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  56. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  57. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  58. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  59. RS = tors:FindFirstChild("Right Shoulder")
  60. LS = tors:FindFirstChild("Left Shoulder")
  61. RH = tors:FindFirstChild("Right Hip")
  62. LH = tors:FindFirstChild("Left Hip")
  63. RJ = hrp:FindFirstChild("RootJoint")
  64. N = tors:FindFirstChild("Neck")
  65. cf = CFrame.new
  66. ang = CFrame.Angles
  67. rd = math.rad
  68. rd2 = math.random
  69. function nooutline(p)
  70. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  71. end
  72. function makepart(color, name, reflec, mater, parnt, cfram)
  73. local port = Instance.new("Part")
  74. port.BrickColor = BrickColor.new(color)
  75. port.Name = name
  76. nooutline(port)
  77. port.Reflectance = reflec
  78. port.Material = mater
  79. port.Anchored = false
  80. port.CanCollide = false
  81. port.Locked = true
  82. port.Size = Vector3.new(0.2, 0.2, 0.2)
  83. port.Parent = parnt
  84. return port
  85. end
  86. function makemesh(meshtype, scale, meshid, parent)
  87. local mes = Instance.new("SpecialMesh")
  88. mes.MeshType = meshtype
  89. mes.Scale = scale
  90. if meshtype == "FileMesh" then
  91. mes.MeshId = meshid
  92. end
  93. mes.Parent = parent
  94. return mes
  95. end
  96. function makeweld(parent, p0, p1, c0, c1)
  97. local wel = Instance.new("Weld")
  98. wel.Part0 = p0
  99. wel.Part1 = p1
  100. wel.C0 = c0
  101. if c1 ~= nil then
  102. wel.C1 = c1
  103. end
  104. wel.Parent = parent
  105. return wel
  106. end
  107. function smokz(prnt)
  108. s = Instance.new("Smoke")
  109. s.Color = Color3.new(1, 1, 1)
  110. s.Enabled = false
  111. s.Name = "smok"
  112. s.Opacity = 0.5
  113. s.RiseVelocity = 0.2
  114. s.Size = 0.1
  115. s.Parent = prnt
  116. end
  117. function glow(tz, paz, smokinz, length)
  118. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  119. do
  120. local s = Instance.new("Sound")
  121. s.SoundId = "rbxassetid://298181829"
  122. s.Volume = 0.25
  123. s.Pitch = math.random(9, 11) / 10
  124. s.Parent = paz
  125. s:Play()
  126. paz.Transparency = 0.7
  127. if smokinz == true then
  128. paz.smok.Enabled = true
  129. end
  130. delay(length, function()
  131. paz.Transparency = 1
  132. paz.smok.Enabled = false
  133. s:Destroy()
  134. end)
  135. end
  136. end
  137. end
  138. function makeglow()
  139. for _, p in pairs(chr:GetChildren()) do
  140. if p.ClassName == "Accessory" then
  141. do
  142. local h = p:FindFirstChildOfClass("Part")
  143. local nh = h:Clone()
  144. nh.Parent = nil
  145. nh.CFrame = h.CFrame
  146. nh.Transparency = 1
  147. nh.Name = "Glow"
  148. nh.Material = "Neon"
  149. nh.BrickColor = BrickColor.new("Really red")
  150. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  151. nh.Parent = h
  152. makeweld(nh, nh, h, cf(0, 0, 0))
  153. local m = nh:FindFirstChildOfClass("SpecialMesh")
  154. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  155. m.TextureId = ""
  156. smokz(nh)
  157. nh.Touched:connect(function(po)
  158. glow(po, nh, true, 0.8)
  159. end)
  160. end
  161. elseif p.ClassName == "Part" and p ~= hrp then
  162. do
  163. local n = p:Clone()
  164. n.Parent = nil
  165. n.Transparency = 1
  166. n.Material = "Neon"
  167. n.Name = "Glow"
  168. n.BrickColor = BrickColor.new("Really red")
  169. n.CFrame = p.CFrame
  170. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  171. n.Parent = p
  172. makeweld(n, n, p, cf(0, 0, 0))
  173. smokz(n)
  174. n.Touched:connect(function(po)
  175. glow(po, n, true, 0.8)
  176. end)
  177. if n:FindFirstChildOfClass("Decal") then
  178. n:FindFirstChildOfClass("Decal"):Destroy()
  179. end
  180. if p:FindFirstChildOfClass("SpecialMesh") then
  181. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  182. c.Parent = nil
  183. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  184. c.Parent = n
  185. else
  186. local m = Instance.new("BlockMesh")
  187. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  188. if p == tors then
  189. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  190. end
  191. m.Parent = n
  192. end
  193. end
  194. end
  195. end
  196. end
  197. makeglow()
  198. function fglow(glopart, duration)
  199. for _ = 1, 4 do
  200. swait()
  201. glopart.Transparency = glopart.Transparency - 0.075
  202. end
  203. delay(duration, function()
  204. for _ = 1, 4 do
  205. swait()
  206. glopart.Transparency = glopart.Transparency + 0.075
  207. end
  208. end)
  209. end
  210. function lerpz(joint, prop, cfrmz, alp)
  211. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  212. end
  213. function resetlerp()
  214. RJ.C0 = RJC0
  215. RJ.C1 = RJC1
  216. N.C0 = NC0
  217. N.C1 = NC1
  218. RS.C0 = RSC0
  219. RS.C1 = RSC1
  220. LS.C0 = LSC0
  221. LS.C1 = LSC1
  222. RH.C0 = RHC0
  223. RH.C1 = RHC1
  224. LH.C0 = LHC0
  225. end
  226. function rsmash()
  227. if activu == true or selected == false then
  228. return
  229. end
  230. coroutine.resume(coroutine.create(function()
  231. fglow(rarm.Glow, 3)
  232. end))
  233. activu = true
  234. human.WalkSpeed = human.WalkSpeed - 13
  235. animo(false)
  236. local pe = Instance.new("ParticleEmitter")
  237. pe.Color = ColorSequence.new(Color3.new(1, 0, 0))
  238. pe.LightEmission = 0.9
  239. pe.Size = NumberSequence.new(0.5)
  240. pe.Texture = "rbxassetid://272050333"
  241. pe.Transparency = NumberSequence.new(0.1)
  242. pe.Lifetime = NumberRange.new(0.1)
  243. pe.Rate = 1
  244. pe.RotSpeed = NumberRange.new(360)
  245. pe.Speed = NumberRange.new(3)
  246. pe.VelocitySpread = 360
  247. pe.Parent = rarm.Glow
  248. local pe2 = Instance.new("ParticleEmitter")
  249. pe2.Color = ColorSequence.new(Color3.new(1, 0, 0))
  250. pe2.LightEmission = 0.9
  251. pe2.Size = NumberSequence.new(5)
  252. pe2.Texture = "rbxassetid://516107903"
  253. pe2.Transparency = NumberSequence.new(0.4)
  254. pe2.ZOffset = 2
  255. pe2.Enabled = false
  256. pe2.LockedToPart = true
  257. pe2.Lifetime = NumberRange.new(0.07)
  258. pe2.Rate = 8
  259. pe2.Rotation = NumberRange.new(0, 360)
  260. pe2.RotSpeed = NumberRange.new(0)
  261. pe2.Speed = NumberRange.new(0)
  262. pe2.VelocitySpread = 180
  263. pe2.Parent = rarm.Glow
  264. for _ = 1, 45 do
  265. swait()
  266. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  267. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  268. 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)
  269. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  270. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  271. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  272. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  273. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  274. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  275. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  276. pe.Rate = pe.Rate + 25
  277. end
  278. pe2.Enabled = true
  279. pe.Speed = NumberRange.new(10)
  280. for _ = 1, 30 do
  281. swait()
  282. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  283. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  284. 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)
  285. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  286. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  287. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  288. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  289. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  290. end
  291. for l = 1, 3 do
  292. swait()
  293. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  294. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  295. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  296. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  297. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  298. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  299. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  300. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  301. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  302. end
  303. pe:Destroy()
  304. pe2:Destroy()
  305. KABOOMZ()
  306. rarm.Glow.smok.Enabled = true
  307. for _ = 1, 8 do
  308. swait()
  309. lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
  310. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
  311. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
  312. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
  313. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
  314. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
  315. lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
  316. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
  317. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
  318. end
  319. wait(1.5)
  320. animo(true)
  321. human.WalkSpeed = human.WalkSpeed + 13
  322. for _ = 1, 24 do
  323. swait()
  324. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  325. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  326. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  327. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  328. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  329. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  330. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  331. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  332. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  333. end
  334. resetlerp()
  335. rarm.Glow.smok.Enabled = false
  336. activu = false
  337. end
  338. function jum()
  339. if activu == true or selected == false then
  340. return
  341. end
  342. coroutine.resume(coroutine.create(function()
  343. fglow(rleg.Glow, 1)
  344. fglow(lleg.Glow, 1)
  345. end))
  346. activu = true
  347. human.WalkSpeed = human.WalkSpeed - 13
  348. local pe = Instance.new("ParticleEmitter")
  349. pe.Color = ColorSequence.new(Color3.new(1, 0, 0))
  350. pe.LightEmission = 0.9
  351. pe.Size = NumberSequence.new(0.5)
  352. pe.Texture = "rbxassetid://272050333"
  353. pe.Transparency = NumberSequence.new(0.1)
  354. pe.Lifetime = NumberRange.new(0.1)
  355. pe.Rate = 250
  356. pe.RotSpeed = NumberRange.new(360)
  357. pe.Speed = NumberRange.new(3)
  358. pe.VelocitySpread = 360
  359. pe.Parent = rleg.Glow
  360. local pea = pe:Clone()
  361. pea.Parent = lleg.Glow
  362. local pe2 = Instance.new("ParticleEmitter")
  363. pe2.Color = ColorSequence.new(Color3.new(1, 0, 0))
  364. pe2.LightEmission = 0.9
  365. pe2.Size = NumberSequence.new(5)
  366. pe2.Texture = "rbxassetid://516107903"
  367. pe2.Transparency = NumberSequence.new(0.4)
  368. pe2.ZOffset = 2
  369. pe2.Enabled = true
  370. pe2.LockedToPart = true
  371. pe2.Lifetime = NumberRange.new(0.07)
  372. pe2.Rate = 8
  373. pe2.Rotation = NumberRange.new(0, 360)
  374. pe2.RotSpeed = NumberRange.new(0)
  375. pe2.Speed = NumberRange.new(0)
  376. pe2.VelocitySpread = 180
  377. pe2.Parent = lleg.Glow
  378. local pea2 = pe2:Clone()
  379. pea2.Parent = rleg.Glow
  380. for l = 1, 30 do
  381. swait()
  382. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  383. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  384. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  385. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  386. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  387. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  388. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  389. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  390. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  391. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  392. end
  393. pe:Destroy()
  394. pe2:Destroy()
  395. pea:Destroy()
  396. pea2:Destroy()
  397. local bfor = Instance.new("BodyPosition")
  398. bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  399. bfor.P = 2500
  400. bfor.Position = hrp.Position + Vector3.new(0, 500, 0)
  401. bfor.Parent = hrp
  402. KABOOMZ2()
  403. human.WalkSpeed = human.WalkSpeed + 13
  404. coroutine.resume(coroutine.create(function()
  405. swait(3)
  406. bfor:Destroy()
  407. end))
  408. for _ = 1, 18 do
  409. swait()
  410. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
  411. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
  412. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
  413. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  414. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
  415. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  416. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
  417. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  418. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
  419. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  420. end
  421. for _ = 1, 18 do
  422. swait()
  423. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  424. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  425. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  426. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  427. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  428. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  429. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  430. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  431. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  432. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  433. end
  434. resetlerp()
  435. activu = false
  436. end
  437. function KABOOMZ()
  438. local effspwn = Instance.new("Part")
  439. coroutine.resume(coroutine.create(function()
  440. local sound1 = Instance.new("Sound")
  441. sound1.SoundId = "rbxassetid://138137702"
  442. sound1.MaxDistance = 300
  443. sound1.EmitterSize = 20
  444. sound1.Volume = 5
  445. sound1.Pitch = 0.95
  446. sound1.Parent = effspwn
  447. local sound2 = Instance.new("Sound")
  448. sound2.SoundId = "rbxassetid://157878578"
  449. sound2.MaxDistance = 300
  450. sound2.EmitterSize = 20
  451. sound2.Volume = 2
  452. sound2.Pitch = 0.9
  453. sound2.Parent = effspwn
  454. local sound3 = Instance.new("Sound")
  455. sound3.SoundId = "rbxassetid://138250406"
  456. sound2.MaxDistance = 400
  457. sound2.EmitterSize = 30
  458. sound2.Volume = 1.5
  459. sound2.Pitch = 0.6
  460. sound2.Parent = effspwn
  461. sound2:Play()
  462. wait()
  463. sound1:Play()
  464. sound3:Play()
  465. end))
  466. local model = Instance.new("Model")
  467. game.Debris:AddItem(model, 20)
  468. model.Name = "smasheffects"
  469. model.Parent = workspace
  470. effspwn.Name = "spwnr"
  471. effspwn.Size = Vector3.new(1, 1, 1)
  472. effspwn.Anchored = true
  473. effspwn.CanCollide = false
  474. effspwn.Transparency = 1
  475. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  476. effspwn.Parent = model
  477. coroutine.resume(coroutine.create(function()
  478. local shok = Instance.new("Part")
  479. shok.Name = "whoosh"
  480. shok.BrickColor = BrickColor.new("Institutional white")
  481. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  482. shok.Size = Vector3.new(1, 1, 1)
  483. shok.Anchored = true
  484. shok.Material = "Neon"
  485. shok.Transparency = 0.1
  486. shok.CanCollide = false
  487. shok.Parent = model
  488. game.Debris:AddItem(shok, 12)
  489. local mesh = Instance.new("SpecialMesh")
  490. mesh.MeshType = "FileMesh"
  491. mesh.MeshId = "rbxassetid://437347603"
  492. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  493. mesh.Parent = shok
  494. for e = 1, 8 do
  495. wait()
  496. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  497. shok.Transparency = shok.Transparency + 0.035
  498. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  499. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  500. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  501. end
  502. for e = 1, 16 do
  503. wait()
  504. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  505. shok.Transparency = shok.Transparency + 0.11
  506. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  507. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  508. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  509. end
  510. end))
  511. coroutine.resume(coroutine.create(function()
  512. local shok = Instance.new("Part")
  513. shok.Name = "wring1"
  514. shok.BrickColor = BrickColor.new("Institutional white")
  515. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  516. shok.Size = Vector3.new(1, 1, 1)
  517. shok.Anchored = true
  518. shok.Material = "Neon"
  519. shok.Transparency = 0.25
  520. shok.CanCollide = false
  521. shok.Parent = model
  522. game.Debris:AddItem(shok, 12)
  523. local mesh = Instance.new("SpecialMesh")
  524. mesh.MeshType = "FileMesh"
  525. mesh.MeshId = "rbxassetid://3270017"
  526. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  527. mesh.Parent = shok
  528. for e = 1, 30 do
  529. wait()
  530. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  531. shok.Transparency = shok.Transparency + 0.002
  532. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  533. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  534. end
  535. for e = 1, 38 do
  536. wait()
  537. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  538. shok.Transparency = shok.Transparency + 0.002
  539. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  540. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  541. end
  542. for e = 1, 24 do
  543. wait()
  544. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  545. shok.Transparency = shok.Transparency + 0.03
  546. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  547. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  548. end
  549. end))
  550. coroutine.resume(coroutine.create(function()
  551. local shok = Instance.new("Part")
  552. shok.Name = "wring2"
  553. shok.BrickColor = BrickColor.new("Institutional white")
  554. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  555. shok.Size = Vector3.new(1, 1, 1)
  556. shok.Anchored = true
  557. shok.Material = "Neon"
  558. shok.Transparency = 0.25
  559. shok.CanCollide = false
  560. shok.Parent = model
  561. game.Debris:AddItem(shok, 12)
  562. local mesh = Instance.new("SpecialMesh")
  563. mesh.MeshType = "FileMesh"
  564. mesh.MeshId = "rbxassetid://3270017"
  565. mesh.Scale = Vector3.new(12, 12, 0.05)
  566. mesh.Parent = shok
  567. for e = 1, 30 do
  568. wait()
  569. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  570. shok.Transparency = shok.Transparency + 0.002
  571. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  572. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  573. end
  574. for e = 1, 38 do
  575. wait()
  576. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  577. shok.Transparency = shok.Transparency + 0.002
  578. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  579. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  580. end
  581. for e = 1, 24 do
  582. wait()
  583. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  584. shok.Transparency = shok.Transparency + 0.03
  585. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  586. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  587. end
  588. end))
  589. coroutine.resume(coroutine.create(function()
  590. local shok = Instance.new("Part")
  591. shok.Name = "coil1"
  592. shok.BrickColor = BrickColor.new("Institutional white")
  593. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  594. shok.Size = Vector3.new(1, 1, 1)
  595. shok.Anchored = true
  596. shok.Material = "Neon"
  597. shok.Transparency = 0.25
  598. shok.CanCollide = false
  599. shok.Parent = model
  600. game.Debris:AddItem(shok, 12)
  601. local mesh = Instance.new("SpecialMesh")
  602. mesh.MeshType = "FileMesh"
  603. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  604. mesh.Scale = Vector3.new(12, 12, 12)
  605. mesh.Parent = shok
  606. for e = 1, 15 do
  607. wait()
  608. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  609. shok.Transparency = shok.Transparency + 0.004
  610. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  611. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  612. end
  613. for e = 1, 16 do
  614. wait()
  615. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  616. shok.Transparency = shok.Transparency + 0.004
  617. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  618. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  619. end
  620. for e = 1, 12 do
  621. wait()
  622. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  623. shok.Transparency = shok.Transparency + 0.06
  624. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  625. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  626. end
  627. end))
  628. coroutine.resume(coroutine.create(function()
  629. local shok = Instance.new("Part")
  630. shok.Name = "coil2"
  631. shok.BrickColor = BrickColor.new("Institutional white")
  632. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  633. shok.Size = Vector3.new(1, 1, 1)
  634. shok.Anchored = true
  635. shok.Material = "Neon"
  636. shok.Transparency = 0.25
  637. shok.CanCollide = false
  638. shok.Parent = model
  639. game.Debris:AddItem(shok, 12)
  640. local mesh = Instance.new("SpecialMesh")
  641. mesh.MeshType = "FileMesh"
  642. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  643. mesh.Scale = Vector3.new(6, 12, 6)
  644. mesh.Parent = shok
  645. for e = 1, 15 do
  646. wait()
  647. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  648. shok.Transparency = shok.Transparency + 0.005
  649. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  650. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  651. end
  652. for e = 1, 16 do
  653. wait()
  654. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  655. shok.Transparency = shok.Transparency + 0.005
  656. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  657. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  658. end
  659. for e = 1, 12 do
  660. wait()
  661. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  662. shok.Transparency = shok.Transparency + 0.09
  663. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  664. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  665. end
  666. end))
  667. coroutine.resume(coroutine.create(function()
  668. local shok = Instance.new("Part")
  669. shok.Name = "shokwve"
  670. shok.BrickColor = BrickColor.new("Institutional white")
  671. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  672. shok.Size = Vector3.new(1, 1, 1)
  673. shok.Anchored = true
  674. shok.Material = "Neon"
  675. shok.Transparency = 0.6
  676. shok.CanCollide = false
  677. shok.Parent = model
  678. game.Debris:AddItem(shok, 12)
  679. local mesh = Instance.new("SpecialMesh")
  680. mesh.MeshType = "FileMesh"
  681. mesh.MeshId = "rbxassetid://489415447"
  682. mesh.Scale = Vector3.new(1, 1, 1)
  683. mesh.Parent = shok
  684. for e = 1, 12 do
  685. wait()
  686. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  687. shok.Transparency = shok.Transparency + 0.002
  688. end
  689. for e = 1, 32 do
  690. wait()
  691. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  692. shok.Transparency = shok.Transparency + 0.002
  693. end
  694. for e = 1, 24 do
  695. wait()
  696. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  697. shok.Transparency = shok.Transparency + 0.03
  698. end
  699. end))
  700. coroutine.resume(coroutine.create(function()
  701. local shok = Instance.new("Part")
  702. shok.Name = "shock2"
  703. shok.BrickColor = BrickColor.new("Institutional white")
  704. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  705. shok.Size = Vector3.new(1, 1, 1)
  706. shok.Anchored = true
  707. shok.Material = "Neon"
  708. shok.Transparency = 0.35
  709. shok.CanCollide = false
  710. shok.Parent = model
  711. game.Debris:AddItem(shok, 12)
  712. local mesh = Instance.new("SpecialMesh")
  713. mesh.MeshType = "FileMesh"
  714. mesh.MeshId = "rbxassetid://489415447"
  715. mesh.Scale = Vector3.new(12, 12, 12)
  716. mesh.Parent = shok
  717. for e = 1, 15 do
  718. wait()
  719. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  720. shok.Transparency = shok.Transparency + 0.004
  721. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  722. end
  723. for e = 1, 16 do
  724. wait()
  725. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  726. shok.Transparency = shok.Transparency + 0.004
  727. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  728. end
  729. for e = 1, 12 do
  730. wait()
  731. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  732. shok.Transparency = shok.Transparency + 0.06
  733. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  734. end
  735. end))
  736. coroutine.resume(coroutine.create(function()
  737. local shok = Instance.new("Part")
  738. shok.Name = "shock3"
  739. shok.BrickColor = BrickColor.new("Institutional white")
  740. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  741. shok.Size = Vector3.new(1, 1, 1)
  742. shok.Anchored = true
  743. shok.Material = "Neon"
  744. shok.Transparency = 0.35
  745. shok.CanCollide = false
  746. shok.Parent = model
  747. game.Debris:AddItem(shok, 12)
  748. local mesh = Instance.new("SpecialMesh")
  749. mesh.MeshType = "FileMesh"
  750. mesh.MeshId = "rbxassetid://489415447"
  751. mesh.Scale = Vector3.new(12, 12, 12)
  752. mesh.Parent = shok
  753. for e = 1, 15 do
  754. wait()
  755. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  756. shok.Transparency = shok.Transparency + 0.004
  757. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  758. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  759. end
  760. for e = 1, 16 do
  761. wait()
  762. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  763. shok.Transparency = shok.Transparency + 0.004
  764. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  765. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  766. end
  767. for e = 1, 12 do
  768. wait()
  769. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  770. shok.Transparency = shok.Transparency + 0.06
  771. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  772. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  773. end
  774. end))
  775. end
  776. function KABOOMZ2()
  777. local effspwn = Instance.new("Part")
  778. coroutine.resume(coroutine.create(function()
  779. local sound1 = Instance.new("Sound")
  780. sound1.SoundId = "rbxassetid://138137702"
  781. sound1.MaxDistance = 300
  782. sound1.EmitterSize = 20
  783. sound1.Volume = 2.5
  784. sound1.Pitch = 0.65
  785. sound1.Parent = effspwn
  786. local sound2 = Instance.new("Sound")
  787. sound2.SoundId = "rbxassetid://157878578"
  788. sound2.MaxDistance = 300
  789. sound2.EmitterSize = 20
  790. sound2.Volume = 1
  791. sound2.Pitch = 0.7
  792. sound2.Parent = effspwn
  793. local sound3 = Instance.new("Sound")
  794. sound3.SoundId = "rbxassetid://138250406"
  795. sound2.MaxDistance = 400
  796. sound2.EmitterSize = 30
  797. sound2.Volume = 0.5
  798. sound2.Pitch = 0.5
  799. sound2.Parent = effspwn
  800. sound2:Play()
  801. wait()
  802. sound1:Play()
  803. sound3:Play()
  804. end))
  805. local model = Instance.new("Model")
  806. game.Debris:AddItem(model, 20)
  807. model.Name = "smasheffects"
  808. model.Parent = workspace
  809. effspwn.Name = "spwnr"
  810. effspwn.Size = Vector3.new(1, 1, 1)
  811. effspwn.Anchored = true
  812. effspwn.CanCollide = false
  813. effspwn.Transparency = 1
  814. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  815. effspwn.Parent = model
  816. coroutine.resume(coroutine.create(function()
  817. local shok = Instance.new("Part")
  818. shok.Name = "whoosh"
  819. shok.BrickColor = BrickColor.new("Institutional white")
  820. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  821. shok.Size = Vector3.new(1, 1, 1)
  822. shok.Anchored = true
  823. shok.Material = "Neon"
  824. shok.Transparency = 0.1
  825. shok.CanCollide = false
  826. shok.Parent = model
  827. game.Debris:AddItem(shok, 12)
  828. local mesh = Instance.new("SpecialMesh")
  829. mesh.MeshType = "FileMesh"
  830. mesh.MeshId = "rbxassetid://437347603"
  831. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  832. mesh.Parent = shok
  833. for e = 1, 8 do
  834. wait()
  835. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  836. shok.Transparency = shok.Transparency + 0.035
  837. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  838. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  839. end
  840. for e = 1, 16 do
  841. wait()
  842. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  843. shok.Transparency = shok.Transparency + 0.11
  844. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  845. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  846. end
  847. end))
  848. coroutine.resume(coroutine.create(function()
  849. local shok = Instance.new("Part")
  850. shok.Name = "wring1"
  851. shok.BrickColor = BrickColor.new("Institutional white")
  852. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  853. shok.Size = Vector3.new(1, 1, 1)
  854. shok.Anchored = true
  855. shok.Material = "Neon"
  856. shok.Transparency = 0.25
  857. shok.CanCollide = false
  858. shok.Parent = model
  859. game.Debris:AddItem(shok, 12)
  860. local mesh = Instance.new("SpecialMesh")
  861. mesh.MeshType = "FileMesh"
  862. mesh.MeshId = "rbxassetid://3270017"
  863. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  864. mesh.Parent = shok
  865. for e = 1, 30 do
  866. wait()
  867. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  868. shok.Transparency = shok.Transparency + 0.002
  869. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  870. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  871. end
  872. for e = 1, 38 do
  873. wait()
  874. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  875. shok.Transparency = shok.Transparency + 0.002
  876. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  877. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  878. end
  879. for e = 1, 24 do
  880. wait()
  881. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  882. shok.Transparency = shok.Transparency + 0.03
  883. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  884. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  885. end
  886. end))
  887. coroutine.resume(coroutine.create(function()
  888. local shok = Instance.new("Part")
  889. shok.Name = "wring2"
  890. shok.BrickColor = BrickColor.new("Institutional white")
  891. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  892. shok.Size = Vector3.new(1, 1, 1)
  893. shok.Anchored = true
  894. shok.Material = "Neon"
  895. shok.Transparency = 0.25
  896. shok.CanCollide = false
  897. shok.Parent = model
  898. game.Debris:AddItem(shok, 12)
  899. local mesh = Instance.new("SpecialMesh")
  900. mesh.MeshType = "FileMesh"
  901. mesh.MeshId = "rbxassetid://3270017"
  902. mesh.Scale = Vector3.new(12, 12, 0.05)
  903. mesh.Parent = shok
  904. for e = 1, 30 do
  905. wait()
  906. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  907. shok.Transparency = shok.Transparency + 0.002
  908. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  909. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  910. end
  911. for e = 1, 38 do
  912. wait()
  913. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  914. shok.Transparency = shok.Transparency + 0.002
  915. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  916. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  917. end
  918. for e = 1, 24 do
  919. wait()
  920. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  921. shok.Transparency = shok.Transparency + 0.03
  922. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  923. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  924. end
  925. end))
  926. coroutine.resume(coroutine.create(function()
  927. local shok = Instance.new("Part")
  928. shok.Name = "coil1"
  929. shok.BrickColor = BrickColor.new("Institutional white")
  930. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  931. shok.Size = Vector3.new(1, 1, 1)
  932. shok.Anchored = true
  933. shok.Material = "Neon"
  934. shok.Transparency = 0.25
  935. shok.CanCollide = false
  936. shok.Parent = model
  937. game.Debris:AddItem(shok, 12)
  938. local mesh = Instance.new("SpecialMesh")
  939. mesh.MeshType = "FileMesh"
  940. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  941. mesh.Scale = Vector3.new(12, 12, 12)
  942. mesh.Parent = shok
  943. for e = 1, 15 do
  944. wait()
  945. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  946. shok.Transparency = shok.Transparency + 0.004
  947. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  948. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  949. end
  950. for e = 1, 16 do
  951. wait()
  952. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  953. shok.Transparency = shok.Transparency + 0.004
  954. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  955. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  956. end
  957. for e = 1, 12 do
  958. wait()
  959. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  960. shok.Transparency = shok.Transparency + 0.06
  961. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  962. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  963. end
  964. end))
  965. coroutine.resume(coroutine.create(function()
  966. local shok = Instance.new("Part")
  967. shok.Name = "coil2"
  968. shok.BrickColor = BrickColor.new("Institutional white")
  969. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  970. shok.Size = Vector3.new(1, 1, 1)
  971. shok.Anchored = true
  972. shok.Material = "Neon"
  973. shok.Transparency = 0.25
  974. shok.CanCollide = false
  975. shok.Parent = model
  976. game.Debris:AddItem(shok, 12)
  977. local mesh = Instance.new("SpecialMesh")
  978. mesh.MeshType = "FileMesh"
  979. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  980. mesh.Scale = Vector3.new(6, 12, 6)
  981. mesh.Parent = shok
  982. for e = 1, 15 do
  983. wait()
  984. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  985. shok.Transparency = shok.Transparency + 0.005
  986. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  987. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  988. end
  989. for e = 1, 16 do
  990. wait()
  991. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  992. shok.Transparency = shok.Transparency + 0.005
  993. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  994. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  995. end
  996. for e = 1, 12 do
  997. wait()
  998. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  999. shok.Transparency = shok.Transparency + 0.09
  1000. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1001. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1002. end
  1003. end))
  1004. coroutine.resume(coroutine.create(function()
  1005. local shok = Instance.new("Part")
  1006. shok.Name = "shokwve"
  1007. shok.BrickColor = BrickColor.new("Institutional white")
  1008. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  1009. shok.Size = Vector3.new(1, 1, 1)
  1010. shok.Anchored = true
  1011. shok.Material = "Neon"
  1012. shok.Transparency = 0.6
  1013. shok.CanCollide = false
  1014. shok.Parent = model
  1015. game.Debris:AddItem(shok, 12)
  1016. local mesh = Instance.new("SpecialMesh")
  1017. mesh.MeshType = "FileMesh"
  1018. mesh.MeshId = "rbxassetid://489415447"
  1019. mesh.Scale = Vector3.new(1, 1, 1)
  1020. mesh.Parent = shok
  1021. for e = 1, 12 do
  1022. wait()
  1023. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1024. shok.Transparency = shok.Transparency + 0.002
  1025. end
  1026. for e = 1, 32 do
  1027. wait()
  1028. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1029. shok.Transparency = shok.Transparency + 0.002
  1030. end
  1031. for e = 1, 24 do
  1032. wait()
  1033. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1034. shok.Transparency = shok.Transparency + 0.03
  1035. end
  1036. end))
  1037. coroutine.resume(coroutine.create(function()
  1038. local shok = Instance.new("Part")
  1039. shok.Name = "shock2"
  1040. shok.BrickColor = BrickColor.new("Institutional white")
  1041. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1042. shok.Size = Vector3.new(1, 1, 1)
  1043. shok.Anchored = true
  1044. shok.Material = "Neon"
  1045. shok.Transparency = 0.35
  1046. shok.CanCollide = false
  1047. shok.Parent = model
  1048. game.Debris:AddItem(shok, 12)
  1049. local mesh = Instance.new("SpecialMesh")
  1050. mesh.MeshType = "FileMesh"
  1051. mesh.MeshId = "rbxassetid://489415447"
  1052. mesh.Scale = Vector3.new(12, 12, 12)
  1053. mesh.Parent = shok
  1054. for e = 1, 15 do
  1055. wait()
  1056. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1057. shok.Transparency = shok.Transparency + 0.004
  1058. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1059. end
  1060. for e = 1, 16 do
  1061. wait()
  1062. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1063. shok.Transparency = shok.Transparency + 0.004
  1064. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1065. end
  1066. for e = 1, 12 do
  1067. wait()
  1068. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1069. shok.Transparency = shok.Transparency + 0.06
  1070. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1071. end
  1072. end))
  1073. coroutine.resume(coroutine.create(function()
  1074. local shok = Instance.new("Part")
  1075. shok.Name = "shock3"
  1076. shok.BrickColor = BrickColor.new("Institutional white")
  1077. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1078. shok.Size = Vector3.new(1, 1, 1)
  1079. shok.Anchored = true
  1080. shok.Material = "Neon"
  1081. shok.Transparency = 0.35
  1082. shok.CanCollide = false
  1083. shok.Parent = model
  1084. game.Debris:AddItem(shok, 12)
  1085. local mesh = Instance.new("SpecialMesh")
  1086. mesh.MeshType = "FileMesh"
  1087. mesh.MeshId = "rbxassetid://489415447"
  1088. mesh.Scale = Vector3.new(12, 12, 12)
  1089. mesh.Parent = shok
  1090. for e = 1, 15 do
  1091. wait()
  1092. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1093. shok.Transparency = shok.Transparency + 0.004
  1094. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1095. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1096. end
  1097. for e = 1, 16 do
  1098. wait()
  1099. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1100. shok.Transparency = shok.Transparency + 0.004
  1101. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1102. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1103. end
  1104. for e = 1, 12 do
  1105. wait()
  1106. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1107. shok.Transparency = shok.Transparency + 0.06
  1108. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1109. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1110. end
  1111. end))
  1112. end
  1113. function hito(partoz, magn, dmg, debtim)
  1114. for _, guy in pairs(workspace:GetChildren()) do
  1115. 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
  1116. do
  1117. local humz = guy:FindFirstChild("Humanoid")
  1118. local hed = guy:FindFirstChild("Head")
  1119. humz:TakeDamage(dmg)
  1120. local db = Instance.new("StringValue")
  1121. db.Name = "alabo"
  1122. db.Parent = hed
  1123. delay(debtim, function()
  1124. db:Destroy()
  1125. end)
  1126. end
  1127. end
  1128. end
  1129. end
  1130. function animo(yep)
  1131. if yep == true then
  1132. anim.Parent = human
  1133. chr.Animate.Disabled = false
  1134. elseif yep == false then
  1135. chr.Animate.Disabled = true
  1136. anim.Parent = nil
  1137. end
  1138. end
  1139. mouse.KeyDown:connect(function(key)
  1140. if key == "e" then
  1141. rsmash()
  1142. end
  1143. if key == "t" then
  1144. jum()
  1145. end
  1146. end)
  1147. tool.Equipped:connect(function()
  1148. selected = true
  1149. end)
  1150. tool.Unequipped:connect(function()
  1151. selected = false
  1152. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement