Advertisement
BendyFromBATIM

Untitled

Aug 12th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  2. local plr = game.Players.LocalPlayer
  3. repeat wait() until plr.Character
  4. plr = game.Players.LocalPlayer
  5. char = plr.Character
  6. torso = char.Torso
  7. head = char.Head
  8. neck = torso.Neck
  9. head.face:Destroy()
  10. sound = Instance.new("Sound", head)
  11. sound.SoundId = "rbxassetid://655671770"
  12. sound.Volume = 100
  13. sound:Play()
  14. sound.Looped = true
  15. plr.Chatted:connect(function(message)
  16. if message:sub(1,4) == "Play" then
  17. sound:Stop()
  18. sound.SoundId = "http://www.roblox.com/asset/?id=655671770"..message:sub(6)
  19. sound:Play()
  20. end
  21. end)
  22.  
  23.  
  24.  
  25.  
  26. ---- [[ Left Eye]] ----
  27.  
  28. eye1 = Instance.new("Part", workspace)
  29. eye1.Anchored = false
  30. eye1.Parent = head
  31. eye1.TopSurface = 0
  32. eye1.BrickColor = BrickColor.new("Black")
  33. eye1.BottomSurface = 0
  34. eye1m = Instance.new("SpecialMesh", eye1)
  35. eye1m.MeshType = Enum.MeshType.Sphere
  36. eye1m.Scale = Vector3.new(0.02,0.12,0.03)
  37. ogsize = eye1m.Scale
  38. weld = Instance.new("Weld", head)
  39. weld.Part0 = eye1
  40. weld.Part1 = head
  41. weld.C1 = CFrame.new(-.17,.14,-.57)
  42.  
  43.  
  44.  
  45. ---- [[ Right Eye ]] ----
  46.  
  47.  
  48. eye2 = Instance.new("Part", workspace)
  49. eye2.Anchored = false
  50. eye2.Parent = head
  51. eye2.TopSurface = 0
  52. eye2.BrickColor = BrickColor.new("Black")
  53. eye2.BottomSurface = 0
  54. eye2m = Instance.new("SpecialMesh", eye2)
  55. eye2m.MeshType = Enum.MeshType.Sphere
  56. eye2m.Scale = Vector3.new(0.02,0.12,0.03)
  57. ogsize = eye2m.Scale
  58. weld = Instance.new("Weld", head)
  59. weld.Part0 = eye2
  60. weld.Part1 = head
  61. weld.C1 = CFrame.new(.17,.14,-.57)
  62.  
  63.  
  64.  
  65. ---- [[ Mouth ]] ----
  66.  
  67. mouth = Instance.new("Part", workspace)
  68. mouth.Anchored = false
  69. mouth.Parent = head
  70. mouth.TopSurface = 0
  71. mouth.BrickColor = BrickColor.new("Black")
  72. mouth.BottomSurface = 0
  73. mouth.Material = "SmoothPlastic"
  74. mouthm = Instance.new("SpecialMesh", mouth)
  75. mouthm.MeshType = Enum.MeshType.Sphere
  76. mouthm.Scale = Vector3.new(.13,0.1,0.05)
  77. ogsize = mouthm.Scale
  78. weld = Instance.new("Weld", head)
  79. weld.Part0 = mouth
  80. weld.Part1 = head
  81. weld.C1 = CFrame.new(0,-.25,-.6)
  82. game:service'RunService'.RenderStepped:connect(function()
  83. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
  84. neck.C0 = neck.C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(mouthm.Scale.Y*100) +math.rad(-90),0,math.rad(180)),0.1)
  85. end)
  86. --------------------------------------------------
  87. --fixed by Scenius
  88. plr = game.Players.LocalPlayer
  89. repeat
  90. wait(0.4)
  91. until plr.Character
  92. chr = plr.Character
  93. human = chr:FindFirstChild("Humanoid")
  94. mouse = plr:GetMouse()
  95. selected = false
  96. equipd = false
  97. tors = chr.Torso
  98. rarm = chr["Right Arm"]
  99. larm = chr["Left Arm"]
  100. rleg = chr["Right Leg"]
  101. lleg = chr["Left Leg"]
  102. hrp = chr.HumanoidRootPart
  103. head = chr.Head
  104. anim = human.Animator
  105. activu = false
  106. Heartbeat = Instance.new("BindableEvent")
  107. Heartbeat.Name = "Heartbeat"
  108. Heartbeat.Parent = script
  109. frame = 0.03333333333333333
  110. tf = 0
  111. game:GetService("RunService").Heartbeat:connect(function(s, p)
  112. tf = tf + s
  113. if tf >= frame then
  114. for i = 1, math.floor(tf / frame) do
  115. Heartbeat:Fire()
  116. end
  117. tf = tf - frame * math.floor(tf / frame)
  118. end
  119. end)
  120. function swait(num)
  121. if num == 0 or num == nil then
  122. Heartbeat.Event:wait()
  123. else
  124. for i = 1, num do
  125. Heartbeat.Event:wait()
  126. end
  127. end
  128. end
  129. tool = Instance.new("Tool")
  130. tool.CanBeDropped = false
  131. tool.RequiresHandle = false
  132. tool.Name = "fir"
  133. tool.Parent = plr.Backpack
  134. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  135. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  136. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  137. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  138. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  139. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  140. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  141. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  142. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  143. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  144. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  145. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  146. RS = tors:FindFirstChild("Right Shoulder")
  147. LS = tors:FindFirstChild("Left Shoulder")
  148. RH = tors:FindFirstChild("Right Hip")
  149. LH = tors:FindFirstChild("Left Hip")
  150. RJ = hrp:FindFirstChild("RootJoint")
  151. N = tors:FindFirstChild("Neck")
  152. cf = CFrame.new
  153. ang = CFrame.Angles
  154. rd = math.rad
  155. rd2 = math.random
  156. function nooutline(p)
  157. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  158. end
  159. function makepart(color, name, reflec, mater, parnt, cfram)
  160. local port = Instance.new("Part")
  161. port.BrickColor = BrickColor.new(color)
  162. port.Name = name
  163. nooutline(port)
  164. port.Reflectance = reflec
  165. port.Material = mater
  166. port.Anchored = false
  167. port.CanCollide = false
  168. port.Locked = true
  169. port.Size = Vector3.new(0.2, 0.2, 0.2)
  170. port.Parent = parnt
  171. return port
  172. end
  173. function makemesh(meshtype, scale, meshid, parent)
  174. local mes = Instance.new("SpecialMesh")
  175. mes.MeshType = meshtype
  176. mes.Scale = scale
  177. if meshtype == "FileMesh" then
  178. mes.MeshId = meshid
  179. end
  180. mes.Parent = parent
  181. return mes
  182. end
  183. function makeweld(parent, p0, p1, c0, c1)
  184. local wel = Instance.new("Weld")
  185. wel.Part0 = p0
  186. wel.Part1 = p1
  187. wel.C0 = c0
  188. if c1 ~= nil then
  189. wel.C1 = c1
  190. end
  191. wel.Parent = parent
  192. return wel
  193. end
  194. function smokz(prnt)
  195. s = Instance.new("Smoke")
  196. s.Color = Color3.new(1, 1, 1)
  197. s.Enabled = false
  198. s.Name = "smok"
  199. s.Opacity = 0.5
  200. s.RiseVelocity = 0.2
  201. s.Size = 0.1
  202. s.Parent = prnt
  203. end
  204. function glow(tz, paz, smokinz, length)
  205. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  206. do
  207. local s = Instance.new("Sound")
  208. s.SoundId = "rbxassetid://298181829"
  209. s.Volume = 0.25
  210. s.Pitch = math.random(9, 11) / 10
  211. s.Parent = paz
  212. s:Play()
  213. paz.Transparency = 0.7
  214. if smokinz == true then
  215. paz.smok.Enabled = true
  216. end
  217. delay(length, function()
  218. paz.Transparency = 1
  219. paz.smok.Enabled = false
  220. s:Destroy()
  221. end)
  222. end
  223. end
  224. end
  225. function makeglow()
  226. for _, p in pairs(chr:GetChildren()) do
  227. if p.ClassName == "Accessory" then
  228. do
  229. local h = p:FindFirstChildOfClass("Part")
  230. local nh = h:Clone()
  231. nh.Parent = nil
  232. nh.CFrame = h.CFrame
  233. nh.Transparency = 1
  234. nh.Name = "Glow"
  235. nh.Material = "Neon"
  236. nh.BrickColor = BrickColor.new("New Yeller")
  237. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  238. nh.Parent = h
  239. makeweld(nh, nh, h, cf(0, 0, 0))
  240. local m = nh:FindFirstChildOfClass("SpecialMesh")
  241. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  242. m.TextureId = ""
  243. smokz(nh)
  244. nh.Touched:connect(function(po)
  245. glow(po, nh, true, 0.8)
  246. end)
  247. end
  248. elseif p.ClassName == "Part" and p ~= hrp then
  249. do
  250. local n = p:Clone()
  251. n.Parent = nil
  252. n.Transparency = 1
  253. n.Material = "Neon"
  254. n.Name = "Glow"
  255. n.BrickColor = BrickColor.new("New Yeller")
  256. n.CFrame = p.CFrame
  257. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  258. n.Parent = p
  259. makeweld(n, n, p, cf(0, 0, 0))
  260. smokz(n)
  261. n.Touched:connect(function(po)
  262. glow(po, n, true, 0.8)
  263. end)
  264. if n:FindFirstChildOfClass("Decal") then
  265. n:FindFirstChildOfClass("Decal"):Destroy()
  266. end
  267. if p:FindFirstChildOfClass("SpecialMesh") then
  268. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  269. c.Parent = nil
  270. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  271. c.Parent = n
  272. else
  273. local m = Instance.new("BlockMesh")
  274. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  275. if p == tors then
  276. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  277. end
  278. m.Parent = n
  279. end
  280. end
  281. end
  282. end
  283. end
  284. makeglow()
  285. function fglow(glopart, duration)
  286. for _ = 1, 4 do
  287. swait()
  288. glopart.Transparency = glopart.Transparency - 0.075
  289. end
  290. delay(duration, function()
  291. for _ = 1, 4 do
  292. swait()
  293. glopart.Transparency = glopart.Transparency + 0.075
  294. end
  295. end)
  296. end
  297. function lerpz(joint, prop, cfrmz, alp)
  298. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  299. end
  300. function resetlerp()
  301. RJ.C0 = RJC0
  302. RJ.C1 = RJC1
  303. N.C0 = NC0
  304. N.C1 = NC1
  305. RS.C0 = RSC0
  306. RS.C1 = RSC1
  307. LS.C0 = LSC0
  308. LS.C1 = LSC1
  309. RH.C0 = RHC0
  310. RH.C1 = RHC1
  311. LH.C0 = LHC0
  312. end
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. function RFistDamage()
  325.  
  326. end
  327. function rsmash()
  328. if activu == true or selected == false then
  329. return
  330. end
  331. coroutine.resume(coroutine.create(function()
  332. fglow(rarm.Glow, 3)
  333. end))
  334. activu = true
  335.  
  336. human.WalkSpeed = human.WalkSpeed - 13
  337. animo(false)
  338. local Mus = Instance.new("Sound",workspace)
  339. Mus.SoundId = "rbxassetid://789575203"
  340. Mus.Pitch = 1
  341. Mus.Volume = 90000
  342. Mus.Looped = false
  343. wait(0.3)
  344. Mus:Play()
  345. local pe = Instance.new("ParticleEmitter")
  346. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  347. pe.LightEmission = 0.9
  348. pe.Size = NumberSequence.new(0.5)
  349. pe.Texture = "rbxassetid://272050333"
  350. pe.Transparency = NumberSequence.new(0.1)
  351. pe.Lifetime = NumberRange.new(0.1)
  352. pe.Rate = 1
  353. pe.RotSpeed = NumberRange.new(360)
  354. pe.Speed = NumberRange.new(3)
  355. pe.VelocitySpread = 360
  356. pe.Parent = rarm.Glow
  357. local pe2 = Instance.new("ParticleEmitter")
  358. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  359. pe2.LightEmission = 0.9
  360. pe2.Size = NumberSequence.new(5)
  361. pe2.Texture = "rbxassetid://516107903"
  362. pe2.Transparency = NumberSequence.new(0.4)
  363. pe2.ZOffset = 2
  364. pe2.Enabled = false
  365. pe2.LockedToPart = true
  366. pe2.Lifetime = NumberRange.new(0.07)
  367. pe2.Rate = 8
  368. pe2.Rotation = NumberRange.new(0, 360)
  369. pe2.RotSpeed = NumberRange.new(0)
  370. pe2.Speed = NumberRange.new(0)
  371. pe2.VelocitySpread = 180
  372. pe2.Parent = rarm.Glow
  373. for _ = 1, 45 do
  374. swait()
  375. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  376. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  377. 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)
  378. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  379. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  380. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  381. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  382. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  383. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  384. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  385. pe.Rate = pe.Rate + 25
  386. end
  387. pe2.Enabled = true
  388. pe.Speed = NumberRange.new(10)
  389. for _ = 1, 30 do
  390. swait()
  391. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  392. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  393. 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)
  394. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  395. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  396. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  397. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  398. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  399.  
  400. end
  401. for l = 1, 3 do
  402. swait()
  403. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  404. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  405. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  406. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  407. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  408. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  409. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  410. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  411. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  412. end
  413. pe:Destroy()
  414. pe2:Destroy()
  415. KABOOMZ()
  416. rarm.Glow.smok.Enabled = true
  417. for _ = 1, 8 do
  418. swait()
  419. lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
  420. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
  421. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
  422. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
  423. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
  424. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
  425. lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
  426. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
  427. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
  428. end
  429. wait(1.5)
  430. animo(true)
  431. human.WalkSpeed = human.WalkSpeed + 13
  432. for _ = 1, 24 do
  433. swait()
  434. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  435. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  436. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  437. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  438. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  439. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  440. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  441. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  442. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  443. end
  444. resetlerp()
  445. rarm.Glow.smok.Enabled = false
  446. activu = false
  447. end
  448.  
  449.  
  450.  
  451.  
  452. local debris=game:service"Debris"
  453. vt = Vector3.new
  454. bc = BrickColor.new
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467. function Ring()
  468.  
  469.  
  470. local effspwn = Instance.new("Part")
  471. local model = Instance.new("Model")
  472. game.Debris:AddItem(model, 20)
  473. model.Name = "smasheffects"
  474. model.Parent = workspace
  475. effspwn.Name = "spwnr"
  476. effspwn.Size = Vector3.new(1, 1, 1)
  477. effspwn.Anchored = true
  478. effspwn.CanCollide = false
  479. effspwn.Transparency = 1
  480. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  481. effspwn.Parent = model
  482.  
  483. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  484. if v:FindFirstChild('Humanoid') then
  485. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  486. v.Humanoid.PlatformStand = true
  487. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  488. end
  489. end
  490. coroutine.resume(coroutine.create(function()
  491. local shok = Instance.new("Part")
  492. shok.Name = "wring1"
  493. shok.BrickColor = BrickColor.new("Institutional white")
  494. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  495. shok.Size = Vector3.new(1, 1, 1)
  496. shok.Anchored = true
  497. shok.Material = "Neon"
  498. shok.Transparency = 0.25
  499. shok.CanCollide = false
  500. shok.Parent = model
  501. game.Debris:AddItem(shok, 12)
  502. local mesh = Instance.new("SpecialMesh")
  503. mesh.MeshType = "FileMesh"
  504. mesh.MeshId = "rbxassetid://3270017"
  505. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  506. mesh.Parent = shok
  507. for e = 1, 30 do
  508. wait()
  509. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  510. shok.Transparency = shok.Transparency + 0.002
  511. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  512. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  513. end
  514. for e = 1, 38 do
  515. wait()
  516. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  517. shok.Transparency = shok.Transparency + 0.002
  518. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  519. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  520. end
  521. for e = 1, 24 do
  522. wait()
  523. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  524. shok.Transparency = shok.Transparency + 0.03
  525. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  526. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  527. end
  528. end))
  529. coroutine.resume(coroutine.create(function()
  530. local shok = Instance.new("Part")
  531. shok.Name = "wring2"
  532. shok.BrickColor = BrickColor.new("Institutional white")
  533. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  534. shok.Size = Vector3.new(1, 1, 1)
  535. shok.Anchored = true
  536. shok.Material = "Neon"
  537. shok.Transparency = 0.25
  538. shok.CanCollide = false
  539. shok.Parent = model
  540. game.Debris:AddItem(shok, 12)
  541. local mesh = Instance.new("SpecialMesh")
  542. mesh.MeshType = "FileMesh"
  543. mesh.MeshId = "rbxassetid://3270017"
  544. mesh.Scale = Vector3.new(12, 12, 0.05)
  545. mesh.Parent = shok
  546. for e = 1, 30 do
  547. wait()
  548. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  549. shok.Transparency = shok.Transparency + 0.002
  550. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  551. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  552. end
  553. for e = 1, 38 do
  554. wait()
  555. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  556. shok.Transparency = shok.Transparency + 0.002
  557. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  558. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  559. end
  560. for e = 1, 24 do
  561. wait()
  562. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  563. shok.Transparency = shok.Transparency + 0.03
  564. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  565. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  566. end
  567. end))
  568.  
  569. coroutine.resume(coroutine.create(function()
  570. local shok = Instance.new("Part")
  571. shok.Name = "shokwve"
  572. shok.BrickColor = BrickColor.new("Institutional white")
  573. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  574. shok.Size = Vector3.new(1, 1, 1)
  575. shok.Anchored = true
  576. shok.Material = "Neon"
  577. shok.Transparency = 0.6
  578. shok.CanCollide = false
  579. shok.Parent = model
  580. game.Debris:AddItem(shok, 12)
  581. local mesh = Instance.new("SpecialMesh")
  582. mesh.MeshType = "FileMesh"
  583. mesh.MeshId = "rbxassetid://489415447"
  584. mesh.Scale = Vector3.new(1, 1, 1)
  585. mesh.Parent = shok
  586. for e = 1, 12 do
  587. wait()
  588. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  589. shok.Transparency = shok.Transparency + 0.002
  590. end
  591. for e = 1, 32 do
  592. wait()
  593. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  594. shok.Transparency = shok.Transparency + 0.002
  595. end
  596. for e = 1, 24 do
  597. wait()
  598. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  599. shok.Transparency = shok.Transparency + 0.03
  600. end
  601. end))
  602. coroutine.resume(coroutine.create(function()
  603. local shok = Instance.new("Part")
  604. shok.Name = "shock2"
  605. shok.BrickColor = BrickColor.new("Institutional white")
  606. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  607. shok.Size = Vector3.new(1, 1, 1)
  608. shok.Anchored = true
  609. shok.Material = "Neon"
  610. shok.Transparency = 0.35
  611. shok.CanCollide = false
  612. shok.Parent = model
  613. game.Debris:AddItem(shok, 12)
  614. local mesh = Instance.new("SpecialMesh")
  615. mesh.MeshType = "FileMesh"
  616. mesh.MeshId = "rbxassetid://489415447"
  617. mesh.Scale = Vector3.new(12, 12, 12)
  618. mesh.Parent = shok
  619. for e = 1, 15 do
  620. wait()
  621. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  622. shok.Transparency = shok.Transparency + 0.004
  623. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  624. end
  625. for e = 1, 16 do
  626. wait()
  627. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  628. shok.Transparency = shok.Transparency + 0.004
  629. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  630. end
  631. for e = 1, 12 do
  632. wait()
  633. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  634. shok.Transparency = shok.Transparency + 0.06
  635. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  636. end
  637. end))
  638. coroutine.resume(coroutine.create(function()
  639. local shok = Instance.new("Part")
  640. shok.Name = "shock3"
  641. shok.BrickColor = BrickColor.new("Institutional white")
  642. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  643. shok.Size = Vector3.new(1, 1, 1)
  644. shok.Anchored = true
  645. shok.Material = "Neon"
  646. shok.Transparency = 0.35
  647. shok.CanCollide = false
  648. shok.Parent = model
  649. game.Debris:AddItem(shok, 12)
  650. local mesh = Instance.new("SpecialMesh")
  651. mesh.MeshType = "FileMesh"
  652. mesh.MeshId = "rbxassetid://489415447"
  653. mesh.Scale = Vector3.new(12, 12, 12)
  654. mesh.Parent = shok
  655. for e = 1, 15 do
  656. wait()
  657. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  658. shok.Transparency = shok.Transparency + 0.004
  659. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  660. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  661. end
  662. for e = 1, 16 do
  663. wait()
  664. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  665. shok.Transparency = shok.Transparency + 0.004
  666. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  667. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  668. end
  669. for e = 1, 12 do
  670. wait()
  671. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  672. shok.Transparency = shok.Transparency + 0.06
  673. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  674. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  675. end
  676. end))
  677.  
  678. end
  679. function Landing()
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686. ROW = function(out, trans, s, wt, t, ang, plus)
  687. for i = 1, 360, 360/t do
  688. local c = Instance.new("Part", game.Workspace)
  689. c.FormFactor = 3
  690. c.TopSurface = 0
  691. c.BottomSurface = 0
  692. c.Size = s
  693. c.Anchored = true
  694. c.CanCollide = wt
  695. c.Material=workspace.Base.Material
  696. c.Transparency = trans
  697. c.BrickColor = workspace.Base.BrickColor
  698. c.CFrame = CFrame.new(tors.CFrame.x,0,tors.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  699. c.Locked=true
  700. game.Debris:AddItem(c,15)
  701. end
  702. end
  703.  
  704.  
  705.  
  706.  
  707.  
  708. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  709. Ring()
  710.  
  711.  
  712.  
  713.  
  714.  
  715. end
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723. function newRay(start,face,range,wat)
  724. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  725. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  726. return rey,hit,pos
  727. end
  728.  
  729.  
  730.  
  731.  
  732. function jum()
  733. if activu == true or selected == false then
  734. return
  735. end
  736. coroutine.resume(coroutine.create(function()
  737. fglow(rleg.Glow, 1)
  738. fglow(lleg.Glow, 1)
  739. end))
  740. activu = true
  741. human.WalkSpeed = human.WalkSpeed - 13
  742. local pe = Instance.new("ParticleEmitter")
  743. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  744. pe.LightEmission = 0.9
  745. pe.Size = NumberSequence.new(0.5)
  746. pe.Texture = "rbxassetid://272050333"
  747. pe.Transparency = NumberSequence.new(0.1)
  748. pe.Lifetime = NumberRange.new(0.1)
  749. pe.Rate = 250
  750. pe.RotSpeed = NumberRange.new(360)
  751. pe.Speed = NumberRange.new(3)
  752. pe.VelocitySpread = 360
  753. pe.Parent = rleg.Glow
  754. local pea = pe:Clone()
  755. pea.Parent = lleg.Glow
  756. local pe2 = Instance.new("ParticleEmitter")
  757. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  758. pe2.LightEmission = 0.9
  759. pe2.Size = NumberSequence.new(5)
  760. pe2.Texture = "rbxassetid://516107903"
  761. pe2.Transparency = NumberSequence.new(0.4)
  762. pe2.ZOffset = 2
  763. pe2.Enabled = true
  764. pe2.LockedToPart = true
  765. pe2.Lifetime = NumberRange.new(0.07)
  766. pe2.Rate = 8
  767. pe2.Rotation = NumberRange.new(0, 360)
  768. pe2.RotSpeed = NumberRange.new(0)
  769. pe2.Speed = NumberRange.new(0)
  770. pe2.VelocitySpread = 180
  771. pe2.Parent = lleg.Glow
  772. local pea2 = pe2:Clone()
  773. pea2.Parent = rleg.Glow
  774. for l = 1, 30 do
  775. swait()
  776. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  777. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  778. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  779. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  780. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  781. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  782. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  783. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  784. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  785. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  786. end
  787. pe:Destroy()
  788. pe2:Destroy()
  789. pea:Destroy()
  790. pea2:Destroy()
  791. human.WalkSpeed = 50
  792. BV = Instance.new("BodyVelocity", tors)
  793. BV.maxForce = Vector3.new(0,100000,0)
  794. BV.P = 100000
  795. BV.velocity = Vector3.new(0,800,0)
  796. KABOOMZ2()
  797. coroutine.resume(coroutine.create(function()
  798. swait(3)
  799. BV:Destroy()
  800. end))
  801. for _ = 1, 18 do
  802. swait()
  803. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
  804. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
  805. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
  806. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  807. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
  808. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  809. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
  810. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  811. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
  812. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  813. end
  814. for _ = 1, 18 do
  815. swait()
  816. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  817. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  818. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  819. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  820. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  821. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  822. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  823. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  824. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  825. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  826. end
  827. resetlerp()
  828. local ry,ht,ps=nil,nil,nil
  829. while ht==nil do
  830. ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
  831. wait()
  832. end
  833. human.WalkSpeed = 0
  834. Landing()
  835. z = Instance.new("Sound",tors)
  836. z.SoundId = "rbxassetid://142070127"
  837. z.Volume = 2
  838. wait(.1)
  839. z:Play()
  840.  
  841. for l = 1, 30 do
  842. swait()
  843. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  844. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  845. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  846. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  847. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  848. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  849. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  850. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  851. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  852. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  853. end
  854. resetlerp()
  855. human.WalkSpeed = 16
  856.  
  857. activu = false
  858. end
  859.  
  860.  
  861.  
  862. local acos = math.acos
  863. local sqrt = math.sqrt
  864. local Vec3 = Vector3.new
  865. local fromAxisAngle = CFrame.fromAxisAngle
  866.  
  867. local function toAxisAngle(CFr)
  868. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  869. local Angle = math.acos((R00+R11+R22-1)/2)
  870. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  871. A = A == 0 and 0.00001 or A
  872. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  873. B = B == 0 and 0.00001 or B
  874. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  875. C = C == 0 and 0.00001 or C
  876. local x = (R21-R12)/sqrt(A)
  877. local y = (R02-R20)/sqrt(B)
  878. local z = (R10-R01)/sqrt(C)
  879. return Vec3(x,y,z),Angle
  880. end
  881.  
  882. function ApplyTrig(Num,Func)
  883. local Min,Max = Func(0),Func(1)
  884. local i = Func(Num)
  885. return (i-Min)/(Max-Min)
  886. --[[if Func == "sin" then
  887. return (math.sin((1-Num)*math.pi)+1)/2
  888. elseif Func == "cos" then
  889. return (math.cos((1-Num)*math.pi)+1)/2
  890. end]]
  891. end
  892.  
  893. function LerpCFrame(CFrame1,CFrame2,Num)
  894. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  895. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  896. end
  897.  
  898. function Crater(Torso,Radius)
  899. spawn(function()
  900. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  901. local Ignore = {}
  902. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  903. if v.Character ~= nil then
  904. Ignore[#Ignore+1] = v.Character
  905. end
  906. end
  907. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  908. if Hit == nil then return end
  909. local Parts = {}
  910. for i = 1,360,10 do
  911. local P = Instance.new("Part",Torso.Parent)
  912. P.Anchored = true
  913. P.FormFactor = "Custom"
  914. P.BrickColor = Hit.BrickColor
  915. P.Material = Hit.Material
  916. P.TopSurface = "Smooth"
  917. P.BottomSurface = "Smooth"
  918. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  919. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  920. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  921. if math.random(0,5) == 0 then -- rubble
  922. local P = Instance.new("Part",Torso.Parent)
  923. P.Anchored = true
  924. P.FormFactor = "Custom"
  925. P.BrickColor = Hit.BrickColor
  926. P.Material = Hit.Material
  927. P.TopSurface = "Smooth"
  928. P.BottomSurface = "Smooth"
  929. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  930. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  931. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  932. end
  933. end
  934. for i = 0,1,0.05 do
  935. for i2,v in pairs(Parts) do
  936. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  937. end
  938. wait(0.02)
  939. end
  940. for i,v in pairs(Parts) do
  941. if v[1].Size.X > 2.1 then
  942. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  943. end
  944. v[1].Anchored = false
  945. end
  946. for i = 0,1,0.05 do
  947. for i2,v in pairs(Parts) do
  948. v[1].Transparency = i
  949. if i == 1 then
  950. v[1]:Destroy()
  951. elseif i >= 0.25 then
  952. v[1].CanCollide = false
  953. end
  954. end
  955. wait(0.02)
  956. end
  957. Parts = nil
  958. end)
  959. end
  960.  
  961.  
  962. function FindNearestTorso(Position,Distance,SinglePlayer)
  963. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  964. local List = {}
  965. for i,v in pairs(workspace:GetChildren())do
  966. if v:IsA("Model")then
  967. if v:findFirstChild("Torso")then
  968. if v ~= chr then
  969. if(v.Torso.Position -Position).magnitude <= Distance then
  970. table.insert(List,v)
  971. end
  972. end
  973. end
  974. end
  975. end
  976. return List
  977. end
  978.  
  979. function KABOOMZ()
  980. local effspwn = Instance.new("Part")
  981. coroutine.resume(coroutine.create(function()
  982. local sound1 = Instance.new("Sound")
  983. sound1.SoundId = "rbxassetid://138137702"
  984. sound1.MaxDistance = 300
  985. sound1.EmitterSize = 20
  986. sound1.Volume = 5
  987. sound1.Pitch = 0.95
  988. sound1.Parent = effspwn
  989. local sound2 = Instance.new("Sound")
  990. sound2.SoundId = "rbxassetid://157878578"
  991. sound2.MaxDistance = 300
  992. sound2.EmitterSize = 20
  993. sound2.Volume = 2
  994. sound2.Pitch = 0.9
  995. sound2.Parent = effspwn
  996. local sound3 = Instance.new("Sound")
  997. sound3.SoundId = "rbxassetid://138250406"
  998. sound2.MaxDistance = 400
  999. sound2.EmitterSize = 30
  1000. sound2.Volume = 1.5
  1001. sound2.Pitch = 0.6
  1002. sound2.Parent = effspwn
  1003. sound2:Play()
  1004. wait()
  1005. sound1:Play()
  1006. sound3:Play()
  1007. end))
  1008. local model = Instance.new("Model")
  1009. game.Debris:AddItem(model, 20)
  1010. model.Name = "smasheffects"
  1011. model.Parent = workspace
  1012. effspwn.Name = "spwnr"
  1013. effspwn.Size = Vector3.new(1, 1, 1)
  1014. effspwn.Anchored = true
  1015. effspwn.CanCollide = false
  1016. effspwn.Transparency = 1
  1017. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  1018. effspwn.Parent = model
  1019.  
  1020. Crater(head,60)
  1021.  
  1022. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1023. if v:FindFirstChild('Humanoid') then
  1024. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1025. v.Humanoid.PlatformStand = true
  1026. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1027. end
  1028. end
  1029. coroutine.resume(coroutine.create(function()
  1030. local shok = Instance.new("Part")
  1031. shok.Name = "whoosh"
  1032. shok.BrickColor = BrickColor.new("Institutional white")
  1033. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1034. shok.Size = Vector3.new(1, 1, 1)
  1035. shok.Anchored = true
  1036. shok.Material = "Neon"
  1037. shok.Transparency = 0.1
  1038. shok.CanCollide = false
  1039. shok.Parent = model
  1040. game.Debris:AddItem(shok, 12)
  1041. local mesh = Instance.new("SpecialMesh")
  1042. mesh.MeshType = "FileMesh"
  1043. mesh.MeshId = "rbxassetid://437347603"
  1044. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  1045. mesh.Parent = shok
  1046. for e = 1, 8 do
  1047. wait()
  1048. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  1049. shok.Transparency = shok.Transparency + 0.035
  1050. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  1051. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1052. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1053. end
  1054. for e = 1, 16 do
  1055. wait()
  1056. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  1057. shok.Transparency = shok.Transparency + 0.11
  1058. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  1059. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  1060. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1061. end
  1062. end))
  1063. coroutine.resume(coroutine.create(function()
  1064. local shok = Instance.new("Part")
  1065. shok.Name = "wring1"
  1066. shok.BrickColor = BrickColor.new("Institutional white")
  1067. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1068. shok.Size = Vector3.new(1, 1, 1)
  1069. shok.Anchored = true
  1070. shok.Material = "Neon"
  1071. shok.Transparency = 0.25
  1072. shok.CanCollide = false
  1073. shok.Parent = model
  1074. game.Debris:AddItem(shok, 12)
  1075. local mesh = Instance.new("SpecialMesh")
  1076. mesh.MeshType = "FileMesh"
  1077. mesh.MeshId = "rbxassetid://3270017"
  1078. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1079. mesh.Parent = shok
  1080. for e = 1, 30 do
  1081. wait()
  1082. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1083. shok.Transparency = shok.Transparency + 0.002
  1084. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1085. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1086. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1087.  
  1088. end
  1089. for e = 1, 38 do
  1090. wait()
  1091. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1092. shok.Transparency = shok.Transparency + 0.002
  1093. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1094. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1095. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1096.  
  1097. end
  1098. for e = 1, 24 do
  1099. wait()
  1100. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1101. shok.Transparency = shok.Transparency + 0.03
  1102. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1103. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1104. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1105.  
  1106. end
  1107. end))
  1108. coroutine.resume(coroutine.create(function()
  1109. local shok = Instance.new("Part")
  1110. shok.Name = "wring2"
  1111. shok.BrickColor = BrickColor.new("Institutional white")
  1112. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1113. shok.Size = Vector3.new(1, 1, 1)
  1114. shok.Anchored = true
  1115. shok.Material = "Neon"
  1116. shok.Transparency = 0.25
  1117. shok.CanCollide = false
  1118. shok.Parent = model
  1119. game.Debris:AddItem(shok, 12)
  1120. local mesh = Instance.new("SpecialMesh")
  1121. mesh.MeshType = "FileMesh"
  1122. mesh.MeshId = "rbxassetid://3270017"
  1123. mesh.Scale = Vector3.new(12, 12, 0.05)
  1124. mesh.Parent = shok
  1125. for e = 1, 30 do
  1126. wait()
  1127. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1128. shok.Transparency = shok.Transparency + 0.002
  1129. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1130. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1131. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1132.  
  1133. end
  1134. for e = 1, 38 do
  1135. wait()
  1136. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1137. shok.Transparency = shok.Transparency + 0.002
  1138. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1139. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1140. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1141.  
  1142. end
  1143. for e = 1, 24 do
  1144. wait()
  1145. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1146. shok.Transparency = shok.Transparency + 0.03
  1147. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1148. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1149. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1150.  
  1151. end
  1152. end))
  1153. coroutine.resume(coroutine.create(function()
  1154. local shok = Instance.new("Part")
  1155. shok.Name = "coil1"
  1156. shok.BrickColor = BrickColor.new("Institutional white")
  1157. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1158. shok.Size = Vector3.new(1, 1, 1)
  1159. shok.Anchored = true
  1160. shok.Material = "Neon"
  1161. shok.Transparency = 0.25
  1162. shok.CanCollide = false
  1163. shok.Parent = model
  1164. game.Debris:AddItem(shok, 12)
  1165. local mesh = Instance.new("SpecialMesh")
  1166. mesh.MeshType = "FileMesh"
  1167. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1168. mesh.Scale = Vector3.new(12, 12, 12)
  1169. mesh.Parent = shok
  1170. for e = 1, 15 do
  1171. wait()
  1172. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1173. shok.Transparency = shok.Transparency + 0.004
  1174. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1175. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1176. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1177.  
  1178. end
  1179. for e = 1, 16 do
  1180. wait()
  1181. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1182. shok.Transparency = shok.Transparency + 0.004
  1183. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1184. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1185. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1186.  
  1187. end
  1188. for e = 1, 12 do
  1189. wait()
  1190. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1191. shok.Transparency = shok.Transparency + 0.06
  1192. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1193. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1194. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1195.  
  1196. end
  1197. end))
  1198. coroutine.resume(coroutine.create(function()
  1199. local shok = Instance.new("Part")
  1200. shok.Name = "coil2"
  1201. shok.BrickColor = BrickColor.new("Institutional white")
  1202. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1203. shok.Size = Vector3.new(1, 1, 1)
  1204. shok.Anchored = true
  1205. shok.Material = "Neon"
  1206. shok.Transparency = 0.25
  1207. shok.CanCollide = false
  1208. shok.Parent = model
  1209. game.Debris:AddItem(shok, 12)
  1210. local mesh = Instance.new("SpecialMesh")
  1211. mesh.MeshType = "FileMesh"
  1212. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1213. mesh.Scale = Vector3.new(6, 12, 6)
  1214. mesh.Parent = shok
  1215. for e = 1, 15 do
  1216. wait()
  1217. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1218. shok.Transparency = shok.Transparency + 0.005
  1219. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1220. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1221. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1222.  
  1223. end
  1224. for e = 1, 16 do
  1225. wait()
  1226. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1227. shok.Transparency = shok.Transparency + 0.005
  1228. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1229. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1230. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1231.  
  1232. end
  1233. for e = 1, 12 do
  1234. wait()
  1235. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1236. shok.Transparency = shok.Transparency + 0.09
  1237. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1238. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1239. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1240.  
  1241. end
  1242. end))
  1243. coroutine.resume(coroutine.create(function()
  1244. local shok = Instance.new("Part")
  1245. shok.Name = "shokwve"
  1246. shok.BrickColor = BrickColor.new("Institutional white")
  1247. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  1248. shok.Size = Vector3.new(1, 1, 1)
  1249. shok.Anchored = true
  1250. shok.Material = "Neon"
  1251. shok.Transparency = 0.6
  1252. shok.CanCollide = false
  1253. shok.Parent = model
  1254. game.Debris:AddItem(shok, 12)
  1255. local mesh = Instance.new("SpecialMesh")
  1256. mesh.MeshType = "FileMesh"
  1257. mesh.MeshId = "rbxassetid://489415447"
  1258. mesh.Scale = Vector3.new(1, 1, 1)
  1259. mesh.Parent = shok
  1260. for e = 1, 12 do
  1261. wait()
  1262. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1263. shok.Transparency = shok.Transparency + 0.002
  1264. end
  1265. for e = 1, 32 do
  1266. wait()
  1267. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1268. shok.Transparency = shok.Transparency + 0.002
  1269. end
  1270. for e = 1, 24 do
  1271. wait()
  1272. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1273. shok.Transparency = shok.Transparency + 0.03
  1274. end
  1275. end))
  1276. coroutine.resume(coroutine.create(function()
  1277. local shok = Instance.new("Part")
  1278. shok.Name = "shock2"
  1279. shok.BrickColor = BrickColor.new("Institutional white")
  1280. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1281. shok.Size = Vector3.new(1, 1, 1)
  1282. shok.Anchored = true
  1283. shok.Material = "Neon"
  1284. shok.Transparency = 0.35
  1285. shok.CanCollide = false
  1286. shok.Parent = model
  1287. game.Debris:AddItem(shok, 12)
  1288. local mesh = Instance.new("SpecialMesh")
  1289. mesh.MeshType = "FileMesh"
  1290. mesh.MeshId = "rbxassetid://489415447"
  1291. mesh.Scale = Vector3.new(12, 12, 12)
  1292. mesh.Parent = shok
  1293. for e = 1, 15 do
  1294. wait()
  1295. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1296. shok.Transparency = shok.Transparency + 0.004
  1297. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1298. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1299.  
  1300. end
  1301. for e = 1, 16 do
  1302. wait()
  1303. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1304. shok.Transparency = shok.Transparency + 0.004
  1305. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1306. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1307.  
  1308. end
  1309. for e = 1, 12 do
  1310. wait()
  1311. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1312. shok.Transparency = shok.Transparency + 0.06
  1313. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1314. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1315.  
  1316. end
  1317. end))
  1318. coroutine.resume(coroutine.create(function()
  1319. local shok = Instance.new("Part")
  1320. shok.Name = "shock3"
  1321. shok.BrickColor = BrickColor.new("Institutional white")
  1322. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1323. shok.Size = Vector3.new(1, 1, 1)
  1324. shok.Anchored = true
  1325. shok.Material = "Neon"
  1326. shok.Transparency = 0.35
  1327. shok.CanCollide = false
  1328. shok.Parent = model
  1329. game.Debris:AddItem(shok, 12)
  1330. local mesh = Instance.new("SpecialMesh")
  1331. mesh.MeshType = "FileMesh"
  1332. mesh.MeshId = "rbxassetid://489415447"
  1333. mesh.Scale = Vector3.new(12, 12, 12)
  1334. mesh.Parent = shok
  1335. for e = 1, 15 do
  1336. wait()
  1337. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1338. shok.Transparency = shok.Transparency + 0.004
  1339. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1340. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1341. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1342.  
  1343. end
  1344. for e = 1, 16 do
  1345. wait()
  1346. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1347. shok.Transparency = shok.Transparency + 0.004
  1348. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1349. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1350. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1351.  
  1352. end
  1353. for e = 1, 12 do
  1354. wait()
  1355. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1356. shok.Transparency = shok.Transparency + 0.06
  1357. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1358. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1359. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1360.  
  1361. end
  1362. end))
  1363. end
  1364. function KABOOMZ2()
  1365. local effspwn = Instance.new("Part")
  1366. coroutine.resume(coroutine.create(function()
  1367. local sound1 = Instance.new("Sound")
  1368. sound1.SoundId = "rbxassetid://138137702"
  1369. sound1.MaxDistance = 300
  1370. sound1.EmitterSize = 20
  1371. sound1.Volume = 2.5
  1372. sound1.Pitch = 0.65
  1373. sound1.Parent = effspwn
  1374. local sound2 = Instance.new("Sound")
  1375. sound2.SoundId = "rbxassetid://157878578"
  1376. sound2.MaxDistance = 300
  1377. sound2.EmitterSize = 20
  1378. sound2.Volume = 1
  1379. sound2.Pitch = 0.7
  1380. sound2.Parent = effspwn
  1381. local sound3 = Instance.new("Sound")
  1382. sound3.SoundId = "rbxassetid://138250406"
  1383. sound2.MaxDistance = 400
  1384. sound2.EmitterSize = 30
  1385. sound2.Volume = 0.5
  1386. sound2.Pitch = 0.5
  1387. sound2.Parent = effspwn
  1388. sound2:Play()
  1389. wait()
  1390. sound1:Play()
  1391. sound3:Play()
  1392. end))
  1393. local model = Instance.new("Model")
  1394. game.Debris:AddItem(model, 20)
  1395. model.Name = "smasheffects"
  1396. model.Parent = workspace
  1397. effspwn.Name = "spwnr"
  1398. effspwn.Size = Vector3.new(1, 1, 1)
  1399. effspwn.Anchored = true
  1400. effspwn.CanCollide = false
  1401. effspwn.Transparency = 1
  1402. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1403. effspwn.Parent = model
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409. Crater(head,60)
  1410. Crater(head,120)
  1411.  
  1412. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1413. if v:FindFirstChild('Humanoid') then
  1414. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1415. v.Humanoid.PlatformStand = true
  1416. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1417. end
  1418. end
  1419.  
  1420. coroutine.resume(coroutine.create(function()
  1421. local shok = Instance.new("Part")
  1422. shok.Name = "whoosh"
  1423. shok.BrickColor = BrickColor.new("Institutional white")
  1424. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1425. shok.Size = Vector3.new(1, 1, 1)
  1426. shok.Anchored = true
  1427. shok.Material = "Neon"
  1428. shok.Transparency = 0.1
  1429. shok.CanCollide = false
  1430. shok.Parent = model
  1431. game.Debris:AddItem(shok, 12)
  1432. local mesh = Instance.new("SpecialMesh")
  1433. mesh.MeshType = "FileMesh"
  1434. mesh.MeshId = "rbxassetid://437347603"
  1435. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  1436. mesh.Parent = shok
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442. for e = 1, 8 do
  1443. wait()
  1444. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  1445. shok.Transparency = shok.Transparency + 0.035
  1446. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  1447. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1448. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1449.  
  1450. end
  1451. for e = 1, 16 do
  1452. wait()
  1453. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  1454. shok.Transparency = shok.Transparency + 0.11
  1455. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  1456. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  1457. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1458.  
  1459. end
  1460. end))
  1461. coroutine.resume(coroutine.create(function()
  1462. local shok = Instance.new("Part")
  1463. shok.Name = "wring1"
  1464. shok.BrickColor = BrickColor.new("Institutional white")
  1465. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1466. shok.Size = Vector3.new(1, 1, 1)
  1467. shok.Anchored = true
  1468. shok.Material = "Neon"
  1469. shok.Transparency = 0.25
  1470. shok.CanCollide = false
  1471. shok.Parent = model
  1472. game.Debris:AddItem(shok, 12)
  1473. local mesh = Instance.new("SpecialMesh")
  1474. mesh.MeshType = "FileMesh"
  1475. mesh.MeshId = "rbxassetid://3270017"
  1476. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1477. mesh.Parent = shok
  1478. for e = 1, 30 do
  1479. wait()
  1480. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1481. shok.Transparency = shok.Transparency + 0.002
  1482. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1483. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1484. end
  1485. for e = 1, 38 do
  1486. wait()
  1487. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1488. shok.Transparency = shok.Transparency + 0.002
  1489. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1490. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1491. end
  1492. for e = 1, 24 do
  1493. wait()
  1494. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1495. shok.Transparency = shok.Transparency + 0.03
  1496. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1497. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1498. end
  1499. end))
  1500. coroutine.resume(coroutine.create(function()
  1501. local shok = Instance.new("Part")
  1502. shok.Name = "wring2"
  1503. shok.BrickColor = BrickColor.new("Institutional white")
  1504. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1505. shok.Size = Vector3.new(1, 1, 1)
  1506. shok.Anchored = true
  1507. shok.Material = "Neon"
  1508. shok.Transparency = 0.25
  1509. shok.CanCollide = false
  1510. shok.Parent = model
  1511. game.Debris:AddItem(shok, 12)
  1512. local mesh = Instance.new("SpecialMesh")
  1513. mesh.MeshType = "FileMesh"
  1514. mesh.MeshId = "rbxassetid://3270017"
  1515. mesh.Scale = Vector3.new(12, 12, 0.05)
  1516. mesh.Parent = shok
  1517. for e = 1, 30 do
  1518. wait()
  1519. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1520. shok.Transparency = shok.Transparency + 0.002
  1521. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1522. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1523. end
  1524. for e = 1, 38 do
  1525. wait()
  1526. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1527. shok.Transparency = shok.Transparency + 0.002
  1528. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1529. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1530. end
  1531. for e = 1, 24 do
  1532. wait()
  1533. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1534. shok.Transparency = shok.Transparency + 0.03
  1535. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1536. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1537. end
  1538. end))
  1539. coroutine.resume(coroutine.create(function()
  1540. local shok = Instance.new("Part")
  1541. shok.Name = "coil1"
  1542. shok.BrickColor = BrickColor.new("Institutional white")
  1543. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1544. shok.Size = Vector3.new(1, 1, 1)
  1545. shok.Anchored = true
  1546. shok.Material = "Neon"
  1547. shok.Transparency = 0.25
  1548. shok.CanCollide = false
  1549. shok.Parent = model
  1550. game.Debris:AddItem(shok, 12)
  1551. local mesh = Instance.new("SpecialMesh")
  1552. mesh.MeshType = "FileMesh"
  1553. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1554. mesh.Scale = Vector3.new(12, 12, 12)
  1555. mesh.Parent = shok
  1556. for e = 1, 15 do
  1557. wait()
  1558. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1559. shok.Transparency = shok.Transparency + 0.004
  1560. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1561. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1562. end
  1563. for e = 1, 16 do
  1564. wait()
  1565. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1566. shok.Transparency = shok.Transparency + 0.004
  1567. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1568. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1569. end
  1570. for e = 1, 12 do
  1571. wait()
  1572. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1573. shok.Transparency = shok.Transparency + 0.06
  1574. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1575. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1576. end
  1577. end))
  1578. coroutine.resume(coroutine.create(function()
  1579. local shok = Instance.new("Part")
  1580. shok.Name = "coil2"
  1581. shok.BrickColor = BrickColor.new("Institutional white")
  1582. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1583. shok.Size = Vector3.new(1, 1, 1)
  1584. shok.Anchored = true
  1585. shok.Material = "Neon"
  1586. shok.Transparency = 0.25
  1587. shok.CanCollide = false
  1588. shok.Parent = model
  1589. game.Debris:AddItem(shok, 12)
  1590. local mesh = Instance.new("SpecialMesh")
  1591. mesh.MeshType = "FileMesh"
  1592. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1593. mesh.Scale = Vector3.new(6, 12, 6)
  1594. mesh.Parent = shok
  1595. for e = 1, 15 do
  1596. wait()
  1597. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1598. shok.Transparency = shok.Transparency + 0.005
  1599. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1600. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1601. end
  1602. for e = 1, 16 do
  1603. wait()
  1604. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1605. shok.Transparency = shok.Transparency + 0.005
  1606. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1607. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1608. end
  1609. for e = 1, 12 do
  1610. wait()
  1611. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1612. shok.Transparency = shok.Transparency + 0.09
  1613. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1614. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1615. end
  1616. end))
  1617. coroutine.resume(coroutine.create(function()
  1618. local shok = Instance.new("Part")
  1619. shok.Name = "shokwve"
  1620. shok.BrickColor = BrickColor.new("Institutional white")
  1621. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  1622. shok.Size = Vector3.new(1, 1, 1)
  1623. shok.Anchored = true
  1624. shok.Material = "Neon"
  1625. shok.Transparency = 0.6
  1626. shok.CanCollide = false
  1627. shok.Parent = model
  1628. game.Debris:AddItem(shok, 12)
  1629. local mesh = Instance.new("SpecialMesh")
  1630. mesh.MeshType = "FileMesh"
  1631. mesh.MeshId = "rbxassetid://489415447"
  1632. mesh.Scale = Vector3.new(1, 1, 1)
  1633. mesh.Parent = shok
  1634. for e = 1, 12 do
  1635. wait()
  1636. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1637. shok.Transparency = shok.Transparency + 0.002
  1638. end
  1639. for e = 1, 32 do
  1640. wait()
  1641. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1642. shok.Transparency = shok.Transparency + 0.002
  1643. end
  1644. for e = 1, 24 do
  1645. wait()
  1646. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1647. shok.Transparency = shok.Transparency + 0.03
  1648. end
  1649. end))
  1650. coroutine.resume(coroutine.create(function()
  1651. local shok = Instance.new("Part")
  1652. shok.Name = "shock2"
  1653. shok.BrickColor = BrickColor.new("Institutional white")
  1654. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1655. shok.Size = Vector3.new(1, 1, 1)
  1656. shok.Anchored = true
  1657. shok.Material = "Neon"
  1658. shok.Transparency = 0.35
  1659. shok.CanCollide = false
  1660. shok.Parent = model
  1661. game.Debris:AddItem(shok, 12)
  1662. local mesh = Instance.new("SpecialMesh")
  1663. mesh.MeshType = "FileMesh"
  1664. mesh.MeshId = "rbxassetid://489415447"
  1665. mesh.Scale = Vector3.new(12, 12, 12)
  1666. mesh.Parent = shok
  1667. for e = 1, 15 do
  1668. wait()
  1669. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1670. shok.Transparency = shok.Transparency + 0.004
  1671. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1672. end
  1673. for e = 1, 16 do
  1674. wait()
  1675. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1676. shok.Transparency = shok.Transparency + 0.004
  1677. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1678. end
  1679. for e = 1, 12 do
  1680. wait()
  1681. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1682. shok.Transparency = shok.Transparency + 0.06
  1683. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1684. end
  1685. end))
  1686. coroutine.resume(coroutine.create(function()
  1687. local shok = Instance.new("Part")
  1688. shok.Name = "shock3"
  1689. shok.BrickColor = BrickColor.new("Institutional white")
  1690. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1691. shok.Size = Vector3.new(1, 1, 1)
  1692. shok.Anchored = true
  1693. shok.Material = "Neon"
  1694. shok.Transparency = 0.35
  1695. shok.CanCollide = false
  1696. shok.Parent = model
  1697. game.Debris:AddItem(shok, 12)
  1698. local mesh = Instance.new("SpecialMesh")
  1699. mesh.MeshType = "FileMesh"
  1700. mesh.MeshId = "rbxassetid://489415447"
  1701. mesh.Scale = Vector3.new(12, 12, 12)
  1702. mesh.Parent = shok
  1703. for e = 1, 15 do
  1704. wait()
  1705. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1706. shok.Transparency = shok.Transparency + 0.004
  1707. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1708. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1709. end
  1710. for e = 1, 16 do
  1711. wait()
  1712. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1713. shok.Transparency = shok.Transparency + 0.004
  1714. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1715. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1716. end
  1717. for e = 1, 12 do
  1718. wait()
  1719. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1720. shok.Transparency = shok.Transparency + 0.06
  1721. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1722. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1723. end
  1724. end))
  1725. end
  1726.  
  1727.  
  1728.  
  1729. tor = chr.Torso
  1730. Debounce = false
  1731.  
  1732. Invis = function()
  1733. for i = 1,20 do
  1734. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05
  1735. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
  1736. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
  1737. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
  1738. chr['Head'].Transparency = chr['Head'].Transparency + .05
  1739. chr['Torso'].Transparency = chr['Torso'].Transparency + .05
  1740. chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
  1741. game["Run Service"].RenderStepped:wait()
  1742. end
  1743. end
  1744.  
  1745. Vis = function()
  1746. for i = 1,20 do
  1747. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05
  1748. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
  1749. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
  1750. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
  1751. chr['Head'].Transparency = chr['Head'].Transparency - .05
  1752. chr['Torso'].Transparency = chr['Torso'].Transparency - .05
  1753. chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
  1754. game["Run Service"].RenderStepped:wait()
  1755. end
  1756. end
  1757.  
  1758. Fade = function(Part)
  1759. if Part:IsA'Part' then
  1760. for i = 1,20 do
  1761. Part.Transparency = Part.Transparency + .05
  1762. Part.Size = Part.Size - Vector3.new(.04,.04,.04)
  1763. Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
  1764. wait()
  1765. end
  1766. Part:Destroy()
  1767. end
  1768. end
  1769.  
  1770. Teleport = function(cx,cy,cz)
  1771. Debounce = true
  1772. tor.Anchored = true
  1773. Invis()
  1774. --MakeTpPart()
  1775. tor.Anchored = false
  1776. tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
  1777. tor.Anchored = true
  1778. Vis()
  1779. tor.Anchored = false
  1780. Debounce = false
  1781. end;
  1782.  
  1783.  
  1784.  
  1785. tps = Instance.new("Sound",chr)
  1786. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  1787. tps.Volume = 30
  1788.  
  1789.  
  1790. function Tele()
  1791. human.WalkSpeed = 0
  1792. if activu == true or selected == false then
  1793. return
  1794. end
  1795. coroutine.resume(coroutine.create(function()
  1796. fglow(rleg.Glow, 1)
  1797. fglow(lleg.Glow, 1)
  1798. end))
  1799. activu = true
  1800. local pe = Instance.new("ParticleEmitter")
  1801. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  1802. pe.LightEmission = 0.9
  1803. pe.Size = NumberSequence.new(0.5)
  1804. pe.Texture = "rbxassetid://272050333"
  1805. pe.Transparency = NumberSequence.new(0.1)
  1806. pe.Lifetime = NumberRange.new(0.1)
  1807. pe.Rate = 250
  1808. pe.RotSpeed = NumberRange.new(360)
  1809. pe.Speed = NumberRange.new(3)
  1810. pe.VelocitySpread = 360
  1811. pe.Parent = rleg.Glow
  1812. local pea = pe:Clone()
  1813. pea.Parent = lleg.Glow
  1814. local pe2 = Instance.new("ParticleEmitter")
  1815. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  1816. pe2.LightEmission = 0.9
  1817. pe2.Size = NumberSequence.new(5)
  1818. pe2.Texture = "rbxassetid://516107903"
  1819. pe2.Transparency = NumberSequence.new(0.4)
  1820. pe2.ZOffset = 2
  1821. pe2.Enabled = true
  1822. pe2.LockedToPart = true
  1823. pe2.Lifetime = NumberRange.new(0.07)
  1824. pe2.Rate = 8
  1825. pe2.Rotation = NumberRange.new(0, 360)
  1826. pe2.RotSpeed = NumberRange.new(0)
  1827. pe2.Speed = NumberRange.new(0)
  1828. pe2.VelocitySpread = 180
  1829. pe2.Parent = lleg.Glow
  1830. local pea2 = pe2:Clone()
  1831. pea2.Parent = rleg.Glow
  1832.  
  1833. for l = 1, 30 do
  1834. swait()
  1835. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  1836. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  1837. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  1838. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1839. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  1840. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1841. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  1842. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1843. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  1844. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1845. end
  1846.  
  1847. pe:Destroy()
  1848. pe2:Destroy()
  1849. pea:Destroy()
  1850. pea2:Destroy()
  1851. local rng = Instance.new("Part", chr)
  1852. rng.Anchored = true
  1853. rng.BrickColor = BrickColor.new("Institutional white")
  1854. rng.CanCollide = false
  1855. rng.FormFactor = 3
  1856. rng.Name = "Ring"
  1857. rng.Size = Vector3.new(1, 1, 1)
  1858. rng.Transparency = 0.5
  1859. rng.TopSurface = 0
  1860. rng.BottomSurface = 0
  1861. rng.Position = tors.Position - Vector3.new(0,2,0)
  1862. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1863. local rngm = Instance.new("SpecialMesh", rng)
  1864. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1865. rngm.Scale = Vector3.new(1, 1, 2)
  1866. coroutine.wrap(function()
  1867. for i = 1, 60, 8 do
  1868. rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
  1869. rng.Transparency = i/60
  1870. wait()
  1871. end
  1872. wait()
  1873. rng:Destroy()
  1874. end)()
  1875. tps:Play()
  1876. Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
  1877. resetlerp()
  1878. human.WalkSpeed = 16
  1879. activu = false
  1880.  
  1881. end
  1882.  
  1883.  
  1884.  
  1885.  
  1886. boom3 = Instance.new("Sound",chr)
  1887. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  1888. boom3.Volume = 50
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894. gprop = {}
  1895. function materialhit(hit)
  1896. if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  1897. gprop = {hit.BrickColor,hit.Material}
  1898. end
  1899. end
  1900. chr["Left Leg"].Touched:connect(materialhit)
  1901. chr["Right Leg"].Touched:connect(materialhit)
  1902.  
  1903.  
  1904. function KickBoom()
  1905. local effspwn = Instance.new("Part")
  1906. local model = Instance.new("Model")
  1907. game.Debris:AddItem(model, 20)
  1908. model.Name = "smasheffects"
  1909. model.Parent = chr
  1910. effspwn.Name = "spwnr"
  1911. effspwn.Size = Vector3.new(1, 1, 1)
  1912. effspwn.Anchored = true
  1913. effspwn.CanCollide = false
  1914. effspwn.Transparency = 1
  1915. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1916. effspwn.Parent = model
  1917.  
  1918. for i = 1, 15 do
  1919. local gtrace = Instance.new("Part",game.Workspace)
  1920. gtrace.BrickColor = gprop[1]
  1921. gtrace.Material = gprop[2]
  1922. gtrace.Size = Vector3.new(16,16,16)
  1923. gtrace.Anchored = true
  1924. gtrace.CanCollide = false
  1925. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  1926. local gdisp = coroutine.wrap(function()
  1927. wait(3)
  1928. for i = 1, 9 do
  1929. wait(.1)
  1930. gtrace.Transparency = gtrace.Transparency + .1
  1931. end
  1932. gtrace:Destroy()
  1933. end)
  1934. gdisp()
  1935. end
  1936.  
  1937. Crater(head,67)
  1938.  
  1939. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1940. if v:FindFirstChild('Humanoid') then
  1941. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1942. v.Humanoid.PlatformStand = true
  1943. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
  1944. end
  1945. end
  1946.  
  1947. coroutine.resume(coroutine.create(function()
  1948. local shok = Instance.new("Part")
  1949. shok.Name = "shock3"
  1950. shok.BrickColor = BrickColor.new("Institutional white")
  1951. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1952. shok.Size = Vector3.new(1, 1, 1)
  1953. shok.Anchored = true
  1954. shok.Material = "Neon"
  1955. shok.Transparency = 0.35
  1956. shok.CanCollide = false
  1957. shok.Parent = model
  1958. game.Debris:AddItem(shok, 12)
  1959. local mesh = Instance.new("SpecialMesh")
  1960. mesh.MeshType = "FileMesh"
  1961. mesh.MeshId = "rbxassetid://489415447"
  1962. mesh.Scale = Vector3.new(19, 19, 19)
  1963. mesh.Parent = shok
  1964. for e = 1, 15 do
  1965. wait()
  1966. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1967. shok.Transparency = shok.Transparency + 0.004
  1968. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1969. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1970. end
  1971. for e = 1, 16 do
  1972. wait()
  1973. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1974. shok.Transparency = shok.Transparency + 0.004
  1975. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1976. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1977. end
  1978. for e = 1, 12 do
  1979. wait()
  1980. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1981. shok.Transparency = shok.Transparency + 0.06
  1982. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1983. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1984. end
  1985. end))
  1986.  
  1987.  
  1988. coroutine.resume(coroutine.create(function()
  1989. local shok = Instance.new("Part")
  1990. shok.Name = "shock3"
  1991. shok.BrickColor = BrickColor.new("Institutional white")
  1992. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1993. shok.Size = Vector3.new(1, 1, 1)
  1994. shok.Anchored = true
  1995. shok.Material = "Neon"
  1996. shok.Transparency = 0.35
  1997. shok.CanCollide = false
  1998. shok.Parent = model
  1999. game.Debris:AddItem(shok, 12)
  2000. local mesh = Instance.new("SpecialMesh")
  2001. mesh.MeshType = "FileMesh"
  2002. mesh.MeshId = "rbxassetid://489415447"
  2003. mesh.Scale = Vector3.new(47, 47, 47)
  2004. mesh.Parent = shok
  2005. for e = 1, 15 do
  2006. wait()
  2007. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2008. shok.Transparency = shok.Transparency + 0.004
  2009. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2010. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2011. end
  2012. for e = 1, 16 do
  2013. wait()
  2014. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2015. shok.Transparency = shok.Transparency + 0.004
  2016. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2017. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2018. end
  2019. for e = 1, 12 do
  2020. wait()
  2021. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2022. shok.Transparency = shok.Transparency + 0.06
  2023. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2024. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2025. end
  2026. end))
  2027.  
  2028. coroutine.resume(coroutine.create(function()
  2029. local shok = Instance.new("Part")
  2030. shok.Name = "shock3"
  2031. shok.BrickColor = BrickColor.new("Institutional white")
  2032. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2033. shok.Size = Vector3.new(1, 1, 1)
  2034. shok.Anchored = true
  2035. shok.Material = "Neon"
  2036. shok.Transparency = 0.35
  2037. shok.CanCollide = false
  2038. shok.Parent = model
  2039. game.Debris:AddItem(shok, 12)
  2040. local mesh = Instance.new("SpecialMesh")
  2041. mesh.MeshType = "FileMesh"
  2042. mesh.MeshId = "rbxassetid://489415447"
  2043. mesh.Scale = Vector3.new(79, 79, 79)
  2044. mesh.Parent = shok
  2045. for e = 1, 15 do
  2046. wait()
  2047. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2048. shok.Transparency = shok.Transparency + 0.004
  2049. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2050. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2051. end
  2052. for e = 1, 16 do
  2053. wait()
  2054. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2055. shok.Transparency = shok.Transparency + 0.004
  2056. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2057. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2058. end
  2059. for e = 1, 12 do
  2060. wait()
  2061. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2062. shok.Transparency = shok.Transparency + 0.06
  2063. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2064. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2065. end
  2066. end))
  2067. end
  2068.  
  2069.  
  2070.  
  2071.  
  2072. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2073. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2074. end
  2075. cam = workspace.CurrentCamera
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084. function NoOutline(Part)
  2085. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2086. end
  2087.  
  2088.  
  2089.  
  2090.  
  2091. it = Instance.new
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102. so = function(id,par,vol,pit)
  2103. coroutine.resume(coroutine.create(function()
  2104. local sou = Instance.new("Sound",par or workspace)
  2105. sou.Volume=vol
  2106. sou.Pitch=pit or 1
  2107. sou.SoundId=id
  2108. swait()
  2109. sou:play()
  2110. game:GetService("Debris"):AddItem(sou,6)
  2111. end))
  2112. end
  2113.  
  2114.  
  2115. function Stom()
  2116.  
  2117. cf=CFrame.new
  2118. angles=CFrame.Angles
  2119. euler=CFrame.fromEulerAnglesXYZ
  2120. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2121. RootPart=chr.HumanoidRootPart
  2122. RootJoint=RootPart.RootJoint
  2123. RootCF=euler(-1.57,0,3.14)
  2124.  
  2125. function QuaternionFromCFrame(cf)
  2126. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2127. local trace = m00 + m11 + m22
  2128. if trace > 0 then
  2129. local s = math.sqrt(1 + trace)
  2130. local recip = 0.5/s
  2131. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2132. else
  2133. local i = 0
  2134. if m11 > m00 then
  2135. i = 1
  2136. end
  2137. if m22 > (i == 0 and m00 or m11) then
  2138. i = 2
  2139. end
  2140. if i == 0 then
  2141. local s = math.sqrt(m00-m11-m22+1)
  2142. local recip = 0.5/s
  2143. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2144. elseif i == 1 then
  2145. local s = math.sqrt(m11-m22-m00+1)
  2146. local recip = 0.5/s
  2147. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2148. elseif i == 2 then
  2149. local s = math.sqrt(m22-m00-m11+1)
  2150. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2151. end
  2152. end
  2153. end
  2154.  
  2155. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2156. local xs, ys, zs = x + x, y + y, z + z
  2157. local wx, wy, wz = w*xs, w*ys, w*zs
  2158. local xx = x*xs
  2159. local xy = x*ys
  2160. local xz = x*zs
  2161. local yy = y*ys
  2162. local yz = y*zs
  2163. local zz = z*zs
  2164. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  2165. end
  2166.  
  2167. function QuaternionSlerp(a, b, t)
  2168. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2169. local startInterp, finishInterp;
  2170. if cosTheta >= 0.0001 then
  2171. if (1 - cosTheta) > 0.0001 then
  2172. local theta = math.acos(cosTheta)
  2173. local invSinTheta = 1/math.sin(theta)
  2174. startInterp = math.sin((1-t)*theta)*invSinTheta
  2175. finishInterp = math.sin(t*theta)*invSinTheta
  2176. else
  2177. startInterp = 1-t
  2178. finishInterp = t
  2179. end
  2180. else
  2181. if (1+cosTheta) > 0.0001 then
  2182. local theta = math.acos(-cosTheta)
  2183. local invSinTheta = 1/math.sin(theta)
  2184. startInterp = math.sin((t-1)*theta)*invSinTheta
  2185. finishInterp = math.sin(t*theta)*invSinTheta
  2186. else
  2187. startInterp = t-1
  2188. finishInterp = t
  2189. end
  2190. end
  2191. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  2192. end
  2193.  
  2194. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2195. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2196. end
  2197.  
  2198. function clerp(a,b,t)
  2199. local qa = {QuaternionFromCFrame(a)}
  2200. local qb = {QuaternionFromCFrame(b)}
  2201. local ax, ay, az = a.x, a.y, a.z
  2202. local bx, by, bz = b.x, b.y, b.z
  2203. local _t = 1-t
  2204. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2205. end
  2206.  
  2207.  
  2208.  
  2209. if activu == true or selected == false then
  2210. return
  2211. end
  2212. coroutine.resume(coroutine.create(function()
  2213. fglow(lleg.Glow, 6)
  2214. end))
  2215. activu = true
  2216. local pe = Instance.new("ParticleEmitter")
  2217. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2218. pe.LightEmission = 0.9
  2219. pe.Size = NumberSequence.new(0.5)
  2220. pe.Texture = "rbxassetid://272050333"
  2221. pe.Transparency = NumberSequence.new(0.1)
  2222. pe.Lifetime = NumberRange.new(0.1)
  2223. pe.Rate = 250
  2224. pe.RotSpeed = NumberRange.new(360)
  2225. pe.Speed = NumberRange.new(3)
  2226. pe.VelocitySpread = 360
  2227. pe.Parent = lleg.Glow
  2228. local pea = pe:Clone()
  2229. pea.Parent = lleg.Glow
  2230. wait(0.5)
  2231. local pe2 = Instance.new("ParticleEmitter")
  2232. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2233. pe2.LightEmission = 0.9
  2234. pe2.Size = NumberSequence.new(5)
  2235. pe2.Texture = "rbxassetid://516107903"
  2236. pe2.Transparency = NumberSequence.new(0.4)
  2237. pe2.ZOffset = 2
  2238. pe2.Enabled = true
  2239. pe2.LockedToPart = true
  2240. pe2.Lifetime = NumberRange.new(0.07)
  2241. pe2.Rate = 8
  2242. pe2.Rotation = NumberRange.new(0, 360)
  2243. pe2.RotSpeed = NumberRange.new(0)
  2244. pe2.Speed = NumberRange.new(0)
  2245. pe2.VelocitySpread = 180
  2246. pe2.Parent = lleg.Glow
  2247. local pea2 = pe2:Clone()
  2248. pea2.Parent = lleg.Glow
  2249. local Mus = Instance.new("Sound",workspace)
  2250. Mus.SoundId = "rbxassetid://802518140"
  2251. Mus.Pitch = 1
  2252. Mus.Volume = 90000
  2253. Mus.Looped = false
  2254. wait(0.9)
  2255. Mus:Play()
  2256.  
  2257.  
  2258.  
  2259. human.WalkSpeed = 0
  2260. for i = 0,1,0.1 do
  2261. swait()
  2262. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2263. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2264. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2265. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2266. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  2267. LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2268. end
  2269. wait(1)
  2270. for i = 0,1,0.1 do
  2271. swait()
  2272. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2273. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2274. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2275. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2276. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  2277. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2278. end
  2279. KickBoom()
  2280. so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
  2281. so("http://roblox.com/asset/?id=321321137",lleg,1,1)
  2282. so("http://roblox.com/asset/?id=506384002",lleg,1,1)
  2283. so("http://roblox.com/asset/?id=157878578",lleg,25,1)
  2284. so("http://roblox.com/asset/?id=165970126",lleg,25,1)
  2285.  
  2286. wait(3)
  2287. human.WalkSpeed = 16
  2288. pe:Destroy()
  2289. pe2:Destroy()
  2290. pea:Destroy()
  2291. pea2:Destroy()
  2292. resetlerp()
  2293. activu = false
  2294. end
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300. function Smash()
  2301. for i = 1, 15 do
  2302. local gtrace = Instance.new("Part",game.Workspace)
  2303. gtrace.BrickColor = gprop[1]
  2304. gtrace.Material = gprop[2]
  2305. gtrace.Size = Vector3.new(19,19,19)
  2306. gtrace.Anchored = true
  2307. gtrace.CanCollide = false
  2308. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2309. local gdisp = coroutine.wrap(function()
  2310. wait(7)
  2311. for i = 1, 9 do
  2312. wait(.1)
  2313. gtrace.Transparency = gtrace.Transparency + .1
  2314. end
  2315. gtrace:Destroy()
  2316. end)
  2317. gdisp()
  2318. end
  2319.  
  2320. Crater(head,67)
  2321. end
  2322.  
  2323. function Smash2()
  2324. for i = 1, 15 do
  2325. local gtrace = Instance.new("Part",game.Workspace)
  2326. gtrace.BrickColor = gprop[1]
  2327. gtrace.Material = gprop[2]
  2328. gtrace.Size = Vector3.new(19,19,19)
  2329. gtrace.Anchored = true
  2330. gtrace.CanCollide = false
  2331. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2332. local gdisp = coroutine.wrap(function()
  2333. wait(7)
  2334. for i = 1, 9 do
  2335. wait(.1)
  2336. gtrace.Transparency = gtrace.Transparency + .1
  2337. end
  2338. gtrace:Destroy()
  2339. end)
  2340. gdisp()
  2341. end
  2342.  
  2343. end
  2344.  
  2345. function Smash3()
  2346. for i = 1, 15 do
  2347. local gtrace = Instance.new("Part",game.Workspace)
  2348. gtrace.BrickColor = gprop[1]
  2349. gtrace.Material = gprop[2]
  2350. gtrace.Size = Vector3.new(19,19,19)
  2351. gtrace.Anchored = true
  2352. gtrace.CanCollide = false
  2353. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2354. local gdisp = coroutine.wrap(function()
  2355. wait(7)
  2356. for i = 1, 9 do
  2357. wait(.1)
  2358. gtrace.Transparency = gtrace.Transparency + .1
  2359. end
  2360. gtrace:Destroy()
  2361. end)
  2362. gdisp()
  2363. end
  2364.  
  2365. end
  2366.  
  2367.  
  2368. function Smash4()
  2369. for i = 1, 15 do
  2370. local gtrace = Instance.new("Part",game.Workspace)
  2371. gtrace.BrickColor = gprop[1]
  2372. gtrace.Material = gprop[2]
  2373. gtrace.Size = Vector3.new(19,19,19)
  2374. gtrace.Anchored = true
  2375. gtrace.CanCollide = false
  2376. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2377. local gdisp = coroutine.wrap(function()
  2378. wait(7)
  2379. for i = 1, 9 do
  2380. wait(.1)
  2381. gtrace.Transparency = gtrace.Transparency + .1
  2382. end
  2383. gtrace:Destroy()
  2384. end)
  2385. gdisp()
  2386. end
  2387.  
  2388. end
  2389.  
  2390. function Smash5()
  2391. for i = 1, 15 do
  2392. local gtrace = Instance.new("Part",game.Workspace)
  2393. gtrace.BrickColor = gprop[1]
  2394. gtrace.Material = gprop[2]
  2395. gtrace.Size = Vector3.new(19,19,19)
  2396. gtrace.Anchored = true
  2397. gtrace.CanCollide = false
  2398. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2399. local gdisp = coroutine.wrap(function()
  2400. wait(7)
  2401. for i = 1, 9 do
  2402. wait(.1)
  2403. gtrace.Transparency = gtrace.Transparency + .1
  2404. end
  2405. gtrace:Destroy()
  2406. end)
  2407. gdisp()
  2408. end
  2409.  
  2410. end
  2411.  
  2412. function Smash6()
  2413. for i = 1, 15 do
  2414. local gtrace = Instance.new("Part",game.Workspace)
  2415. gtrace.BrickColor = gprop[1]
  2416. gtrace.Material = gprop[2]
  2417. gtrace.Size = Vector3.new(19,19,19)
  2418. gtrace.Anchored = true
  2419. gtrace.CanCollide = false
  2420. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  2421. local gdisp = coroutine.wrap(function()
  2422. wait(7)
  2423. for i = 1, 9 do
  2424. wait(.1)
  2425. gtrace.Transparency = gtrace.Transparency + .1
  2426. end
  2427. gtrace:Destroy()
  2428. end)
  2429. gdisp()
  2430. end
  2431.  
  2432. end
  2433.  
  2434.  
  2435. for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
  2436. if v:FindFirstChild('Humanoid') then
  2437. v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
  2438. v.Humanoid.PlatformStand = true
  2439. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
  2440. end
  2441. end
  2442.  
  2443.  
  2444. function HeavenSmash()
  2445.  
  2446.  
  2447. if activu == true or selected == false then
  2448. return
  2449. end
  2450. coroutine.resume(coroutine.create(function()
  2451. fglow(lleg.Glow, 19)
  2452. fglow(rleg.Glow, 19)
  2453. fglow(rarm.Glow, 19)
  2454. fglow(larm.Glow, 19)
  2455. fglow(head.Glow, 19)
  2456. fglow(tors.Glow, 19)
  2457. end))
  2458. activu = true
  2459. local pe = Instance.new("ParticleEmitter")
  2460. pe.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2461. pe.LightEmission = 0.9
  2462. pe.Size = NumberSequence.new(0.5)
  2463. pe.Texture = "rbxassetid://272050333"
  2464. pe.Transparency = NumberSequence.new(0.1)
  2465. pe.Lifetime = NumberRange.new(0.1)
  2466. pe.Rate = 250
  2467. pe.RotSpeed = NumberRange.new(360)
  2468. pe.Speed = NumberRange.new(3)
  2469. pe.VelocitySpread = 360
  2470. pe.Parent = lleg.Glow
  2471. local pea = pe:Clone()
  2472. pea.Parent = lleg.Glow
  2473. local pe2 = Instance.new("ParticleEmitter")
  2474. pe2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2475. pe2.LightEmission = 0.9
  2476. pe2.Size = NumberSequence.new(5)
  2477. pe2.Texture = "rbxassetid://516107903"
  2478. pe2.Transparency = NumberSequence.new(0.4)
  2479. pe2.ZOffset = 2
  2480. pe2.Enabled = true
  2481. pe2.LockedToPart = true
  2482. pe2.Lifetime = NumberRange.new(0.07)
  2483. pe2.Rate = 8
  2484. pe2.Rotation = NumberRange.new(0, 360)
  2485. pe2.RotSpeed = NumberRange.new(0)
  2486. pe2.Speed = NumberRange.new(0)
  2487. pe2.VelocitySpread = 180
  2488. pe2.Parent = lleg.Glow
  2489. local pea2 = pe2:Clone()
  2490. pea2.Parent = lleg.Glow
  2491.  
  2492.  
  2493.  
  2494. local pet = Instance.new("ParticleEmitter")
  2495. pet.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2496. pet.LightEmission = 0.9
  2497. pet.Size = NumberSequence.new(0.5)
  2498. pet.Texture = "rbxassetid://272050333"
  2499. pet.Transparency = NumberSequence.new(0.1)
  2500. pet.Lifetime = NumberRange.new(0.1)
  2501. pet.Rate = 1
  2502. pet.RotSpeed = NumberRange.new(360)
  2503. pet.Speed = NumberRange.new(3)
  2504. pet.VelocitySpread = 360
  2505. pet.Parent = rarm.Glow
  2506. local pet2 = Instance.new("ParticleEmitter")
  2507. pet2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2508. pet2.LightEmission = 0.9
  2509. pet2.Size = NumberSequence.new(5)
  2510. pet2.Texture = "rbxassetid://516107903"
  2511. pet2.Transparency = NumberSequence.new(0.4)
  2512. pet2.ZOffset = 2
  2513. pet2.Enabled = false
  2514. pet2.LockedToPart = true
  2515. pet2.Lifetime = NumberRange.new(0.07)
  2516. pet2.Rate = 8
  2517. pet2.Rotation = NumberRange.new(0, 360)
  2518. pet2.RotSpeed = NumberRange.new(0)
  2519. pet2.Speed = NumberRange.new(0)
  2520. pet2.VelocitySpread = 180
  2521. pet2.Parent = rarm.Glow
  2522.  
  2523.  
  2524.  
  2525. local petl = Instance.new("ParticleEmitter")
  2526. petl.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2527. petl.LightEmission = 0.9
  2528. petl.Size = NumberSequence.new(0.5)
  2529. petl.Texture = "rbxassetid://272050333"
  2530. petl.Transparency = NumberSequence.new(0.1)
  2531. petl.Lifetime = NumberRange.new(0.1)
  2532. petl.Rate = 1
  2533. petl.RotSpeed = NumberRange.new(360)
  2534. petl.Speed = NumberRange.new(3)
  2535. petl.VelocitySpread = 360
  2536. petl.Parent = larm.Glow
  2537. local petl2 = Instance.new("ParticleEmitter")
  2538. petl2.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2539. petl2.LightEmission = 0.9
  2540. petl2.Size = NumberSequence.new(5)
  2541. petl2.Texture = "rbxassetid://516107903"
  2542. petl2.Transparency = NumberSequence.new(0.4)
  2543. petl2.ZOffset = 2
  2544. petl2.Enabled = false
  2545. petl2.LockedToPart = true
  2546. petl2.Lifetime = NumberRange.new(0.07)
  2547. petl2.Rate = 8
  2548. petl2.Rotation = NumberRange.new(0, 360)
  2549. petl2.RotSpeed = NumberRange.new(0)
  2550. petl2.Speed = NumberRange.new(0)
  2551. petl2.VelocitySpread = 180
  2552. petl2.Parent = larm.Glow
  2553.  
  2554.  
  2555. local petl3 = Instance.new("ParticleEmitter")
  2556. petl3.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2557. petl3.LightEmission = 0.9
  2558. petl3.Size = NumberSequence.new(0.5)
  2559. petl3.Texture = "rbxassetid://272050333"
  2560. petl3.Transparency = NumberSequence.new(0.1)
  2561. petl3.Lifetime = NumberRange.new(0.1)
  2562. petl3.Rate = 1
  2563. petl3.RotSpeed = NumberRange.new(360)
  2564. petl3.Speed = NumberRange.new(3)
  2565. petl3.VelocitySpread = 360
  2566. petl3.Parent = head.Glow
  2567. local petl23 = Instance.new("ParticleEmitter")
  2568. petl23.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2569. petl23.LightEmission = 0.9
  2570. petl23.Size = NumberSequence.new(5)
  2571. petl23.Texture = "rbxassetid://516107903"
  2572. petl23.Transparency = NumberSequence.new(0.4)
  2573. petl23.ZOffset = 2
  2574. petl23.Enabled = false
  2575. petl23.LockedToPart = true
  2576. petl23.Lifetime = NumberRange.new(0.07)
  2577. petl23.Rate = 8
  2578. petl23.Rotation = NumberRange.new(0, 360)
  2579. petl23.RotSpeed = NumberRange.new(0)
  2580. petl23.Speed = NumberRange.new(0)
  2581. petl23.VelocitySpread = 180
  2582. petl23.Parent = head.Glow
  2583.  
  2584.  
  2585.  
  2586. local petl34 = Instance.new("ParticleEmitter")
  2587. petl34.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2588. petl34.LightEmission = 0.9
  2589. petl34.Size = NumberSequence.new(0.5)
  2590. petl34.Texture = "rbxassetid://272050333"
  2591. petl34.Transparency = NumberSequence.new(0.1)
  2592. petl34.Lifetime = NumberRange.new(0.1)
  2593. petl34.Rate = 1
  2594. petl34.RotSpeed = NumberRange.new(360)
  2595. petl34.Speed = NumberRange.new(3)
  2596. petl34.VelocitySpread = 360
  2597. petl34.Parent = rleg.Glow
  2598. local petl234 = Instance.new("ParticleEmitter")
  2599. petl234.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2600. petl234.LightEmission = 0.9
  2601. petl234.Size = NumberSequence.new(5)
  2602. petl234.Texture = "rbxassetid://516107903"
  2603. petl234.Transparency = NumberSequence.new(0.4)
  2604. petl234.ZOffset = 2
  2605. petl234.Enabled = false
  2606. petl234.LockedToPart = true
  2607. petl234.Rate = 8
  2608. petl234.Rotation = NumberRange.new(0, 360)
  2609. petl234.RotSpeed = NumberRange.new(0)
  2610. petl234.Speed = NumberRange.new(0)
  2611. petl234.VelocitySpread = 180
  2612. petl234.Parent = rleg.Glow
  2613.  
  2614.  
  2615. local petl345 = Instance.new("ParticleEmitter")
  2616. petl345.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2617. petl345.LightEmission = 0.9
  2618. petl345.Size = NumberSequence.new(0.5)
  2619. petl345.Texture = "rbxassetid://272050333"
  2620. petl345.Transparency = NumberSequence.new(0.1)
  2621. petl345.Lifetime = NumberRange.new(0.1)
  2622. petl345.Rate = 1
  2623. petl345.RotSpeed = NumberRange.new(360)
  2624. petl345.Speed = NumberRange.new(3)
  2625. petl345.VelocitySpread = 360
  2626. petl345.Parent = tors.Glow
  2627. local petl2345 = Instance.new("ParticleEmitter")
  2628. petl2345.Color = ColorSequence.new(Color3.new(255, 255, 0))
  2629. petl2345.LightEmission = 0.9
  2630. petl2345.Size = NumberSequence.new(5)
  2631. petl2345.Texture = "rbxassetid://516107903"
  2632. petl2345.Transparency = NumberSequence.new(0.4)
  2633. petl2345.ZOffset = 2
  2634. petl2345.Enabled = false
  2635. petl2345.LockedToPart = true
  2636. petl2345.Rate = 8
  2637. petl2345.Rotation = NumberRange.new(0, 360)
  2638. petl2345.RotSpeed = NumberRange.new(0)
  2639. petl2345.Speed = NumberRange.new(0)
  2640. petl2345.VelocitySpread = 180
  2641. petl2345.Parent = tors.Glow
  2642. human.WalkSpeed = 0
  2643. so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
  2644. so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
  2645. for l = 1, 30 do
  2646. swait()
  2647. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  2648. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  2649. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  2650. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2651. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  2652. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2653. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  2654. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2655. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  2656. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2657. end
  2658.  
  2659.  
  2660. resetlerp()
  2661.  
  2662. BV = Instance.new("BodyVelocity", tors)
  2663. BV.maxForce = Vector3.new(0,200000,0)
  2664. BV.P = 100000
  2665. BV.velocity = Vector3.new(0,150,0)
  2666. local rng = Instance.new("Part", chr)
  2667. rng.Anchored = true
  2668. rng.BrickColor = BrickColor.new("Institutional white")
  2669. rng.CanCollide = false
  2670. rng.FormFactor = 3
  2671. rng.Name = "Ring"
  2672. rng.Size = Vector3.new(1, 1, 1)
  2673. rng.Transparency = 0.5
  2674. rng.TopSurface = 0
  2675. rng.BottomSurface = 0
  2676. rng.Position = tors.Position - Vector3.new(0,2,0)
  2677. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2678. local rngm = Instance.new("SpecialMesh", rng)
  2679. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2680. rngm.Scale = Vector3.new(10, 10, 20)
  2681. x = Instance.new("Sound",tors)
  2682. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2683. x.Looped = false
  2684. x.Pitch = .7
  2685. x.Volume = 30
  2686. x:Play()
  2687. coroutine.wrap(function()
  2688. for i = 1, 60, 8 do
  2689. rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
  2690. rng.Transparency = i/60
  2691. wait()
  2692. end
  2693. wait()
  2694. rng:Destroy()
  2695. end)()
  2696. wait(2.6)
  2697. BV:Destroy()
  2698. tors.Anchored = true
  2699. wait(3.2)
  2700. tors.Anchored = false
  2701. BV = Instance.new("BodyVelocity", tors)
  2702. BV.maxForce = Vector3.new(0,-20000,0)
  2703. BV.P = 1000
  2704. BV.velocity = Vector3.new(0,-150,0)
  2705. wait(1)
  2706. BV:Destroy()
  2707. wait(0.01)
  2708.  
  2709. human.WalkSpeed = 0
  2710. boom3:Play()
  2711.  
  2712. Smash()
  2713. Smash2()
  2714. Smash3()
  2715. Ring()
  2716. pe:Destroy()
  2717. pea:Destroy()
  2718. pea2:Destroy()
  2719. pe2:Destroy()
  2720. wait(2)
  2721. human.WalkSpeed = 16
  2722. activu = false
  2723. end
  2724.  
  2725.  
  2726.  
  2727. sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  2728. sound.SoundId = "rbxassetid://220025776"
  2729. sound.Volume = 6
  2730.  
  2731. sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
  2732. sound2.SoundId = "rbxassetid://386946017"
  2733. sound2.Volume = 6
  2734.  
  2735. sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  2736. sound3.SoundId = "rbxassetid://165969964"
  2737. sound3.Volume = 6
  2738.  
  2739. function rip()
  2740. activu = true
  2741. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  2742. detect.Size = Vector3.new(1,1,1)
  2743. detect:BreakJoints()
  2744. detect.CanCollide = false
  2745. local weld = Instance.new("Weld", detect)
  2746. weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  2747. weld.Part1 = detect
  2748. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  2749.  
  2750.  
  2751.  
  2752. local function attack(prt)
  2753. local humanoid = prt.Parent:findFirstChild("Humanoid")
  2754. if humanoid ~= nil then
  2755. local torso = prt.Parent:findFirstChild("Torso")
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763. function KABOOMZ3()
  2764. local effspwn = Instance.new("Part")
  2765. coroutine.resume(coroutine.create(function()
  2766. local sound1 = Instance.new("Sound")
  2767. sound1.SoundId = "rbxassetid://138137702"
  2768. sound1.MaxDistance = 300
  2769. sound1.EmitterSize = 20
  2770. sound1.Volume = 2.5
  2771. sound1.Pitch = 0.65
  2772. sound1.Parent = effspwn
  2773. local sound2 = Instance.new("Sound")
  2774. sound2.SoundId = "rbxassetid://157878578"
  2775. sound2.MaxDistance = 300
  2776. sound2.EmitterSize = 20
  2777. sound2.Volume = 1
  2778. sound2.Pitch = 0.7
  2779. sound2.Parent = effspwn
  2780. local sound3 = Instance.new("Sound")
  2781. sound3.SoundId = "rbxassetid://138250406"
  2782. sound2.MaxDistance = 400
  2783. sound2.EmitterSize = 30
  2784. sound2.Volume = 0.5
  2785. sound2.Pitch = 0.5
  2786. sound2.Parent = effspwn
  2787. sound2:Play()
  2788. wait()
  2789. sound1:Play()
  2790. sound3:Play()
  2791. end))
  2792. local model = Instance.new("Model")
  2793. game.Debris:AddItem(model, 20)
  2794. model.Name = "smasheffects"
  2795. model.Parent = workspace
  2796. effspwn.Name = "spwnr"
  2797. effspwn.Size = Vector3.new(1, 1, 1)
  2798. effspwn.Anchored = true
  2799. effspwn.CanCollide = false
  2800. effspwn.Transparency = 1
  2801. effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  2802. effspwn.Parent = model
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808. Crater(head,60)
  2809. Crater(head,120)
  2810.  
  2811. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  2812. if v:FindFirstChild('Humanoid') then
  2813. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2814. v.Humanoid.PlatformStand = true
  2815. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  2816. end
  2817. end
  2818.  
  2819. coroutine.resume(coroutine.create(function()
  2820. local shok = Instance.new("Part")
  2821. shok.Name = "whoosh"
  2822. shok.BrickColor = BrickColor.new("Institutional white")
  2823. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2824. shok.Size = Vector3.new(1, 1, 1)
  2825. shok.Anchored = true
  2826. shok.Material = "Neon"
  2827. shok.Transparency = 0.1
  2828. shok.CanCollide = false
  2829. shok.Parent = model
  2830. game.Debris:AddItem(shok, 12)
  2831. local mesh = Instance.new("SpecialMesh")
  2832. mesh.MeshType = "FileMesh"
  2833. mesh.MeshId = "rbxassetid://437347603"
  2834. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  2835. mesh.Parent = shok
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841. for e = 1, 8 do
  2842. wait()
  2843. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  2844. shok.Transparency = shok.Transparency + 0.035
  2845. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  2846. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  2847. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2848.  
  2849. end
  2850. for e = 1, 16 do
  2851. wait()
  2852. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  2853. shok.Transparency = shok.Transparency + 0.11
  2854. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  2855. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  2856. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2857.  
  2858. end
  2859. end))
  2860. coroutine.resume(coroutine.create(function()
  2861. local shok = Instance.new("Part")
  2862. shok.Name = "wring1"
  2863. shok.BrickColor = BrickColor.new("Institutional white")
  2864. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2865. shok.Size = Vector3.new(1, 1, 1)
  2866. shok.Anchored = true
  2867. shok.Material = "Neon"
  2868. shok.Transparency = 0.25
  2869. shok.CanCollide = false
  2870. shok.Parent = model
  2871. game.Debris:AddItem(shok, 12)
  2872. local mesh = Instance.new("SpecialMesh")
  2873. mesh.MeshType = "FileMesh"
  2874. mesh.MeshId = "rbxassetid://3270017"
  2875. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  2876. mesh.Parent = shok
  2877. for e = 1, 30 do
  2878. wait()
  2879. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  2880. shok.Transparency = shok.Transparency + 0.002
  2881. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2882. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2883. end
  2884. for e = 1, 38 do
  2885. wait()
  2886. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2887. shok.Transparency = shok.Transparency + 0.002
  2888. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2889. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2890. end
  2891. for e = 1, 24 do
  2892. wait()
  2893. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2894. shok.Transparency = shok.Transparency + 0.03
  2895. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2896. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2897. end
  2898. end))
  2899. coroutine.resume(coroutine.create(function()
  2900. local shok = Instance.new("Part")
  2901. shok.Name = "wring2"
  2902. shok.BrickColor = BrickColor.new("Institutional white")
  2903. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2904. shok.Size = Vector3.new(1, 1, 1)
  2905. shok.Anchored = true
  2906. shok.Material = "Neon"
  2907. shok.Transparency = 0.25
  2908. shok.CanCollide = false
  2909. shok.Parent = model
  2910. game.Debris:AddItem(shok, 12)
  2911. local mesh = Instance.new("SpecialMesh")
  2912. mesh.MeshType = "FileMesh"
  2913. mesh.MeshId = "rbxassetid://3270017"
  2914. mesh.Scale = Vector3.new(12, 12, 0.05)
  2915. mesh.Parent = shok
  2916. for e = 1, 30 do
  2917. wait()
  2918. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  2919. shok.Transparency = shok.Transparency + 0.002
  2920. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2921. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2922. end
  2923. for e = 1, 38 do
  2924. wait()
  2925. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2926. shok.Transparency = shok.Transparency + 0.002
  2927. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2928. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2929. end
  2930. for e = 1, 24 do
  2931. wait()
  2932. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2933. shok.Transparency = shok.Transparency + 0.03
  2934. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2935. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2936. end
  2937. end))
  2938. coroutine.resume(coroutine.create(function()
  2939. local shok = Instance.new("Part")
  2940. shok.Name = "coil1"
  2941. shok.BrickColor = BrickColor.new("Institutional white")
  2942. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2943. shok.Size = Vector3.new(1, 1, 1)
  2944. shok.Anchored = true
  2945. shok.Material = "Neon"
  2946. shok.Transparency = 0.25
  2947. shok.CanCollide = false
  2948. shok.Parent = model
  2949. game.Debris:AddItem(shok, 12)
  2950. local mesh = Instance.new("SpecialMesh")
  2951. mesh.MeshType = "FileMesh"
  2952. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2953. mesh.Scale = Vector3.new(12, 12, 12)
  2954. mesh.Parent = shok
  2955. for e = 1, 15 do
  2956. wait()
  2957. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2958. shok.Transparency = shok.Transparency + 0.004
  2959. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2960. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2961. end
  2962. for e = 1, 16 do
  2963. wait()
  2964. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2965. shok.Transparency = shok.Transparency + 0.004
  2966. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2967. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2968. end
  2969. for e = 1, 12 do
  2970. wait()
  2971. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2972. shok.Transparency = shok.Transparency + 0.06
  2973. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2974. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2975. end
  2976. end))
  2977. coroutine.resume(coroutine.create(function()
  2978. local shok = Instance.new("Part")
  2979. shok.Name = "coil2"
  2980. shok.BrickColor = BrickColor.new("Institutional white")
  2981. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2982. shok.Size = Vector3.new(1, 1, 1)
  2983. shok.Anchored = true
  2984. shok.Material = "Neon"
  2985. shok.Transparency = 0.25
  2986. shok.CanCollide = false
  2987. shok.Parent = model
  2988. game.Debris:AddItem(shok, 12)
  2989. local mesh = Instance.new("SpecialMesh")
  2990. mesh.MeshType = "FileMesh"
  2991. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2992. mesh.Scale = Vector3.new(6, 12, 6)
  2993. mesh.Parent = shok
  2994. for e = 1, 15 do
  2995. wait()
  2996. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2997. shok.Transparency = shok.Transparency + 0.005
  2998. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2999. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3000. end
  3001. for e = 1, 16 do
  3002. wait()
  3003. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3004. shok.Transparency = shok.Transparency + 0.005
  3005. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3006. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3007. end
  3008. for e = 1, 12 do
  3009. wait()
  3010. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3011. shok.Transparency = shok.Transparency + 0.09
  3012. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3013. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3014. end
  3015. end))
  3016. coroutine.resume(coroutine.create(function()
  3017. local shok = Instance.new("Part")
  3018. shok.Name = "shokwve"
  3019. shok.BrickColor = BrickColor.new("Institutional white")
  3020. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  3021. shok.Size = Vector3.new(1, 1, 1)
  3022. shok.Anchored = true
  3023. shok.Material = "Neon"
  3024. shok.Transparency = 0.6
  3025. shok.CanCollide = false
  3026. shok.Parent = model
  3027. game.Debris:AddItem(shok, 12)
  3028. local mesh = Instance.new("SpecialMesh")
  3029. mesh.MeshType = "FileMesh"
  3030. mesh.MeshId = "rbxassetid://489415447"
  3031. mesh.Scale = Vector3.new(1, 1, 1)
  3032. mesh.Parent = shok
  3033. for e = 1, 12 do
  3034. wait()
  3035. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  3036. shok.Transparency = shok.Transparency + 0.002
  3037. end
  3038. for e = 1, 32 do
  3039. wait()
  3040. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3041. shok.Transparency = shok.Transparency + 0.002
  3042. end
  3043. for e = 1, 24 do
  3044. wait()
  3045. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3046. shok.Transparency = shok.Transparency + 0.03
  3047. end
  3048. end))
  3049. coroutine.resume(coroutine.create(function()
  3050. local shok = Instance.new("Part")
  3051. shok.Name = "shock2"
  3052. shok.BrickColor = BrickColor.new("Institutional white")
  3053. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3054. shok.Size = Vector3.new(1, 1, 1)
  3055. shok.Anchored = true
  3056. shok.Material = "Neon"
  3057. shok.Transparency = 0.35
  3058. shok.CanCollide = false
  3059. shok.Parent = model
  3060. game.Debris:AddItem(shok, 12)
  3061. local mesh = Instance.new("SpecialMesh")
  3062. mesh.MeshType = "FileMesh"
  3063. mesh.MeshId = "rbxassetid://489415447"
  3064. mesh.Scale = Vector3.new(12, 12, 12)
  3065. mesh.Parent = shok
  3066. for e = 1, 15 do
  3067. wait()
  3068. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3069. shok.Transparency = shok.Transparency + 0.004
  3070. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3071. end
  3072. for e = 1, 16 do
  3073. wait()
  3074. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3075. shok.Transparency = shok.Transparency + 0.004
  3076. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3077. end
  3078. for e = 1, 12 do
  3079. wait()
  3080. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3081. shok.Transparency = shok.Transparency + 0.06
  3082. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3083. end
  3084. end))
  3085. coroutine.resume(coroutine.create(function()
  3086. local shok = Instance.new("Part")
  3087. shok.Name = "shock3"
  3088. shok.BrickColor = BrickColor.new("Institutional white")
  3089. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3090. shok.Size = Vector3.new(1, 1, 1)
  3091. shok.Anchored = true
  3092. shok.Material = "Neon"
  3093. shok.Transparency = 0.35
  3094. shok.CanCollide = false
  3095. shok.Parent = model
  3096. game.Debris:AddItem(shok, 12)
  3097. local mesh = Instance.new("SpecialMesh")
  3098. mesh.MeshType = "FileMesh"
  3099. mesh.MeshId = "rbxassetid://489415447"
  3100. mesh.Scale = Vector3.new(12, 12, 12)
  3101. mesh.Parent = shok
  3102. for e = 1, 15 do
  3103. wait()
  3104. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3105. shok.Transparency = shok.Transparency + 0.004
  3106. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3107. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3108. end
  3109. for e = 1, 16 do
  3110. wait()
  3111. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3112. shok.Transparency = shok.Transparency + 0.004
  3113. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3114. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3115. end
  3116. for e = 1, 12 do
  3117. wait()
  3118. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3119. shok.Transparency = shok.Transparency + 0.06
  3120. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3121. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3122. end
  3123. end))
  3124. end
  3125.  
  3126.  
  3127.  
  3128. if torso ~= nil then
  3129. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  3130. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  3131. for i = 1,5 do
  3132. wait()
  3133. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
  3134. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
  3135. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
  3136. end
  3137. sound:Play()
  3138. local bodyVel = Instance.new("BodyPosition", torso)
  3139. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
  3140. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3141. wait(2)
  3142. torso.Anchored = true
  3143. for i = 1,5 do
  3144. wait()
  3145. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  3146. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  3147. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  3148. end
  3149. for i = 1,5 do
  3150. wait()
  3151. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
  3152. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
  3153. end
  3154. wait(1)
  3155. local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
  3156. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3157. bodyvel.Position = torso.Position
  3158. for i = 1,5 do
  3159. wait()
  3160. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
  3161. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
  3162. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
  3163. end
  3164. wait(2)
  3165. bodyVel:destroy()
  3166. game.Players.LocalPlayer.Character.Torso.Anchored = true
  3167. torso.Anchored = false
  3168. humanoid.PlatformStand = true
  3169. local bodyVel = Instance.new("BodyPosition", torso)
  3170. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
  3171. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3172. sound2:Play()
  3173.  
  3174. wait(1.2)
  3175. game.Players.LocalPlayer.Character.Torso.Anchored = false
  3176. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3177. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3178. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3179. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3180. activu = false
  3181. wait(0.5)
  3182. bodyvel:destroy()
  3183. local ROW3 = function(out, trans, s, wt, t, ang, plus)
  3184. for i = 1, 360, 360/t do
  3185. local c = Instance.new("Part", game.Workspace)
  3186. c.FormFactor = 3
  3187. c.TopSurface = 0
  3188. c.BottomSurface = 0
  3189. c.Size = s
  3190. c.Anchored = true
  3191. c.CanCollide = wt
  3192. c.Material=workspace.Base.Material
  3193. c.Transparency = trans
  3194. c.BrickColor = workspace.Base.BrickColor
  3195. c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  3196. c.Locked=true
  3197. game.Debris:AddItem(c,25)
  3198. end
  3199. end
  3200.  
  3201.  
  3202.  
  3203.  
  3204. sound3:Play()
  3205. ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  3206. game.Players.LocalPlayer.Character.Torso.Anchored = true
  3207. KABOOMZ3()
  3208. wait(0.1)
  3209.  
  3210. game.Players.LocalPlayer.Character.Torso.Anchored = false
  3211. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  3212. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  3213.  
  3214.  
  3215. end
  3216. end
  3217. end
  3218. detect.Touched:connect(attack)
  3219. wait(0.1)
  3220. detect:destroy()
  3221. activu = false
  3222. end
  3223.  
  3224.  
  3225.  
  3226. function hito(partoz, magn, dmg, debtim)
  3227. for _, guy in pairs(workspace:GetChildren()) do
  3228. 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
  3229. do
  3230. local humz = guy:FindFirstChild("Humanoid")
  3231. local hed = guy:FindFirstChild("Head")
  3232. humz:TakeDamage(dmg)
  3233. local db = Instance.new("StringValue")
  3234. db.Name = "alabo"
  3235. db.Parent = hed
  3236. delay(debtim, function()
  3237. db:Destroy()
  3238. end)
  3239. end
  3240. end
  3241. end
  3242. end
  3243. function animo(yep)
  3244. if yep == true then
  3245. anim.Parent = human
  3246. chr.Animate.Disabled = false
  3247. elseif yep == false then
  3248. chr.Animate.Disabled = true
  3249. anim.Parent = nil
  3250. end
  3251. end
  3252. mouse.KeyDown:connect(function(key)
  3253. if key == "e" then
  3254. rsmash()
  3255. end
  3256. if key == "t" then
  3257. jum()
  3258. end
  3259. if key == "r" then
  3260. Tele()
  3261. end
  3262. if key == "q" then
  3263. Stom()
  3264. end
  3265. if key == "f" then
  3266. HeavenSmash()
  3267. end
  3268. if key == "h" then
  3269. rip()
  3270. end
  3271. end)
  3272. tool.Equipped:connect(function()
  3273. selected = true
  3274. end)
  3275. tool.Unequipped:connect(function()
  3276. selected = false
  3277. end)
  3278. -----------------------------------------------------------------------------------------
  3279.  
  3280. wait(0.016666666666667)
  3281. Effects = {}
  3282. local Player = game.Players.localPlayer
  3283. local Character = Player.Character
  3284. local Humanoid = Character.Humanoid
  3285. local mouse = Player:GetMouse()
  3286. local m = Instance.new("Model", Character)
  3287. m.Name = "WeaponModel"
  3288. local LeftArm = Character["Left Arm"]
  3289. local RightArm = Character["Right Arm"]
  3290. local LeftLeg = Character["Left Leg"]
  3291. local RightLeg = Character["Right Leg"]
  3292. local Head = Character.Head
  3293. local Torso = Character.Torso
  3294. local cam = game.Workspace.CurrentCamera
  3295. local RootPart = Character.HumanoidRootPart
  3296. local RootJoint = RootPart.RootJoint
  3297. local equipped = false
  3298. local attack = false
  3299. local Anim = "Idle"
  3300. local idle = 0
  3301. local attacktype = 1
  3302. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  3303. local velocity = RootPart.Velocity.y
  3304. local sine = 0
  3305. local change = 1
  3306. local grabbed = false
  3307. local cf = CFrame.new
  3308. local mr = math.rad
  3309. local angles = CFrame.Angles
  3310. local ud = UDim2.new
  3311. local vt = Vector3.new
  3312. local c3 = Color3.new
  3313. local mana = 0
  3314. local mananum = 0
  3315. local it = Instance.new
  3316. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3317. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  3318. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  3319. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  3320. xenabled = true
  3321. cenabled = true
  3322. venabled = true
  3323. zenabled = true
  3324. RSH = nil
  3325. RW = Instance.new("Weld")
  3326. LW = Instance.new("Weld")
  3327. RH = Torso["Right Hip"]
  3328. LH = Torso["Left Hip"]
  3329. RSH = Torso["Right Shoulder"]
  3330. LSH = Torso["Left Shoulder"]
  3331. RSH.Parent = nil
  3332. LSH.Parent = nil
  3333. RW.Name = "RW"
  3334. RW.Part0 = Torso
  3335. RW.C0 = cf(1.5, 0.5, 0)
  3336. RW.C1 = cf(0, 0.5, 0)
  3337. RW.Part1 = RightArm
  3338. RW.Parent = Torso
  3339. LW.Name = "LW"
  3340. LW.Part0 = Torso
  3341. LW.C0 = cf(-1.5, 0.5, 0)
  3342. LW.C1 = cf(0, 0.5, 0)
  3343. LW.Part1 = LeftArm
  3344. LW.Parent = Torso
  3345. clerp = function(a, b, t)
  3346. return a:lerp(b, t)
  3347. end
  3348.  
  3349.  
  3350. ----------------------------------------------------
  3351. z = Instance.new("Sound", Character)
  3352. z.SoundId = "rbxassetid://428255459"--
  3353. z.Looped = true
  3354. z.Pitch = 1
  3355. z.Volume = 1
  3356. wait(.1)
  3357. z:Play()
  3358. ----------------------------------------------------
  3359.  
  3360. ArtificialHB = Instance.new("BindableEvent", script)
  3361. ArtificialHB.Name = "Heartbeat"
  3362. script:WaitForChild("Heartbeat")
  3363. frame = 0.016666666666667
  3364. tf = 0
  3365. allowframeloss = false
  3366. tossremainder = false
  3367. lastframe = tick()
  3368. script.Heartbeat:Fire()
  3369. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3370. tf = tf + s
  3371. if frame <= tf then
  3372. if allowframeloss then
  3373. script.Heartbeat:Fire()
  3374. lastframe = tick()
  3375. else
  3376. for i = 1, math.floor(tf / frame) do
  3377. script.Heartbeat:Fire()
  3378. end
  3379. lastframe = tick()
  3380. end
  3381. if tossremainder then
  3382. tf = 0
  3383. else
  3384. tf = tf - frame * math.floor(tf / frame)
  3385. end
  3386. end
  3387. end
  3388. )
  3389. swait = function(num)
  3390. if num == 0 or num == nil then
  3391. ArtificialHB.Event:wait()
  3392. else
  3393. for i = 0, num do
  3394. ArtificialHB.Event:wait()
  3395. end
  3396. end
  3397. end
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404. Magik = function(part)
  3405. Spawn(function()
  3406. local function lerp(a,b,c)
  3407. return a+(b-a)*c
  3408. end
  3409. local function rndRange(rng)
  3410. return math.random(-rng*1000,rng*1000)/1000
  3411. end
  3412. local magik = Instance.new("Part", part)
  3413. magik.Anchored = true
  3414. magik.Locked = true
  3415. magik.Material = "Neon"
  3416. magik.FormFactor = "Custom"
  3417. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  3418. magik.TopSurface = "Smooth"
  3419. magik.BottomSurface = "Smooth"
  3420. magik.Transparency = 0
  3421. magik.CanCollide = false
  3422.  
  3423. magik.BrickColor = BrickColor.new("Royal purple")
  3424.  
  3425. local mr = math.rad
  3426. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  3427. local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  3428. magik.CFrame = cf
  3429. for i = 0, 1, .05 do
  3430. local newTrans = lerp(.8, 1, i)
  3431. local ns = lerp(1,1.2,i)
  3432. magik.Transparency = newTrans
  3433. magik.Size = Vector3.new(ns,ns,ns)
  3434. magik.CFrame = cf
  3435. wait()
  3436. end
  3437. magik:Destroy()
  3438. wait()
  3439. end)
  3440. end
  3441. ----------------------------------------------------
  3442. Magik2 = function(part)
  3443. Spawn(function()
  3444. local function lerp(a,b,c)
  3445. return a+(b-a)*c
  3446. end
  3447. local function rndRange(rng)
  3448. return math.random(-rng*1000,rng*1000)/1000
  3449. end
  3450. local magik2 = Instance.new("Part",part)
  3451. magik2.Anchored = true
  3452. magik2.Locked = true
  3453. magik2.FormFactor = "Custom"
  3454. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  3455. magik2.TopSurface = "Smooth"
  3456. magik2.BottomSurface = "Smooth"
  3457. magik2.Transparency = 0
  3458. magik2.Material = "Neon"
  3459. magik2.CanCollide = false
  3460.  
  3461.  
  3462. magik2.BrickColor = BrickColor.new("Really black")
  3463.  
  3464.  
  3465. local mr = math.rad
  3466. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  3467. local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  3468. magik2.CFrame = cf
  3469. for i = 0, 1, .05 do
  3470. local newTrans = lerp(.8, 1, i)
  3471. local ns = lerp(1,1.2,i)
  3472. magik2.Transparency = newTrans
  3473. magik2.Size = Vector3.new(ns,ns,ns)
  3474. magik2.CFrame = cf
  3475. wait()
  3476. end
  3477. magik2:Destroy()
  3478. end)
  3479. end
  3480.  
  3481.  
  3482.  
  3483. Spawn(function()
  3484. while wait(.1) do
  3485. Magik(RightArm)
  3486. end
  3487. end)
  3488.  
  3489. Spawn(function()
  3490. while wait(.1) do
  3491. Magik2(RightArm)
  3492. end
  3493. end)
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502. FloatPart = function()
  3503. local Part = Instance.new('Part',Torso)
  3504. Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  3505. Part.Anchored = true
  3506. Part.Material = 'Neon'
  3507. Part.CanCollide = false
  3508. Part.BrickColor = BrickColor.new(PrimaryColor)
  3509. local Mesh = Instance.new('SpecialMesh',Part)
  3510. Mesh.Scale = Vector3.new(4,4,.2)
  3511. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  3512. Mesh.VertexColor = Vector3.new(0,170,255)
  3513. spawn(function()
  3514. for i = 1,30 do
  3515. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  3516. Part.Transparency = Part.Transparency + .035
  3517. game["Run Service"].RenderStepped:wait()
  3518. end
  3519. Part:Destroy()
  3520. end)
  3521. end;
  3522.  
  3523. DubPart = function()
  3524. local Part = Instance.new('Part',Torso)
  3525. Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  3526. Part.Anchored = true
  3527. Part.CanCollide = false
  3528. Part.Material = 'Neon'
  3529. Part.BrickColor = BrickColor.new(SecondaryColor)
  3530. local Mesh = Instance.new('SpecialMesh',Part)
  3531. Mesh.Scale = Vector3.new(7,7,.2)
  3532. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  3533. Mesh.VertexColor = Vector3.new(0,170,255)
  3534. spawn(function()
  3535. for i = 1,30 do
  3536. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  3537. Part.Transparency = Part.Transparency + .035
  3538. game["Run Service"].RenderStepped:wait()
  3539. end
  3540. Part:Destroy()
  3541. end)
  3542. end;
  3543.  
  3544. Fade = function(Item,t)
  3545. spawn(function()
  3546. for i = 1,20 do
  3547. Item.Transparency = Item.Transparency + .05
  3548. if t then
  3549. wait(t)
  3550. else
  3551. wait()
  3552. end
  3553. end
  3554. Item:Destroy()
  3555. end)
  3556. end
  3557.  
  3558. Particle = function(PrimaryColor)
  3559. local Part = Instance.new('Part',Torso)
  3560. Part.BrickColor = BrickColor.new(PrimaryColor)
  3561. Part.Anchored = true
  3562. Part.Transparency = .3
  3563. Part.CanCollide = false
  3564. Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  3565. local Mesh = Instance.new('BlockMesh',Part)
  3566. Mesh.Scale = Vector3.new(.05,.1,.1)
  3567. spawn(function()
  3568. for i = 1,40 do
  3569. Part.Transparency = Part.Transparency + .0125
  3570. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  3571. game["Run Service"].RenderStepped:wait()
  3572. end
  3573. Part:Destroy()
  3574. end)
  3575. end;
  3576.  
  3577. --[[spawn(function()
  3578. while wait() do
  3579. wait(.05)
  3580. FloatPart()
  3581. wait(.08)
  3582. FloatPart()
  3583. wait(.05)
  3584. DubPart()
  3585. wait(.08)
  3586. end
  3587. end)]]
  3588.  
  3589. game["Run Service"].RenderStepped:connect(function(_)
  3590. Particle("Royal purple")
  3591. Particle("Really black")
  3592. --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
  3593. end)
  3594.  
  3595.  
  3596.  
  3597. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  3598. local fp = it("ParticleEmitter")
  3599. fp.Parent = parent
  3600. fp.Color = cs(col1, col2)
  3601. fp.LightEmission = lightemis
  3602. fp.Size = size
  3603. fp.Texture = texture
  3604. fp.Transparency = transparency
  3605. fp.ZOffset = zoffset
  3606. fp.Acceleration = accel
  3607. fp.Drag = drag
  3608. fp.LockedToPart = ltp
  3609. fp.VelocityInheritance = velinher
  3610. fp.EmissionDirection = emisdir
  3611. fp.Enabled = enabled
  3612. fp.Lifetime = lifetime
  3613. fp.Rate = rate
  3614. fp.Rotation = rotation
  3615. fp.RotSpeed = rotspeed
  3616. fp.Speed = speed
  3617. fp.VelocitySpread = velspread
  3618. return fp
  3619. end
  3620.  
  3621.  
  3622.  
  3623.  
  3624. local fengui = it("GuiMain")
  3625. fengui.Parent = Player.PlayerGui
  3626. fengui.Name = "WeaponGUI"
  3627. local fenframe1 = it("TextLabel")
  3628. fenframe1.Parent = fengui
  3629. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  3630. fenframe1.BackgroundTransparency = 0.3
  3631. fenframe1.BorderSizePixel = 5
  3632. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  3633. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  3634. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  3635. fenframe1.Text = "Z"
  3636. fenframe1.TextWrapped = true
  3637. fenframe1.FontSize = 7
  3638. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  3639. local fenframe1a = it("TextLabel")
  3640. fenframe1a.Parent = fengui
  3641. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  3642. fenframe1a.BackgroundTransparency = 0.3
  3643. fenframe1a.BorderSizePixel = 5
  3644. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  3645. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  3646. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  3647. fenframe1a.Text = ""
  3648. local fenframe2 = it("TextLabel")
  3649. fenframe2.Parent = fengui
  3650. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  3651. fenframe2.BackgroundTransparency = 0.3
  3652. fenframe2.BorderSizePixel = 5
  3653. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  3654. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  3655. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  3656. fenframe2.Text = "X"
  3657. fenframe2.TextWrapped = true
  3658. fenframe2.FontSize = 7
  3659. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  3660. local fenframe2a = it("TextLabel")
  3661. fenframe2a.Parent = fengui
  3662. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  3663. fenframe2a.BackgroundTransparency = 0.3
  3664. fenframe2a.BorderSizePixel = 5
  3665. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  3666. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  3667. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  3668. fenframe2a.Text = ""
  3669. local fenframe3 = it("TextLabel")
  3670. fenframe3.Parent = fengui
  3671. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  3672. fenframe3.BackgroundTransparency = 0.3
  3673. fenframe3.BorderSizePixel = 5
  3674. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  3675. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  3676. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  3677. fenframe3.Text = "C"
  3678. fenframe3.TextWrapped = true
  3679. fenframe3.FontSize = 7
  3680. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  3681. local fenframe3a = it("TextLabel")
  3682. fenframe3a.Parent = fengui
  3683. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  3684. fenframe3a.BackgroundTransparency = 0.3
  3685. fenframe3a.BorderSizePixel = 5
  3686. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  3687. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  3688. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  3689. fenframe3a.Text = ""
  3690. local fenframe4 = it("TextLabel")
  3691. fenframe4.Parent = fengui
  3692. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  3693. fenframe4.BackgroundTransparency = 0.3
  3694. fenframe4.BorderSizePixel = 5
  3695. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  3696. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  3697. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  3698. fenframe4.Text = "V"
  3699. fenframe4.TextWrapped = true
  3700. fenframe4.FontSize = 7
  3701. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  3702. local fenframe4a = it("TextLabel")
  3703. fenframe4a.Parent = fengui
  3704. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  3705. fenframe4a.BackgroundTransparency = 0.3
  3706. fenframe4a.BorderSizePixel = 5
  3707. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  3708. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  3709. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  3710. fenframe4a.Text = ""
  3711. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  3712. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  3713. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  3714. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  3715. local RbxUtility = LoadLibrary("RbxUtility")
  3716. local Create = RbxUtility.Create
  3717. RemoveOutlines = function(part)
  3718. part.TopSurface = 10
  3719. end
  3720.  
  3721. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3722. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  3723. RemoveOutlines(Part)
  3724. return Part
  3725. end
  3726.  
  3727. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3728. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  3729. if Mesh == "SpecialMesh" then
  3730. Msh.MeshType = MeshType
  3731. Msh.MeshId = MeshId
  3732. end
  3733. return Msh
  3734. end
  3735.  
  3736. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  3737. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  3738. return Weld
  3739. end
  3740.  
  3741. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3742. if hit.Parent == nil then
  3743. return
  3744. end
  3745. local h = hit.Parent:FindFirstChild("Humanoid")
  3746. for _,v in pairs(hit.Parent:children()) do
  3747. if v:IsA("Humanoid") then
  3748. h = v
  3749. end
  3750. end
  3751. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3752. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3753. return
  3754. end
  3755. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  3756. game:GetService("Debris"):AddItem(c, 0.5)
  3757. if HitSound ~= nil and HitPitch ~= nil then
  3758. CreateSound(HitSound, hit, 1, HitPitch)
  3759. end
  3760. local Damage = math.random(minim, maxim)
  3761. local blocked = false
  3762. local block = hit.Parent:findFirstChild("Block")
  3763. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3764. blocked = true
  3765. block.Value = block.Value - 1
  3766. print(block.Value)
  3767. end
  3768. if blocked == false then
  3769. HitHealth = h.Health
  3770. h.Health = h.Health - Damage
  3771. if mana < 100 then
  3772. mana = mana + math.random(5, 10)
  3773. end
  3774. if mana > 100 then
  3775. mana = 100
  3776. end
  3777. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  3778. end
  3779. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3780. else
  3781. h.Health = h.Health - Damage / 2
  3782. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3783. end
  3784. if Type == "Knockdown" then
  3785. local hum = hit.Parent.Humanoid
  3786. hum.PlatformStand = true
  3787. coroutine.resume(coroutine.create(function(HHumanoid)
  3788. swait(1)
  3789. HHumanoid.PlatformStand = false
  3790. end
  3791. ), hum)
  3792. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3793. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  3794. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  3795. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3796. game:GetService("Debris"):AddItem(rl, 0.5)
  3797. else
  3798. do
  3799. if Type == "Normal" then
  3800. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  3801. if knockback > 0 then
  3802. vp.Parent = hit.Parent.Torso
  3803. end
  3804. game:GetService("Debris"):AddItem(vp, 0.5)
  3805. else
  3806. do
  3807. if Type == "Up" then
  3808. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  3809. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3810. else
  3811. do
  3812. if Type == "DarkUp" then
  3813. coroutine.resume(coroutine.create(function()
  3814. for i = 0, 1, 0.1 do
  3815. swait()
  3816. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  3817. end
  3818. end
  3819. ))
  3820. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  3821. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3822. else
  3823. do
  3824. if Type == "Snare" then
  3825. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  3826. game:GetService("Debris"):AddItem(bp, 1)
  3827. else
  3828. do
  3829. if Type == "Freeze" then
  3830. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  3831. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  3832. hit.Parent.Torso.Anchored = true
  3833. coroutine.resume(coroutine.create(function(Part)
  3834. swait(1.5)
  3835. Part.Anchored = false
  3836. end
  3837. ), hit.Parent.Torso)
  3838. game:GetService("Debris"):AddItem(BodPos, 3)
  3839. game:GetService("Debris"):AddItem(BodGy, 3)
  3840. end
  3841. do
  3842. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  3843. game:GetService("Debris"):AddItem(debounce, Delay)
  3844. c = Instance.new("ObjectValue")
  3845. c.Name = "creator"
  3846. c.Value = Player
  3847. c.Parent = h
  3848. game:GetService("Debris"):AddItem(c, 0.5)
  3849. end
  3850. end
  3851. end
  3852. end
  3853. end
  3854. end
  3855. end
  3856. end
  3857. end
  3858. end
  3859. end
  3860. end
  3861. end
  3862.  
  3863. ShowDamage = function(Pos, Text, Time, Color)
  3864. local Rate = 0.033333333333333
  3865. if not Pos then
  3866. local Pos = Vector3.new(0, 0, 0)
  3867. end
  3868. local Text = Text or ""
  3869. local Time = Time or 2
  3870. if not Color then
  3871. local Color = Color3.new(1, 0, 1)
  3872. end
  3873. local EffectPart = CreatePart(workspace, "Marble", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  3874. EffectPart.Anchored = true
  3875. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  3876. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  3877. game.Debris:AddItem(EffectPart, Time + 0.1)
  3878. EffectPart.Parent = game:GetService("Workspace")
  3879. delay(0, function()
  3880. local Frames = Time / Rate
  3881. for Frame = 1, Frames do
  3882. wait(Rate)
  3883. local Percent = Frame / Frames
  3884. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3885. TextLabel.TextTransparency = Percent
  3886. end
  3887. if EffectPart and EffectPart.Parent then
  3888. EffectPart:Destroy()
  3889. end
  3890. end
  3891. )
  3892. end
  3893.  
  3894. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  3895. for _,c in pairs(workspace:children()) do
  3896. local hum = c:findFirstChild("Humanoid")
  3897. if hum ~= nil then
  3898. local head = c:findFirstChild("Torso")
  3899. if head ~= nil then
  3900. local targ = head.Position - Part.Position
  3901. local mag = targ.magnitude
  3902. if mag <= magni and c.Name ~= Player.Name then
  3903. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  3904. end
  3905. end
  3906. end
  3907. end
  3908. end
  3909.  
  3910. Handle = CreatePart(m, Enum.Material.Marble, 0, 1, "Royal purple", "Handle", Vector3.new(0.200000003, 1.57000017, 0.200000003))
  3911. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.982839942, 0.146006823, 0.234023571, 0.211453959, -0.977137685, 0.0221185088, -0.0402157828, -0.0313093588, -0.99870044, 0.976560295, 0.210289627, -0.0459168404))
  3912. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  3913. FakeHandle = CreatePart(m, Enum.Material.Marble, 0, 1, "Royal purple", "FakeHandle", Vector3.new(0.200000003, 1.57000017, 0.200000003))
  3914. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  3915. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1, 0.200000003))
  3916. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.07288361e-006, 0.683865368, -4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  3917. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(2, 0.5, 2))
  3918. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3919. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31791997, -0.975689411, 2.925138, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638))
  3920. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3921. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 0.729999959, 1))
  3922. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.4692868, -3.70743895, -1.52587891e-005, 0.916809797, -0.399324507, 1.15483999e-006, 0.399324447, 0.916809678, -4.00096178e-006, 5.56348823e-007, 4.12762165e-006, 1))
  3923. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003))
  3924. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3925. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31796861, -0.99111104, 3.62495184, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638))
  3926. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3927. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3928. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.64674854, -0.903340101, -0.354405403, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992))
  3929. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3930. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3931. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155968666, -0.981806874, 5.01632404, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  3932. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3933. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3934. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015683651, -0.99636519, 4.31590414, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  3935. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3936. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3937. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.2746892, -0.975648642, 2.9260354, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299))
  3938. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3939. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3940. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.27468133, -0.991158009, 3.62575912, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299))
  3941. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3942. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3943. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155587196, -1.11407149, 4.663311, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  3944. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  3945. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3946. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0131573677, 0.00466442108, 4.61167336, -1.74657907e-006, -1.09747052e-005, -1.00000012, 0.764525652, -0.644593418, 5.77419996e-006, -0.644593358, -0.764525771, 9.49576497e-006))
  3947. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  3948. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  3949. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.6467495, -0.918762922, 0.345379829, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992))
  3950. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  3951. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3952. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00376915932, -3.44346094, -0.00172424316, -1.00000012, -1.70432031e-006, 1.69267878e-007, 1.70432031e-006, -1.00000012, -2.12341547e-007, 1.75088644e-007, -2.12341547e-007, 1.00000012))
  3953. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.300000012, 0.200000003))
  3954. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 1, 1))
  3955. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31130219e-006, -3.5749507, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  3956. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.400000006))
  3957. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(0.200000003, 4.57000017, 0.200000003))
  3958. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.96046448e-007, -1.50000107, 9.53674316e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  3959. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  3960. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
  3961. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68149614, -0.0198745728, -1.09672546e-005, 0.0220478568, 0.999756992, -2.0749867e-006, -0.999756932, 0.0220478605, -1.48452818e-006, -1.42678618e-006, 2.10851431e-006, 1.00000012))
  3962. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3963. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 0.870000005, 1))
  3964. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71543217, -0.0690839291, -9.53674316e-006, 0.19052954, 0.981681645, -1.97067857e-006, -0.981681526, 0.190529525, -1.91386789e-006, -1.49046537e-006, 2.29105353e-006, 1.00000012))
  3965. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.899999976))
  3966. Part22 = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part22", Vector3.new(1, 0.729999959, 1))
  3967. PartWeld = CreateWeld(m, FakeHandle, Part22, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.51120782, -3.69066477, -7.15255737e-006, 0.911903143, 0.410405785, -3.35276127e-007, -0.410405725, 0.911903143, -1.79186463e-006, -4.35044058e-007, 1.76206231e-006, 1.00000012))
  3968. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003))
  3969. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 0.870000005, 1))
  3970. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71087646, -0.0231897831, -6.19888306e-006, 0.318961442, 0.947767794, -1.48266554e-006, -0.947767675, 0.318961442, -2.70921737e-006, -2.10118014e-006, 2.26870179e-006, 1.00000012))
  3971. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024))
  3972. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 0.769999981, 1))
  3973. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68154573, -0.4009372, -5.7220459e-006, 0.516243339, 0.856442034, -8.04662704e-007, -0.856442034, 0.516243339, -4.18536365e-006, -3.15741636e-006, 2.8423965e-006, 1.00000012))
  3974. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012))
  3975. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(0.200000003, 2.57999992, 0.200000003))
  3976. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.4570694e-006, 1.91385686, 4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  3977. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3978. Hitbox = CreatePart(m, Enum.Material.Marble, 0, 1, "Black", "Hitbox", Vector3.new(2.4000001, 3.67000008, 0.399999976))
  3979. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.76720476, 3.04898357, 0.00860214233, -0.699169815, 0.713988841, 0.0371726528, -0.713755548, -0.700063348, 0.0215496495, 0.0414094217, -0.0114653222, 0.999076545))
  3980. rayCast = function(Position, Direction, Range, Ignore)
  3981. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  3982. end
  3983.  
  3984.  
  3985. Spawn(function()
  3986. while wait() do
  3987. Magik(LeftArm)
  3988. end
  3989. end)
  3990.  
  3991. Spawn(function()
  3992. while wait() do
  3993. Magik2(LeftArm)
  3994. end
  3995. end)
  3996.  
  3997.  
  3998. CreateSound = function(id, parent, vol, pit, looped)
  3999. coroutine.resume(coroutine.create(function()
  4000. local sou = Instance.new("Sound", parent or workspace)
  4001. sou.Volume = vol
  4002. sou.Pitch = pit or 1
  4003. sou.SoundId = id
  4004. sou.Looped = looped
  4005. swait()
  4006. sou:play()
  4007. game:GetService("Debris"):AddItem(sou, 6)
  4008. end
  4009. ))
  4010. end
  4011.  
  4012.  
  4013. local getclosest = function(obj, distance)
  4014. local last, lastx = distance + 1, nil
  4015. for i,v in pairs(workspace:GetChildren()) do
  4016. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  4017. local t = v.Torso
  4018. local dist = t.Position - obj.Position.magnitude
  4019. if dist <= distance and dist < last then
  4020. last = dist
  4021. lastx = v
  4022. end
  4023. end
  4024. end
  4025. return lastx
  4026. end
  4027.  
  4028. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  4029. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  4030. prt.Anchored = true
  4031. prt.CFrame = cframe
  4032. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4033. game:GetService("Debris"):AddItem(prt, 10)
  4034. if Type == 1 or Type == nil then
  4035. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  4036. else
  4037. if Type == 2 then
  4038. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  4039. end
  4040. end
  4041. end
  4042.  
  4043. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4044. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  4045. prt.Anchored = true
  4046. prt.CFrame = cframe
  4047. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4048. game:GetService("Debris"):AddItem(prt, 10)
  4049. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  4050. end
  4051.  
  4052. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4053. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  4054. prt.Anchored = true
  4055. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  4056. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4057. game:GetService("Debris"):AddItem(prt, 10)
  4058. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  4059. end
  4060.  
  4061. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4062. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  4063. prt.Anchored = true
  4064. prt.CFrame = cframe
  4065. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4066. game:GetService("Debris"):AddItem(prt, 10)
  4067. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  4068. end
  4069.  
  4070. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4071. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  4072. prt.Anchored = true
  4073. prt.CFrame = cframe
  4074. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4075. game:GetService("Debris"):AddItem(prt, 10)
  4076. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  4077. end
  4078.  
  4079. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4080. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  4081. prt.Anchored = true
  4082. prt.CFrame = cframe
  4083. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4084. game:GetService("Debris"):AddItem(prt, 10)
  4085. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  4086. end
  4087.  
  4088. DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4089. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  4090. prt.Anchored = true
  4091. prt.CFrame = cframe
  4092. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://51177741", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4093. game:GetService("Debris"):AddItem(prt, 10)
  4094. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  4095. end
  4096.  
  4097. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  4098. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  4099. prt.Anchored = true
  4100. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4101. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4102. local num = math.random(10, 50) / 1000
  4103. game:GetService("Debris"):AddItem(prt, 10)
  4104. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  4105. end
  4106.  
  4107. attackone = function()
  4108. attack = true
  4109. for i = 0, 1, 0.1 do
  4110. swait()
  4111. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  4112. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  4113. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  4114. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  4115. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4116. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4117. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  4118. end
  4119. local con = Hitbox.Touched:connect(function(hit)
  4120. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  4121. end
  4122. )
  4123. CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  4124. for i = 0, 1, 0.1 do
  4125. swait()
  4126. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  4127. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  4128. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  4129. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  4130. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4131. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4132. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  4133. end
  4134. con:disconnect()
  4135. attack = false
  4136. end
  4137.  
  4138. Deathwish = function()
  4139. attack = true
  4140. CreateSound("http://www.roblox.com/asset/?id=231917970", RootPart, 1, 1)
  4141. for i = 0, 1, 0.05 do
  4142. swait()
  4143. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 1, 0.1, 1, 0.09)
  4144. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.08, 1)
  4145. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  4146. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3)
  4147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  4148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4149. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4150. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4151. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  4152. end
  4153. MagniDamage(RootPart, 5599, 1099, 1599, 0, "DarkUp")
  4154. CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1)
  4155. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  4156. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 2, 0.1, 2, 0.07)
  4157. for i = 0, 1, 0.05 do
  4158. swait()
  4159. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  4160. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3)
  4161. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  4162. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-190)), 0.3)
  4163. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4164. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4165. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  4166. end
  4167. for i = 0, 1, 0.1 do
  4168. swait()
  4169. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-110)), 0.3)
  4170. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(100)), 0.3)
  4171. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  4172. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-80), math.rad(-90)), 0.3)
  4173. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4174. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4175. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  4176. end
  4177. MagniDamage(RootPart, 55, 5, 10, -70, "Knockdown")
  4178. CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1.2)
  4179. SphereEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 10, 10, 10, 0.06)
  4180. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  4181. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 0.5, 1, 0.5, 0.07)
  4182. for i = 0, 1, 0.1 do
  4183. swait()
  4184. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  4185. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(50)), 0.3)
  4186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  4187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4188. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4189. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4190. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  4191. end
  4192. attack = false
  4193. end
  4194.  
  4195. ChaosDriver = function()
  4196. attack = true
  4197. for i = 0, 1, 0.05 do
  4198. swait()
  4199. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  4200. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  4201. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  4202. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  4203. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4204. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4205. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  4206. end
  4207. CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  4208. coroutine.resume(coroutine.create(function()
  4209. for i = 1, 5 do
  4210. swait()
  4211. local ef = CreatePart(workspace, "Marble", 0, 1, BrickColor.new("Black"), "Effect", vt())
  4212. ef.Anchored = true
  4213. ef.CFrame = RootPart.CFrame * cf(0, 0, -10 * i)
  4214. MagniDamage(ef, 17, 10, 15, 1, "DarkUp")
  4215. game:GetService("Debris"):AddItem(ef, 0.5)
  4216. CreateSound("http://www.roblox.com/asset/?id=231917784", ef, 1, 0.7)
  4217. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 170, 5, 0, -10, 0, 0.07)
  4218. DragonEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 150, 5, 0, -10, 0, 0.07)
  4219. SpecialEffect(BrickColor.new("Really black"), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  4220. SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  4221. SpecialEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  4222. SpecialEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  4223. end
  4224. end
  4225. ))
  4226. for i = 0, 1, 0.1 do
  4227. swait()
  4228. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  4229. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  4230. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  4231. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  4232. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  4233. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4234. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4235. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  4236. end
  4237. attack = false
  4238. end
  4239.  
  4240. attacktwo = function()
  4241. attack = true
  4242. soundn = true
  4243. for i = 0, 1, 0.1 do
  4244. swait()
  4245. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  4246. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  4247. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3)
  4248. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  4249. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  4250. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4251. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  4252. end
  4253. local con = Hitbox.Touched:connect(function(hit)
  4254. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  4255. end
  4256. )
  4257. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  4258. coroutine.resume(coroutine.create(function()
  4259. while soundn do
  4260. wait(0.3)
  4261. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  4262. end
  4263. end
  4264. ))
  4265. for i = 0, 1, 0.1 do
  4266. swait()
  4267. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  4268. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  4269. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  4270. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  4271. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4272. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4273. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  4274. end
  4275. con:disconnect()
  4276. soundn = false
  4277. attack = false
  4278. end
  4279.  
  4280. local soundn = false
  4281. attackthree = function()
  4282. attack = true
  4283. soundn = true
  4284. for i = 0, 1, 0.1 do
  4285. swait()
  4286. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  4287. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  4288. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3)
  4289. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  4290. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  4291. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4292. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  4293. end
  4294. local con = Hitbox.Touched:connect(function(hit)
  4295. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  4296. end
  4297. )
  4298. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  4299. coroutine.resume(coroutine.create(function()
  4300. while soundn do
  4301. wait(0.3)
  4302. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  4303. end
  4304. end
  4305. ))
  4306. for i = 0, 1, 0.1 do
  4307. swait()
  4308. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  4309. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  4310. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  4311. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  4312. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4313. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4314. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  4315. end
  4316. con:disconnect()
  4317. soundn = false
  4318. attack = false
  4319. end
  4320.  
  4321. ThanatosDriver = function()
  4322. attack = true
  4323. for i = 0, 1, 0.1 do
  4324. swait()
  4325. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  4326. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  4327. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  4328. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  4329. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  4330. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4331. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  4332. end
  4333. local con = Hitbox.Touched:connect(function(hit)
  4334. Damagefunc(Hitbox, hit, 30, 30, 50, "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  4335. end
  4336. )
  4337. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 0.7)
  4338. for i = 0, 1, 0.1 do
  4339. swait()
  4340. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  4341. BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  4342. DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(-90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  4343. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  4344. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  4345. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(30)), 0.3)
  4346. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  4347. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  4348. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4349. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(170)), 0.2)
  4350. end
  4351. con:disconnect()
  4352. attack = false
  4353. end
  4354.  
  4355. LastResort = function()
  4356. attack = true
  4357. soundn = true
  4358. CreateSound("http://www.roblox.com/asset/?id=233096557", Torso, 1, 1)
  4359. MagniDamage(RootPart, 10, 5, 10, 0, "Knockdown")
  4360. SpecialEffect(BrickColor.new("Really black"), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  4361. SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  4362. SpecialEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  4363. SpecialEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  4364.  
  4365. RootPart.CFrame = RootPart.CFrame * cf(0, 0, 20)
  4366. for i = 0, 1, 0.1 do
  4367. swait()
  4368. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  4369. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  4370. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  4371. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  4372. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  4373. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4374. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  4375. end
  4376. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1)
  4377. coroutine.resume(coroutine.create(function()
  4378. while soundn do
  4379. wait(0.5)
  4380. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1)
  4381. end
  4382. end
  4383. ))
  4384. for i = 0, 1, 0.1 do
  4385. swait()
  4386. MagniDamage(RootPart, 10, 5, 10, 0, "Normal")
  4387. Torso.Velocity = RootPart.CFrame.lookVector * 100
  4388. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  4389. BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  4390. DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  4391. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  4392. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  4393. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  4394. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  4395. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4396. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4397. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  4398. end
  4399. for i = 0, 1, 0.1 do
  4400. swait()
  4401. MagniDamage(RootPart, 10, 3, 3, 0, "Normal")
  4402. Torso.Velocity = RootPart.CFrame.lookVector * 100
  4403. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  4404. BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  4405. DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  4406. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  4407. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  4408. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  4409. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  4410. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  4411. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4412. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  4413. end
  4414. soundn = false
  4415. attack = false
  4416. end
  4417.  
  4418. ob1u = function()
  4419. end
  4420.  
  4421. ob1d = function()
  4422. if attack == false and attacktype == 1 then
  4423. attacktype = 2
  4424. attackone()
  4425. else
  4426. if attack == false and attacktype == 2 then
  4427. attacktype = 3
  4428. attacktwo()
  4429. else
  4430. if attack == false and attacktype == 3 then
  4431. attacktype = 1
  4432. attackthree()
  4433. end
  4434. end
  4435. end
  4436. end
  4437.  
  4438. key = function(k)
  4439. k = k:lower()
  4440. if attack == false and k == "z" and zenabled == true then
  4441. zenabled = false
  4442. coroutine.resume(coroutine.create(function()
  4443. for i = 1, 0, -0.02 do
  4444. swait()
  4445. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  4446. end
  4447. zenabled = true
  4448. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  4449. end
  4450. ))
  4451. ThanatosDriver()
  4452. else
  4453. if attack == false and k == "x" and xenabled == true then
  4454. xenabled = false
  4455. coroutine.resume(coroutine.create(function()
  4456. for i = 1, 0, -0.005 do
  4457. swait()
  4458. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  4459. end
  4460. xenabled = true
  4461. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  4462. end
  4463. ))
  4464. LastResort()
  4465. else
  4466. if attack == false and k == "c" and cenabled == true then
  4467. cenabled = false
  4468. coroutine.resume(coroutine.create(function()
  4469. for i = 1, 0, -0.0025 do
  4470. swait()
  4471. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  4472. end
  4473. cenabled = true
  4474. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  4475. end
  4476. ))
  4477. ChaosDriver()
  4478. else
  4479. if attack == false and k == "v" and venabled == true then
  4480. venabled = false
  4481. coroutine.resume(coroutine.create(function()
  4482. for i = 1, 0, -0.0005 do
  4483. swait()
  4484. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  4485. end
  4486. venabled = true
  4487. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  4488. end
  4489. ))
  4490. Deathwish()
  4491. end
  4492. end
  4493. end
  4494. end
  4495. end
  4496.  
  4497. s = function(mouse)
  4498. mouse.Button1Down:connect(function()
  4499. ob1d(mouse)
  4500. end
  4501. )
  4502. mouse.Button1Up:connect(function()
  4503. ob1u(mouse)
  4504. end
  4505. )
  4506. mouse.KeyDown:connect(key)
  4507. end
  4508.  
  4509. s(mouse)
  4510.  
  4511.  
  4512.  
  4513.  
  4514.  
  4515.  
  4516. rs = game:GetService'RunService'
  4517. plrs = game:GetService'Players'
  4518. lp = plrs.LocalPlayer
  4519. c = lp.Character
  4520. root = lp.Character.HumanoidRootPart
  4521. human = c.Humanoid
  4522. FPS = 0
  4523. inf = 0
  4524. opos1 = Vector3.new()
  4525. opos2 = Vector3.new()
  4526. opos3 = Vector3.new()
  4527. waves = Instance.new("Model", c)
  4528. res = Instance.new("Model", c)
  4529.  
  4530. local function b()
  4531. local t=tick();
  4532. local l=t%1*3;
  4533. local t=.5*math.pi*(l%1);
  4534. if l<1 then
  4535. return Color3.new(47,0,32);
  4536. elseif l<2 then
  4537. return Color3.new(47,0,35);
  4538. else
  4539. return Color3.new(0,0,0);
  4540. end;
  4541. end;
  4542. speedParts = function()
  4543. for i = 1, 4 do
  4544. local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -Hitbox.Velocity / 5) * (math.sin(tick()) + 2)
  4545. local CFramepos = Hitbox.CFrame:toWorldSpace(CFrame.new(pos)).p
  4546. local opos
  4547. if i == 1 then
  4548. opos = opos1
  4549. elseif i == 2 then
  4550. opos = opos2
  4551. else
  4552. opos = opos3
  4553. end
  4554. local e
  4555. if #res:children() <= 3 then
  4556. e = Instance.new("Part")
  4557. else
  4558. e = res:FindFirstChild("Trail")
  4559. end
  4560. e.Parent = waves
  4561. e.Anchored = false
  4562. e.CanCollide = false
  4563. e.Transparency = 0
  4564. e.Material = "Neon"
  4565. e.Name = "Trail"
  4566. e.Color = b(); --Color = a();
  4567. e.Size = Vector3.new(.01, (CFramepos - opos).magnitude, .01)
  4568. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  4569. if i == 1 then
  4570. opos1 = CFramepos
  4571. elseif i == 2 then
  4572. opos2 = CFramepos
  4573. else
  4574. opos3 = CFramepos
  4575. end
  4576. end
  4577. end
  4578.  
  4579. rs.RenderStepped:connect(function()
  4580. FPS = 1 / rs.RenderStepped:wait()
  4581. for i, v in pairs (waves:children()) do
  4582. v.Transparency = v.Transparency + .05 / (FPS / 400)
  4583. if v.Transparency >= .98 then
  4584. v.Transparency = 1
  4585. v.Parent = res
  4586. end
  4587. end
  4588. inf = inf + (30 + root.Velocity.magnitude / 15) / (FPS / 400)
  4589. speedParts()
  4590. end)
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597. while 1 do
  4598. swait()
  4599. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  4600. velocity = RootPart.Velocity.y
  4601. sine = sine + change
  4602. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  4603. if equipped == true or equipped == false then
  4604. if 1 < RootPart.Velocity.y and hit == nil then
  4605. Anim = "Jump"
  4606. if attack == false then
  4607. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4608. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  4609. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3)
  4610. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4611. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4612. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4613. end
  4614. else
  4615. if RootPart.Velocity.y < -1 and hit == nil then
  4616. Anim = "Fall"
  4617. if attack == false then
  4618. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  4619. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  4620. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3)
  4621. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4622. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4623. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  4624. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  4625. end
  4626. else
  4627. if Torsovelocity.x < 1 and Torsovelocity.z < 1 and hit ~= nil then
  4628. Anim = "Idle"
  4629. if attack == false then
  4630. change = 1
  4631. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  4632. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(80)), 0.3)
  4633. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
  4634. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  4635. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 9), 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
  4636. LH.C0 = clerp(LH.C0, cf(-1.3, -1 + 0.1 * math.cos((sine) / 9), 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  4637. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(70 - 1 * math.cos((sine) / 9)), math.rad(70)), 0.3)
  4638. end
  4639. else
  4640. if Torsovelocity.x > 2 and Torsovelocity.z > 2 and hit ~= nil then
  4641. Anim = "Walk"
  4642. if attack == false then
  4643. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(10), math.rad(-5), math.rad(-30)), 0.3)
  4644. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(30)), 0.3)
  4645. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), 0.3)
  4646. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  4647. RH.C0 = clerp(RH.C0, cf(1, -1, 0 + 0.5 * math.cos((sine) / 5)) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10 - 50 * math.cos((sine) / 5))), 0.3)
  4648. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5 - 0.5 * math.cos((sine) / 5)) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10 - 50 * math.cos((sine) / 5))), 0.3)
  4649. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(50 - 1 * math.cos((sine) / 9)), math.rad(120)), 0.3)
  4650. end
  4651. end
  4652. end
  4653. end
  4654. end
  4655. end
  4656. if 0 < #Effects then
  4657. for e = 1, #Effects do
  4658. if Effects[e] ~= nil then
  4659. local Thing = Effects[e]
  4660. if Thing ~= nil then
  4661. local Part = Thing[1]
  4662. local Mode = Thing[2]
  4663. local Delay = Thing[3]
  4664. local IncX = Thing[4]
  4665. local IncY = Thing[5]
  4666. local IncZ = Thing[6]
  4667. if Thing[1].Transparency <= 1 then
  4668. if Thing[2] == "Block1" then
  4669. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4670. Mesh = Thing[1].Mesh
  4671. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4672. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4673. else
  4674. if Thing[2] == "Block2" then
  4675. Thing[1].CFrame = Thing[1].CFrame
  4676. Mesh = Thing[7]
  4677. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4678. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4679. else
  4680. if Thing[2] == "Cylinder" then
  4681. Mesh = Thing[1].Mesh
  4682. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4683. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4684. else
  4685. if Thing[2] == "Blood" then
  4686. Mesh = Thing[7]
  4687. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  4688. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4689. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4690. else
  4691. if Thing[2] == "Elec" then
  4692. Mesh = Thing[1].Mesh
  4693. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4694. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4695. else
  4696. if Thing[2] == "Disappear" then
  4697. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4698. else
  4699. if Thing[2] == "Shatter" then
  4700. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4701. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4702. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4703. Thing[6] = Thing[6] + Thing[5]
  4704. end
  4705. end
  4706. end
  4707. end
  4708. end
  4709. end
  4710. end
  4711. else
  4712. Part.Parent = nil
  4713. table.remove(Effects, e)
  4714. end
  4715. end
  4716. end
  4717. end
  4718. end
  4719. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement