wamandnj

Untitled

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