Advertisement
kqdragon

OneForAll

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