Advertisement
seamty

Untitled

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