Namoo546

XD

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