Dudermonman

Legacy dude!

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