Advertisement
SlySlixty

Untitled

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