Advertisement
ghostteen14

Untitled

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