Advertisement
Guest User

Untitled

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