Advertisement
Ephkyr

NNN

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