Advertisement
Guest User

Untitled

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