Advertisement
-----------------

One For All Electric Moves (OFAEM)

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