Advertisement
wamandnj

Untitled

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