Advertisement
lafur

Untitled

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