Advertisement
DarkScriptZEditors

Untitled

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