Advertisement
Penien23

SMASH

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