Advertisement
RipJawSenpai

OpSmashEdit

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