Advertisement
Tetezaza1542

ink

Oct 3rd, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. local p = game.Players.LocalPlayer
  7. local char = p.Character
  8. local mouse = p:GetMouse()
  9. local larm = char["Left Arm"]
  10. local rarm = char["Right Arm"]
  11. local lleg = char["Left Leg"]
  12. local rleg = char["Right Leg"]
  13. local hed = char.Head
  14. local torso = char.Torso
  15. local hum = char.Humanoid
  16. local cam = game.Workspace.CurrentCamera
  17. local root = char.HumanoidRootPart
  18. local deb = false
  19. local shot = 0
  20. local debris=game:service"Debris"
  21. local l = game:GetService("Lighting")
  22. local rs = game:GetService("RunService").RenderStepped
  23. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  24. math.randomseed(os.time())
  25. for i,v in pairs (hed:GetChildren()) do
  26. if v:IsA("Sound") then
  27. v:Destroy()
  28. end
  29. end
  30. --------------------------------------------------------------------
  31.  
  32. hed.face.Texture = "rbxassetid://589766751"
  33. ----------------------------------------------------
  34. Debounces = {
  35. CanAttack = true;
  36. NoIdl = false;
  37. Slashing = false;
  38. Slashed = false;
  39. RPunch = false;
  40. RPunched = false;
  41. LPunch = false;
  42. LPunched = false;
  43. }
  44. local Touche = {char.Name, }
  45. ----------------------------------------------------
  46. char["Body Colors"].HeadColor = BrickColor.new("White")
  47. char["Body Colors"].TorsoColor = BrickColor.new("White")
  48. char["Body Colors"].LeftArmColor = BrickColor.new("White")
  49. char["Body Colors"].RightArmColor = BrickColor.new("White")
  50. ----------------------------------------------------
  51. ----------------------------------------------------------------
  52.  
  53. ---------------------------- SHIRT AND PANTS --
  54. --------------------------------
  55. shirt = Instance.new("Shirt", char)
  56. shirt.Name = "Shirt"
  57. pants = Instance.new("Pants", char)
  58. pants.Name = "Pants"
  59. char.Shirt.ShirtTemplate = "rbxassetid://769121053"
  60. char.Pants.PantsTemplate = "rbxassetid://1507168534"
  61.  
  62. ---------------------------------------------------------
  63.  
  64. --------------
  65. purple = Color3.new(1, 1, 1)
  66. local player = "LocalPlayer"
  67. local Character = game.Players[player].Character
  68. it = Instance.new
  69. vt = Vector3.new
  70. bc = BrickColor.new
  71. cf = CFrame.new
  72. local hed = Character.Head
  73. local ultcooldown = 99999
  74.  
  75. paly = game.Players.LocalPlayer
  76. p = game.Players.LocalPlayer
  77. char = paly.Character
  78. torso = char.Torso
  79. neck = char.Torso.Neck
  80. hum = char.Humanoid
  81. Player = game:GetService("Players").LocalPlayer
  82. local mouse = Player:GetMouse()
  83. Character = Player.Character
  84. tors = Character.Torso
  85. lleg = Character["Left Leg"]
  86. root = Character.HumanoidRootPart
  87. hed = Character.Head
  88. rleg = Character["Right Leg"]
  89. rarm = Character["Right Arm"]
  90. larm = Character["Left Arm"]
  91. local Effects = {}
  92.  
  93.  
  94. function ExplodeMass(rad,par)
  95. local expart = Instance.new("Part",script.Parent)
  96. local expart2 = Instance.new("Part",script.Parent)
  97. local partMesh = Instance.new("SpecialMesh",expart)
  98. partMesh.MeshType = "Sphere"
  99. local partMesh2 = Instance.new("SpecialMesh",expart2)
  100. partMesh2.MeshType = "Sphere"
  101. local expld = Instance.new("Explosion", script.Parent)
  102. local plode = Instance.new("Sound",workspace)
  103. plode.SoundId = "rbxassetid://579687077"
  104. plode.Volume = 1
  105. plode.Pitch = 0.85
  106. plode.Looped = false
  107. plode:Play()
  108. local plodez = Instance.new("Sound",workspace)
  109. plodez.SoundId = "rbxassetid://288641686"
  110. plodez.Volume = 1
  111. plodez.Pitch = 0.75
  112. plodez.Looped = false
  113. plodez:Play()
  114. local plodeza = Instance.new("Sound",workspace)
  115. plodeza.SoundId = "rbxassetid://197161452"
  116. plodeza.Volume = 0.85
  117. plodeza.Pitch = 0.65
  118. plodeza.Looped = false
  119. plodeza:Play()
  120. local plodezar = Instance.new("Sound",workspace)
  121. plodezar.SoundId = "rbxassetid://197161452"
  122. plodezar.Volume = 0.85
  123. plodezar.Pitch = 0.25
  124. plodezar.Looped = false
  125. plodezar:Play()
  126. local s3 = Instance.new("Sound",workspace)
  127. s3.SoundId = "rbxassetid://268931189"
  128. s3.Pitch = 1
  129. s3.Volume = 1
  130. s3.Looped = false
  131. s3:Play()
  132. xay = Instance.new("Sound",workspace)
  133. xay.SoundId = "rbxassetid://419447292"
  134. xay.Pitch = 1
  135. xay.Volume = 2.5
  136. xay:Play()
  137. expld.BlastRadius = rad
  138. expld.Position = par.Position
  139. partMesh.Scale = vt(rad,rad,rad)
  140. expart.Size = vt(1,1,1)*1.5
  141. expart.Transparency = 0
  142. expart.Anchored = true
  143. expart.Material = "Neon"
  144. expart.BrickColor = bc("White")
  145. expart.CFrame = par.CFrame
  146. partMesh2.Scale = vt(rad,rad,rad)
  147. expart2.Size = vt(1.15,1.15,1.15)*1.5
  148. expart2.Transparency = 0.5
  149. expart2.Anchored = true
  150. expart2.Material = "Neon"
  151. expart2.BrickColor = Character.Torso.BrickColor
  152. expart2.CFrame = par.CFrame
  153. local value = 1*rad/10
  154. par:Destroy()
  155. for i = 0, 300 do
  156. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  157. expart.CFrame = expart.CFrame
  158. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  159. expart2.CFrame = expart.CFrame
  160. value = value - 0.0175*rad/10
  161. if value <= 0 then
  162. expart.Transparency = expart.Transparency + 0.0125
  163. expart2.Transparency = expart2.Transparency + 0.0125
  164. value = 0.25
  165. end
  166. wait()
  167. end
  168. plode.Parent = nil
  169. expart.Parent = nil
  170. expart2.Parent = nil
  171. expld.Parent = nil
  172. end
  173.  
  174. function ExplodeMass2(rad,par)
  175. local expart = Instance.new("Part",script.Parent)
  176. local expart2 = Instance.new("Part",script.Parent)
  177. local partMesh = Instance.new("SpecialMesh",expart)
  178. partMesh.MeshType = "Sphere"
  179. local partMesh2 = Instance.new("SpecialMesh",expart2)
  180. partMesh2.MeshType = "Sphere"
  181. local expld = Instance.new("Explosion", script.Parent)
  182. local plode = Instance.new("Sound",workspace)
  183. plode.SoundId = "rbxassetid://579687077"
  184. plode.Volume = 1
  185. plode.Pitch = 0.8
  186. plode.Looped = false
  187. plode:Play()
  188. local plodez = Instance.new("Sound",workspace)
  189. plodez.SoundId = "rbxassetid://288641686"
  190. plodez.Volume = 1
  191. plodez.Pitch = 0.7
  192. plodez.Looped = false
  193. plodez:Play()
  194. local plodeza = Instance.new("Sound",workspace)
  195. plodeza.SoundId = "rbxassetid://197161452"
  196. plodeza.Volume = 0.85
  197. plodeza.Pitch = 0.6
  198. plodeza.Looped = false
  199. plodeza:Play()
  200. local plodezar = Instance.new("Sound",workspace)
  201. plodezar.SoundId = "rbxassetid://197161452"
  202. plodezar.Volume = 0.85
  203. plodezar.Pitch = 0.2
  204. plodezar.Looped = false
  205. plodezar:Play()
  206. local s3 = Instance.new("Sound",workspace)
  207. s3.SoundId = "rbxassetid://268931189"
  208. s3.Pitch = 0.85
  209. s3.Volume = 1
  210. s3.Looped = false
  211. s3:Play()
  212. xay = Instance.new("Sound",workspace)
  213. xay.SoundId = "rbxassetid://419447292"
  214. xay.Pitch = 1
  215. xay.Volume = 3.5
  216. xay:Play()
  217. expld.BlastRadius = rad
  218. expld.Position = par.Position
  219. partMesh.Scale = vt(rad,rad,rad)
  220. expart.Size = vt(1,1,1)*1.5
  221. expart.Transparency = 0
  222. expart.Anchored = true
  223. expart.Material = "Neon"
  224. expart.BrickColor = bc("Really black")
  225. expart.CFrame = par.CFrame
  226. partMesh2.Scale = vt(rad,rad,rad)
  227. expart2.Size = vt(1.15,1.15,1.15)*1.5
  228. expart2.Transparency = 0.5
  229. expart2.Anchored = true
  230. expart2.Material = "Neon"
  231. expart2.BrickColor = Character.Torso.BrickColor
  232. expart2.CFrame = par.CFrame
  233. local value = 1*rad/10
  234. par:Destroy()
  235. for i = 0, 300 do
  236. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  237. expart.CFrame = expart.CFrame
  238. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  239. expart2.CFrame = expart.CFrame
  240. value = value - 0.0175*rad/10
  241. if value <= 0 then
  242. expart.Transparency = expart.Transparency + 0.0125
  243. expart2.Transparency = expart2.Transparency + 0.0125
  244. value = 0.25
  245. end
  246. wait()
  247. end
  248. plode.Parent = nil
  249. expart.Parent = nil
  250. expart2.Parent = nil
  251. expld.Parent = nil
  252. end
  253.  
  254. function Blaze2()
  255. if ultcooldown >= 30 then
  256. ultcooldown = ultcooldown - 30
  257. wit = Character.Torso.BrickColor.Color
  258. local sloc = Instance.new("Part",workspace)
  259. local msh = Instance.new("SpecialMesh",sloc)
  260. msh.MeshType = "Sphere"
  261. sloc.Size = vt(1,1,1)
  262. sloc.Transparency = 1
  263. sloc.BrickColor = Character.Torso.BrickColor
  264. sloc.Position = hed.Position + vt(0,0,0)
  265. sloc.CanCollide = false
  266. sloc.Shape = "Ball"
  267. sloc.Anchored = true
  268. sloc.Material = "Neon"
  269. local forcefield = Instance.new("ForceField",Character)
  270. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  271. kolor.TintColor = Character.Torso.BrickColor.Color
  272. local glowz = Instance.new("ParticleEmitter")
  273. glowz.LightEmission = 0
  274. glowz.Parent = sloc
  275. glowz.Texture = "rbxassetid://284205403"
  276. glowz.Color = ColorSequence.new(wit)
  277. glowz.Size = NumberSequence.new(15)
  278. glowz.Speed = NumberRange.new(100,250)
  279. glowz.LockedToPart = false
  280. glowz.Transparency = NumberSequence.new(0.75)
  281. glowz.RotSpeed = NumberRange.new(-2000,2000)
  282. glowz.Lifetime = NumberRange.new(1)
  283. glowz.Rate = 50
  284. glowz.VelocitySpread = 9001
  285. local s = Instance.new("Sound",workspace)
  286. s.SoundId = "rbxassetid://331888777"
  287. s.Pitch = 0.45
  288. s.Volume = 1.5
  289. s.Looped = false
  290. s:Play()
  291. local s2 = Instance.new("Sound",workspace)
  292. s2.SoundId = "rbxassetid://331888777"
  293. s2.Pitch = 0.5
  294. s2.Volume = 1.5
  295. s2.Looped = false
  296. s2:Play()
  297. local val = 1*5
  298. for i = 0 , 20 do
  299. sloc.Transparency = sloc.Transparency - 0.055
  300. msh.Scale = msh.Scale + vt(val,val,val)
  301. val = val - 0.05*5
  302. kolor.Brightness = kolor.Brightness - 0.1
  303. kolor.Contrast = kolor.Contrast + 0.1
  304. wait()
  305. end
  306. for i = 0 , 5 do
  307. msh.Scale = msh.Scale + vt(val,val,val)
  308. val = val + 0.05*5
  309. kolor.Brightness = kolor.Brightness + 0.5
  310. kolor.Contrast = kolor.Contrast - 0.5
  311. wait()
  312. end
  313. for i = 0 , 5 do
  314. msh.Scale = msh.Scale + vt(val,val,val)
  315. val = val - 0.05*5
  316. kolor.Brightness = kolor.Brightness - 0.5
  317. kolor.Contrast = kolor.Contrast + 0.5
  318. wait()
  319. end
  320. for i = 0 , 5 do
  321. msh.Scale = msh.Scale + vt(val,val,val)
  322. val = val + 0.05*10
  323. kolor.Brightness = kolor.Brightness + 0.5
  324. kolor.Contrast = kolor.Contrast - 0.5
  325. wait()
  326. end
  327. for i = 0 , 5 do
  328. msh.Scale = msh.Scale + vt(val,val,val)
  329. val = val - 0.05*10
  330. kolor.Brightness = kolor.Brightness - 0.5
  331. kolor.Contrast = kolor.Contrast + 0.5
  332. wait()
  333. end
  334. for i = 0 , 5 do
  335. msh.Scale = msh.Scale + vt(val,val,val)
  336. val = val + 0.05*20
  337. kolor.Brightness = kolor.Brightness + 0.5
  338. kolor.Contrast = kolor.Contrast - 0.5
  339. wait()
  340. end
  341. for i = 0 , 5 do
  342. msh.Scale = msh.Scale + vt(val,val,val)
  343. val = val - 0.05*20
  344. kolor.Brightness = kolor.Brightness - 0.5
  345. kolor.Contrast = kolor.Contrast + 0.5
  346. wait()
  347. end
  348. for i = 0 , 5 do
  349. msh.Scale = msh.Scale + vt(val,val,val)
  350. val = val + 0.05*40
  351. kolor.Brightness = kolor.Brightness + 0.5
  352. kolor.Contrast = kolor.Contrast - 0.5
  353. wait()
  354. end
  355. for i = 0 , 5 do
  356. msh.Scale = msh.Scale + vt(val,val,val)
  357. val = val - 0.05*40
  358. kolor.Brightness = kolor.Brightness - 0.5
  359. kolor.Contrast = kolor.Contrast + 0.5
  360. wait()
  361. end
  362. for i = 0 , 5 do
  363. msh.Scale = msh.Scale + vt(val,val,val)
  364. val = val + 0.05*45
  365. kolor.Brightness = kolor.Brightness + 0.5
  366. kolor.Contrast = kolor.Contrast - 0.5
  367. wait()
  368. end
  369. for i = 0 , 5 do
  370. msh.Scale = msh.Scale + vt(val,val,val)
  371. val = val - 0.05*45
  372. kolor.Brightness = kolor.Brightness - 0.5
  373. kolor.Contrast = kolor.Contrast + 0.5
  374. wait()
  375. end
  376. for i = 0 , 5 do
  377. msh.Scale = msh.Scale + vt(val,val,val)
  378. val = val + 0.05*50
  379. kolor.Brightness = kolor.Brightness + 0.5
  380. kolor.Contrast = kolor.Contrast - 0.5
  381. wait()
  382. end
  383. for i = 0 , 20 do
  384. sloc.Transparency = sloc.Transparency + 0.055
  385. msh.Scale = msh.Scale + vt(val,val,val)
  386. val = val - 0.05*50
  387. wait()
  388. end
  389. kolor:Destroy()
  390. ExplodeMass2(125,sloc)
  391. sloc:Destroy()
  392. forcefield:Destroy()
  393. end
  394. if ultcooldown < 1 then
  395. for i = 0, 29 do
  396. ultcooldown = ultcooldown + 1
  397. wait(1)
  398. end
  399. end
  400. end
  401.  
  402. function Blaze()
  403. if ultcooldown >= 30 then
  404. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  405. local see = Instance.new("Sound",workspace)
  406. see.SoundId = "rbxassetid://21420962"
  407. see.Pitch = 1
  408. see.Volume = 2.75
  409. see.Looped = false
  410. see:Play()
  411. kolor.Brightness = -1
  412. kolor.Contrast = -1
  413. kolor.TintColor = Character.Torso.BrickColor.Color
  414. wait(0.1)
  415. for i = 0, 9 do
  416. kolor.Brightness = kolor.Brightness + 0.35
  417. kolor.Contrast = kolor.Contrast + 0.35
  418. wait(0.05)
  419. end
  420. for i = 0, 9 do
  421. kolor.Brightness = kolor.Brightness - 0.35
  422. kolor.Contrast = kolor.Contrast - 0.35
  423. wait(0.05)
  424. end
  425. kolor:Destroy()
  426. local sloc = Instance.new("Part",workspace)
  427. local msh = Instance.new("SpecialMesh",sloc)
  428. msh.MeshType = "Sphere"
  429. sloc.Size = vt(1,1,1)
  430. sloc.Transparency = 1
  431. sloc.BrickColor = Character.Torso.BrickColor
  432. sloc.Position = hed.Position + vt(0,5,0)
  433. sloc.CanCollide = false
  434. sloc.Shape = "Ball"
  435. sloc.Anchored = true
  436. sloc.Material = "Neon"
  437. local s = Instance.new("Sound",workspace)
  438. s.SoundId = "rbxassetid://342793847"
  439. s.Pitch = 1
  440. s.Volume = 1
  441. s.Looped = false
  442. s:Play()
  443. local s2 = Instance.new("Sound",workspace)
  444. s2.SoundId = "rbxassetid://137463716"
  445. s2.Pitch = 0.25
  446. s2.Volume = 1
  447. s2.Looped = false
  448. s2:Play()
  449. local val = 0.65*5
  450. for i = 0 , 75 do
  451. sloc.Transparency = sloc.Transparency - 0.035
  452. msh.Scale = msh.Scale + vt(val,val,val)
  453. sloc.Position = sloc.Position + vt(0,val,0)
  454. val = val - 0.0075*5
  455. wait()
  456. end
  457. msh.Scale = msh.Scale - vt(1,1,1)
  458. sloc.Transparency = sloc.Transparency + 0.015
  459. local spart = Instance.new("Part",workspace)
  460. local msh2 = Instance.new("SpecialMesh",spart)
  461. msh2.MeshType = "Sphere"
  462. spart.Size = vt(2,2,2)
  463. spart.Shape = "Ball"
  464. spart.BrickColor = Character.Torso.BrickColor
  465. spart.Material = "Neon"
  466. spart.Transparency = 0
  467. spart.Anchored = false
  468. msh2.Scale = msh.Scale/2
  469. spart.Rotation = hed.Rotation
  470. spart.CanCollide = false
  471. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  472. local bv = Instance.new("BodyVelocity")
  473. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  474. bv.velocity = spart.CFrame.lookVector*75
  475. bv.Parent = spart
  476. local tick = Instance.new("Sound",workspace)
  477. tick.SoundId = "rbxassetid://203691467"
  478. tick.Volume = 2
  479. tick.Pitch = 0.75
  480. tick:Play()
  481. sloc:Destroy()
  482. wait(0.00001)
  483. pewdiepie=spart.Touched:connect(function(hit)
  484. ExplodeMass(100,spart)
  485. end)
  486. sloc:Destroy()
  487. end
  488. if ultcooldown < 1 then
  489. for i = 0, 29 do
  490. ultcooldown = ultcooldown + 1
  491. wait(1)
  492. end
  493. end
  494. end
  495.  
  496. euler = CFrame.fromEulerAnglesXYZ
  497. angles = CFrame.Angles
  498. mr = math.rad
  499. local Weapon = {}
  500. local p = game.Players.LocalPlayer
  501. local char = p.Character
  502. local mouse = p:GetMouse()
  503. local larm = char["Left Arm"]
  504. local rarm = char["Right Arm"]
  505. local lleg = char["Left Leg"]
  506. local rleg = char["Right Leg"]
  507. local hed = char.Head
  508. local torso = char.Torso
  509. local hum = char.Humanoid
  510. local cam = game.Workspace.CurrentCamera
  511. local root = char.HumanoidRootPart
  512. local deb = false
  513. local shot = 0
  514. local debris=game:service"Debris"
  515. local l = game:GetService("Lighting")
  516. local rs = game:GetService("RunService").RenderStepped
  517. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  518. math.randomseed(os.time())
  519. for i,v in pairs (hed:GetChildren()) do
  520. if v:IsA("Sound") then
  521. v:Destroy()
  522. end
  523. end
  524.  
  525. wait(0.016666666666667)
  526. script.Archivable = false
  527. Effects = {}
  528. local Player = game.Players.localPlayer
  529. local Character = Player.Character
  530. local Humanoid = Character.Humanoid
  531. local mouse = Player:GetMouse()
  532. local m = Instance.new("Model", Character)
  533. m.Name = "WeaponModel"
  534. local effect = Instance.new("Model", Character)
  535. effect.Name = "effecsfsafzx"
  536. local demon = Instance.new("Model", Character)
  537. demon.Name = "demdemd"
  538. local LeftArm = Character["Left Arm"]
  539. local RightArm = Character["Right Arm"]
  540. local LeftLeg = Character["Left Leg"]
  541. local RightLeg = Character["Right Leg"]
  542. local do2target = nil
  543. local Head = Character.Head
  544. local Torso = Character.Torso
  545. TorsoColor = Torso.BrickColor
  546. z = Instance.new("Sound", Torso)
  547. z.SoundId = "rbxassetid://0" -- Put Music ID Here.
  548. z.Looped = true
  549. z.Pitch = 0
  550. z.Volume = 0
  551. wait(.1)
  552. z:Play()
  553. local cam = game.Workspace.CurrentCamera
  554. local RootPart = Character.HumanoidRootPart
  555. local RootJoint = RootPart.RootJoint
  556. local equipped = false
  557. local attack = false
  558. local Anim = "Idle"
  559. local idle = 0
  560. local attacktype = 1
  561. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  562. local velocity = RootPart.Velocity.y
  563. local sine = 0
  564. local change = 1
  565. local mana = 0
  566. local it = Instance.new
  567. vt = Vector3.new
  568. local grabbed = false
  569. local cf = CFrame.new
  570. local mr = math.rad
  571. local angles = CFrame.Angles
  572. local ud = UDim2.new
  573. local c3 = Color3.new
  574. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  575. Humanoid.Animator:Destroy()
  576. Character.Animate:Destroy()
  577. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  578. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  579. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  580. RSH = nil
  581. RW = Instance.new("Weld")
  582. LW = Instance.new("Weld")
  583. RH = Torso["Right Hip"]
  584. LH = Torso["Left Hip"]
  585. RSH = Torso["Right Shoulder"]
  586. LSH = Torso["Left Shoulder"]
  587. RSH.Parent = nil
  588. LSH.Parent = nil
  589. RW.Name = "RW"
  590. RW.Part0 = Torso
  591. RW.C0 = cf(1.5, 0.5, 0)
  592. RW.C1 = cf(0, 0.5, 0)
  593. RW.Part1 = RightArm
  594. RW.Parent = Torso
  595. LW.Name = "LW"
  596. LW.Part0 = Torso
  597. LW.C0 = cf(-1.5, 0.5, 0)
  598. LW.C1 = cf(0, 0.5, 0)
  599. LW.Part1 = LeftArm
  600. LW.Parent = Torso
  601. clerp = function(a, b, t)
  602.  
  603. return a:lerp(b, t)
  604. end
  605.  
  606. local RbxUtility = LoadLibrary("RbxUtility")
  607. local Create = RbxUtility.Create
  608. RemoveOutlines = function(part)
  609.  
  610. part.TopSurface = 10
  611. end
  612.  
  613. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  614.  
  615. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  616. RemoveOutlines(Part)
  617. return Part
  618. end
  619.  
  620. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  621.  
  622. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  623. if Mesh == "SpecialMesh" then
  624. Msh.MeshType = MeshType
  625. Msh.MeshId = MeshId
  626. end
  627. return Msh
  628. end
  629.  
  630. local co1 = 3
  631. local co2 = 10
  632. local co3 = 15
  633. local co4 = 30
  634. local cooldown1 = 0
  635. local cooldown2 = 0
  636. local cooldown3 = 0
  637. local cooldown4 = 0
  638. local maxEnergy = 100
  639. local Energy = 0
  640. local skill1stam = 1000
  641. local skill2stam = 1000
  642. local skill3stam = 1000
  643. local skill4stam = 1000
  644. local recovermana = 5
  645. local skillcolorscheme = BrickColor.new("White").Color
  646. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  647. makeframe = function(par, trans, pos, size, color)
  648.  
  649. local frame = Instance.new("Frame", par)
  650. frame.BackgroundTransparency = trans
  651. frame.BorderSizePixel = 0
  652. frame.Position = pos
  653. frame.Size = size
  654. frame.BackgroundColor3 = color
  655. return frame
  656. end
  657.  
  658. makelabel = function(par, text)
  659.  
  660. local label = Instance.new("TextLabel", par)
  661. label.BackgroundTransparency = 1
  662. label.Size = UDim2.new(1, 0, 1, 0)
  663. label.Position = UDim2.new(0, 0, 0, 0)
  664. label.TextColor3 = Color3.new(255, 255, 255)
  665. label.TextStrokeTransparency = 0
  666. label.FontSize = Enum.FontSize.Size32
  667. label.Font = Enum.Font.SourceSansLight
  668. label.BorderSizePixel = 0
  669. label.TextScaled = true
  670. label.Text = text
  671. end
  672.  
  673. ArtificialHB = Instance.new("BindableEvent", script)
  674. ArtificialHB.Name = "Heartbeat"
  675. script:WaitForChild("Heartbeat")
  676. frame = 0.033333333333333
  677. tf = 0
  678. allowframeloss = false
  679. tossremainder = false
  680. lastframe = tick()
  681. script.Heartbeat:Fire()
  682. game:GetService("RunService").Heartbeat:connect(function(s, p)
  683.  
  684. tf = tf + s
  685. if frame <= tf then
  686. if allowframeloss then
  687. script.Heartbeat:Fire()
  688. lastframe = tick()
  689. else
  690. for i = 1, math.floor(tf / frame) do
  691. script.Heartbeat:Fire()
  692. end
  693. lastframe = tick()
  694. end
  695. if tossremainder then
  696. tf = 0
  697. else
  698. tf = tf - frame * math.floor(tf / frame)
  699. end
  700. end
  701. end
  702. )
  703. swait = function(num)
  704.  
  705. if num == 0 or num == nil then
  706. ArtificialHB.Event:wait()
  707. else
  708. for i = 0, num do
  709. ArtificialHB.Event:wait()
  710. end
  711. end
  712. end
  713.  
  714. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  715.  
  716. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  717. return Weld
  718. end
  719.  
  720. rayCast = function(Position, Direction, Range, Ignore)
  721.  
  722. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  723. end
  724.  
  725. CreateSound = function(id, par, vol, pit)
  726.  
  727. coroutine.resume(coroutine.create(function()
  728.  
  729. local sou = Instance.new("Sound", par or workspace)
  730. sou.Volume = vol
  731. sou.Pitch = pit or 1
  732. sou.SoundId = id
  733. swait()
  734. sou:play()
  735. game:GetService("Debris"):AddItem(sou, 6)
  736. end
  737. ))
  738. end
  739.  
  740. local getclosest = function(obj, distance)
  741.  
  742. local last, lastx = distance + 1, nil
  743. for i,v in pairs(workspace:GetChildren()) do
  744. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  745. local t = v.Torso
  746. local dist = t.Position - obj.Position.magnitude
  747. if dist <= distance and dist < last then
  748. last = dist
  749. lastx = v
  750. end
  751. end
  752. end
  753. return lastx
  754. end
  755.  
  756. CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size)
  757.  
  758. if PartType == "Part" then
  759. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  760. RemoveOutlines(Part)
  761. return Part
  762. else
  763. do
  764. if PartType == "WedgePart" then
  765. local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  766. RemoveOutlines(Part)
  767. return Part
  768. end
  769. end
  770. end
  771. end
  772.  
  773. for _,c in pairs(m:children()) do
  774. if c.className == "Weld" then
  775. table.insert(CBladeWelds, R67_PC6072)
  776. print(R66_PC6093)
  777. end
  778. end
  779. -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg'
  780.  
  781. -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg'
  782.  
  783. --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5))
  784. -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg'
  785.  
  786. -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg'
  787.  
  788. HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  789. CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
  790. FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013))
  791. FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  792. Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
  793. PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  794. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
  795. Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
  796. PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  797. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
  798. TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3))
  799. TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0))
  800. CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  801. local DBlade = {}
  802. local DBladeWelds = {}
  803. for _,c in pairs(demon:children()) do
  804. if c.className == "Part" then
  805. table.insert(DBlade, c)
  806. end
  807. end
  808. for _,c in pairs(demon:children()) do
  809. if c.className == "Weld" then
  810. table.insert(DBladeWelds, c)
  811. print(c)
  812. end
  813. end
  814. demon.Parent = nil
  815.  
  816. Debounces = {
  817. CanAttack = true;
  818. NoIdl = false;
  819. Slashing = false;
  820. Slashed = false;
  821. RPunch = false;
  822. RPunched = false;
  823. LPunch = false;
  824. LPunched = false;
  825. }
  826. local Touche = {char.Name, }
  827. ----------------------------------------------------
  828. function lerp(a, b, t) -- Linear interpolation
  829. return a + (b - a)*t
  830. end
  831.  
  832. function slerp(a, b, t) --Spherical interpolation
  833. dot = a:Dot(b)
  834. if dot > 0.99999 or dot < -0.99999 then
  835. return t <= 0.5 and a or b
  836. else
  837. r = math.acos(dot)
  838. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  839. end
  840. end
  841.  
  842. function matrixInterpolate(a, b, t)
  843. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  844. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  845. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  846. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  847. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  848. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  849. local t = v1:Dot(v2)
  850. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  851. return CFrame.new()
  852. end
  853. return CFrame.new(
  854. v0.x, v0.y, v0.z,
  855. v1.x, v1.y, v1.z,
  856. v2.x, v2.y, v2.z,
  857. v3.x, v3.y, v3.z)
  858. end
  859. ----------------------------------------------------
  860. function genWeld(a,b)
  861. local w = Instance.new("Weld",a)
  862. w.Part0 = a
  863. w.Part1 = b
  864. return w
  865. end
  866. function weld(a, b)
  867. local weld = Instance.new("Weld")
  868. weld.Name = "W"
  869. weld.Part0 = a
  870. weld.Part1 = b
  871. weld.C0 = a.CFrame:inverse() * b.CFrame
  872. weld.Parent = a
  873. return weld;
  874. end
  875. ----------------------------------------------------
  876. function Lerp(c1,c2,al)
  877. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  878. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  879. for i,v in pairs(com1) do
  880. com1[i] = v+(com2[i]-v)*al
  881. end
  882. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  883. end
  884. ----------------------------------------------------
  885. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  886. local wld = Instance.new("Weld", wp1)
  887. wld.Part0 = wp0
  888. wld.Part1 = wp1
  889. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  890. end
  891. ----------------------------------------------------
  892. function Tween(a,b,c)
  893. return a+(b-a)*c
  894. end
  895. ----------------------------------------------------
  896. function FindNearestTorso(Position,Distance,SinglePlayer)
  897. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  898. local List = {}
  899. for i,v in pairs(workspace:GetChildren())do
  900. if v:IsA("Model")then
  901. if v:findFirstChild("Torso")then
  902. if v ~= char then
  903. if(v.Torso.Position -Position).magnitude <= Distance then
  904. table.insert(List,v)
  905. end
  906. end
  907. end
  908. end
  909. end
  910. return List
  911. end
  912.  
  913. mod3 = Instance.new("Model",rleg)
  914.  
  915. function Stomp()
  916. part=Instance.new('Part',mod3)
  917. part.Anchored=true
  918. part.CanCollide=false
  919. part.FormFactor='Custom'
  920. part.Size=Vector3.new(.2,.2,.2)
  921. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  922. part.Transparency=.7
  923. part.BrickColor=BrickColor.new('Bright green')
  924. mesh=Instance.new('SpecialMesh',part)
  925. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  926. mesh.Scale=Vector3.new(25,25,25)
  927. part2=part:clone()
  928. part2.Parent=mod3
  929. part2.BrickColor=BrickColor.new('Bright green')
  930. mesh2=mesh:clone()
  931. mesh2.Parent=part2
  932. mesh2.Scale=Vector3.new(15,15,15)
  933. part3=part:clone()
  934. part3.Parent=mod3
  935. part3.TopSurface=0
  936. part3.BottomSurface=0
  937. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  938. mesh3=Instance.new('SpecialMesh',part3)
  939. mesh3.MeshType = 3
  940. mesh3.Scale=Vector3.new(12,12,12)
  941. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  942. if v:FindFirstChild('Humanoid') then
  943. v.Humanoid:TakeDamage(math.random(20,60))
  944. v.Humanoid.PlatformStand = true
  945. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  946. end
  947. end
  948. coroutine.resume(coroutine.create(function()
  949. for i=0,3.8,0.05 do
  950. wait()
  951. part.CFrame=part.CFrame
  952. part.Transparency=i
  953. mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
  954. part2.CFrame=part2.CFrame
  955. part2.Transparency=i
  956. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  957. part3.CFrame=part3.CFrame
  958. part3.Transparency=i
  959. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  960. end
  961. end))
  962. end
  963. ----------------------------------------------------
  964. function nwPrt(prnt,siz,cf,col)
  965. local prt=Instance.new("Part")
  966. prt.Parent=prnt
  967. prt.FormFactor=3
  968. prt.Name="Part"
  969. prt.Size=siz
  970. prt.CanCollide=false
  971. prt.Anchored=true
  972. prt.Locked=true
  973. prt.TopSurface=10
  974. prt.BottomSurface=10
  975. prt.FrontSurface=10
  976. prt.BackSurface=10
  977. prt.LeftSurface=10
  978. prt.RightSurface=10
  979. prt:BreakJoints()
  980. prt.CFrame=cf or CFrame.new(30,10,30)
  981. prt.Material="Neon"
  982. prt.BrickColor=TorsoColor
  983. m=Instance.new("SpecialMesh",prt)
  984. m.MeshType=6
  985. return prt
  986. end
  987. ----------------------------------------------------
  988. function nwSnd(prnt,pch,vol,id)
  989. local s=Instance.new("Sound",prnt)
  990. s.Pitch=pch
  991. s.Volume=vol
  992. s.SoundId="rbxassetid://"..id
  993. s.PlayOnRemove=true
  994. return s
  995. end
  996. ----------------------------------------------------
  997. function newRay(start,face,range,wat)
  998. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  999. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1000. return rey,hit,pos
  1001. end
  1002. ----------------------------------------------------
  1003. function Lerp(c1,c2,al)
  1004. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1005. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1006. for i,v in pairs(com1) do
  1007. com1[i] = v+(com2[i]-v)*al
  1008. end
  1009. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1010. end
  1011. ----------------------------------------------------
  1012. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1013. local wld = Instance.new("Weld", wp1)
  1014. wld.Part0 = wp0
  1015. wld.Part1 = wp1
  1016. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1017. end
  1018. ----------------------------------------------------
  1019. function weld5(part0, part1, c0, c1)
  1020. weeld=Instance.new("Weld", part0)
  1021. weeld.Part0=part0
  1022. weeld.Part1=part1
  1023. weeld.C0=c0
  1024. weeld.C1=c1
  1025. return weeld
  1026. end
  1027. ----------------------------------------------------
  1028. function HasntTouched(plrname)
  1029. local ret = true
  1030. for _, v in pairs(Touche) do
  1031. if v == plrname then
  1032. ret = false
  1033. end
  1034. end
  1035. return ret
  1036. end
  1037. ----------------------------------------------------
  1038. newWeld(torso, larm, -1.5, 0.5, 0)
  1039. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1040. newWeld(torso, rarm, 1.5, 0.5, 0)
  1041. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1042. newWeld(torso, hed, 0, 1.5, 0)
  1043. newWeld(torso, lleg, -0.5, -1, 0)
  1044. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1045. newWeld(torso, rleg, 0.5, -1, 0)
  1046. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1047. newWeld(root, torso, 0, -1, 0)
  1048. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1049. ----------------------------------------------------
  1050. z = Instance.new("Sound", char)
  1051. z.SoundId = "rbxassetid://887320115"--887320115
  1052. z.Looped = true
  1053. z.Pitch = 1
  1054. z.Volume = 4
  1055. wait(.1)
  1056. z:Play()
  1057. ----------------------------------------------------
  1058. local Transforming = true
  1059. hum.WalkSpeed = 0
  1060. local fx = Instance.new("Part",torso)
  1061. wit = torso.BrickColor.Color
  1062. wit2 = Color3.new(0,0,0)
  1063. local glowz = Instance.new("ParticleEmitter",fx)
  1064. glowz.LightEmission = 1
  1065. glowz.Texture = "rbxassetid://284205403"
  1066. glowz.Color = ColorSequence.new(wit)
  1067. glowz.Size = NumberSequence.new(5)
  1068. glowz.Speed = NumberRange.new(25,50)
  1069. glowz.LockedToPart = false
  1070. glowz.Transparency = NumberSequence.new(0.75)
  1071. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1072. glowz.Lifetime = NumberRange.new(1)
  1073. glowz.Rate = 50000
  1074. glowz.VelocitySpread = 9001
  1075. local glowz2 = Instance.new("ParticleEmitter",fx)
  1076. glowz2.LightEmission = 0.5
  1077. glowz.Texture = "rbxassetid://284205403"
  1078. glowz2.Color = ColorSequence.new(wit2)
  1079. glowz2.Size = NumberSequence.new(5)
  1080. glowz2.Speed = NumberRange.new(25,50)
  1081. glowz2.LockedToPart = false
  1082. glowz2.Transparency = NumberSequence.new(0.75)
  1083. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1084. glowz2.Lifetime = NumberRange.new(1)
  1085. glowz2.Rate = 50000
  1086. glowz2.VelocitySpread = 9001
  1087. fx.Anchored = true
  1088. fx.Material = "Neon"
  1089. fx.CanCollide = false
  1090. fx.Locked = true
  1091. fx.Transparency = 1
  1092. fx.Material = "Neon"
  1093. fx.Size = Vector3.new(1,1,1)
  1094. fx.TopSurface = "SmoothNoOutlines"
  1095. fx.BottomSurface = "SmoothNoOutlines"
  1096. fx.BrickColor = BrickColor.new("Really black")
  1097. fxm = Instance.new("SpecialMesh",fx)
  1098. fxm.MeshType = "Sphere"
  1099. local sa2 = Instance.new("Sound",torso)
  1100. sa2.SoundId = "rbxassetid://93724183"
  1101. sa2.Pitch = 0.5
  1102. sa2.Volume = 5
  1103. sa2.Looped = false
  1104. sa2:Play()
  1105. local value = 1
  1106. fxm.Scale = Vector3.new(1,1,1)
  1107. for i = 1, 20 do rs:wait()
  1108. value = value - 0.05
  1109. fx.Transparency = fx.Transparency - (1/20)
  1110. fx.CFrame = torso.CFrame
  1111. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  1112. rs:wait()
  1113. end
  1114. ----------------------------------------------------
  1115. GroundWave1 = function()
  1116. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1117. local Colors = {"White", "Really black"}
  1118. local wave = Instance.new("Part", torso)
  1119. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1120. wave.Anchored = true
  1121. wave.CanCollide = false
  1122. wave.Locked = true
  1123. wave.Size = Vector3.new(1, 1, 1)
  1124. wave.TopSurface = "Smooth"
  1125. wave.BottomSurface = "Smooth"
  1126. wave.Transparency = 0.35
  1127. wave.CFrame = HandCF
  1128. wm = Instance.new("SpecialMesh", wave)
  1129. wm.MeshId = "rbxassetid://3270017"
  1130. coroutine.wrap(function()
  1131. for i = 1, 30, 1 do
  1132. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  1133. wave.Size = wm.Scale
  1134. wave.CFrame = HandCF
  1135. wave.Transparency = i/30
  1136. wait()
  1137. end
  1138. wait()
  1139. wave:Destroy()
  1140. end)()
  1141. end
  1142. ----------------------------------------------------
  1143. GroundWave = function()
  1144. if Transforming == true then
  1145. local value = 5
  1146. local value2 = 10
  1147. local value3 = 20
  1148. local sa2 = Instance.new("Sound",torso)
  1149. sa2.SoundId = "rbxassetid://413682983"
  1150. sa2.Pitch = 1
  1151. sa2.Volume = 10
  1152. sa2.Looped = false
  1153. sa2:Play()
  1154. local wave = Instance.new("Part", torso)
  1155. local glowz = Instance.new("ParticleEmitter",wave)
  1156. glowz.LightEmission = 1
  1157. glowz.Texture = "rbxassetid://284205403"
  1158. glowz.Color = ColorSequence.new(wit)
  1159. glowz.Size = NumberSequence.new(30)
  1160. glowz.Speed = NumberRange.new(25,100)
  1161. glowz.LockedToPart = false
  1162. glowz.Transparency = NumberSequence.new(0.75)
  1163. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1164. glowz.Lifetime = NumberRange.new(1)
  1165. glowz.Rate = 50000
  1166. glowz.VelocitySpread = 9001
  1167. local glowz2 = Instance.new("ParticleEmitter",wave)
  1168. glowz2.LightEmission = 1
  1169. glowz.Texture = "rbxassetid://284205403"
  1170. glowz2.Color = ColorSequence.new(wit)
  1171. glowz2.Size = NumberSequence.new(30)
  1172. glowz2.Speed = NumberRange.new(25,100)
  1173. glowz2.LockedToPart = false
  1174. glowz2.Transparency = NumberSequence.new(0.75)
  1175. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1176. glowz2.Lifetime = NumberRange.new(1)
  1177. glowz2.Rate = 50000
  1178. glowz2.VelocitySpread = 9001
  1179. wave.BrickColor = TorsoColor
  1180. wave.Anchored = true
  1181. wave.CanCollide = false
  1182. wave.Locked = true
  1183. wave.Size = Vector3.new(1, 1, 1)
  1184. wave.TopSurface = "Smooth"
  1185. wave.BottomSurface = "Smooth"
  1186. wave.Transparency = 0.35
  1187. wave.CFrame = fx.CFrame
  1188. wave.Material = "Neon"
  1189. wm = Instance.new("SpecialMesh", wave)
  1190. wm.MeshType = "Sphere"
  1191. wm.Scale = Vector3.new(1,1,1)
  1192. local wave2 = Instance.new("Part", torso)
  1193. wave2.BrickColor = TorsoColor
  1194. wave2.Anchored = true
  1195. wave2.CanCollide = false
  1196. wave2.Locked = true
  1197. wave2.Size = Vector3.new(1, 1, 1)
  1198. wave2.TopSurface = "Smooth"
  1199. wave2.BottomSurface = "Smooth"
  1200. wave2.Transparency = 0.35
  1201. wave2.CFrame = fx.CFrame
  1202. wave2.Material = "Neon"
  1203. wm2 = Instance.new("SpecialMesh", wave2)
  1204. wm2.MeshType = "FileMesh"
  1205. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1206. wm2.Scale = Vector3.new(1,1,1)
  1207. local wave3 = Instance.new("Part", torso)
  1208. wave3.BrickColor = BrickColor.new("Really black")
  1209. wave3.Anchored = true
  1210. wave3.CanCollide = false
  1211. wave3.Locked = true
  1212. wave3.Size = Vector3.new(1, 1, 1)
  1213. wave3.TopSurface = "Smooth"
  1214. wave3.BottomSurface = "Smooth"
  1215. wave3.Transparency = 0.35
  1216. wave3.CFrame = fx.CFrame
  1217. wave3.Material = "Neon"
  1218. wm3 = Instance.new("SpecialMesh", wave3)
  1219. wm3.MeshType = "FileMesh"
  1220. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1221. wm3.Scale = Vector3.new(1,1,1)
  1222. coroutine.wrap(function()
  1223. for i = 1, 18, 1 do
  1224. value = value - 0.5
  1225. value2 = value2 - 0.75*1.5
  1226. value3 = value3 - 0.475*1.5
  1227. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  1228. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  1229. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  1230. --wave.Size = wm.Scale
  1231. wave.CFrame = fx.CFrame
  1232. wave.Transparency = i/14
  1233. --wave2.Size = wm2.Scale
  1234. wave2.CFrame = fx.CFrame
  1235. wave2.Rotation = Vector3.new(90, 0, 0)
  1236. wave2.Transparency = i/14
  1237. --wave3.Size = wm3.Scale
  1238. wave3.CFrame = fx.CFrame
  1239. wave3.Rotation = Vector3.new(90, 0, 0)
  1240. wave3.Transparency = i/14
  1241. wait()
  1242. glowz.Rate = 0
  1243. glowz2.Rate = 0
  1244. end
  1245. wait()
  1246. wave:Destroy()
  1247. wave2:Destroy()
  1248. wave3:Destroy()
  1249. end)()
  1250. elseif Transforming == false then
  1251. wait()
  1252. end
  1253. end
  1254.  
  1255. for i = 1, 100 do rs:wait()
  1256. fx.CFrame = torso.CFrame
  1257. end
  1258.  
  1259. Spawn(function()
  1260. while wait(1) do
  1261. GroundWave()
  1262. end
  1263. end)
  1264.  
  1265. wait(4)
  1266.  
  1267. Transforming = false
  1268.  
  1269. local value2 = 1
  1270. for i = 1, 20 do rs:wait()
  1271. value2 = value2 - 0.05
  1272. glowz.Rate = 0
  1273. glowz2.Rate = 0
  1274. fx.Transparency = fx.Transparency + (1/20)
  1275. fx.CFrame = torso.CFrame
  1276. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  1277. rs:wait()
  1278. end
  1279. glowz:Destroy()
  1280. glowz2:Destroy()
  1281.  
  1282. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1283. local valuer = 5
  1284. local valuer2 = 10
  1285. local valuer3 = 15
  1286. local sa2 = Instance.new("Sound",torso)
  1287. sa2.SoundId = "rbxassetid://130972023"
  1288. sa2.Pitch = 1
  1289. sa2.Volume = 5
  1290. sa2.Looped = false
  1291. sa2:Play()
  1292. local sar2 = Instance.new("Sound",torso)
  1293. sar2.SoundId = "rbxassetid://153274423"
  1294. sar2.Pitch = 1
  1295. sar2.Volume = 5
  1296. sar2.Looped = false
  1297. sar2:Play()
  1298. local wave = Instance.new("Part", torso)
  1299. wave.BrickColor = TorsoColor
  1300. wave.Anchored = true
  1301. wave.CanCollide = false
  1302. wave.Locked = true
  1303. wave.Size = Vector3.new(1, 1, 1)
  1304. wave.TopSurface = "Smooth"
  1305. wave.BottomSurface = "Smooth"
  1306. wave.Transparency = 0.35
  1307. wave.CFrame = HandCF
  1308. wm = Instance.new("SpecialMesh", wave)
  1309. wm.MeshId = "rbxassetid://3270017"
  1310. local wave2 = Instance.new("Part", torso)
  1311. wave2.BrickColor = BrickColor.new("Really black")
  1312. wave2.Anchored = true
  1313. wave2.CanCollide = false
  1314. wave2.Locked = true
  1315. wave2.Size = Vector3.new(1, 1, 1)
  1316. wave2.TopSurface = "Smooth"
  1317. wave2.BottomSurface = "Smooth"
  1318. wave2.Transparency = 0.35
  1319. wave2.CFrame = HandCF
  1320. wm2 = Instance.new("SpecialMesh", wave2)
  1321. wm2.MeshId = "rbxassetid://3270017"
  1322. local wave3 = Instance.new("Part", torso)
  1323. wave3.BrickColor = TorsoColor
  1324. wave3.Anchored = true
  1325. wave3.CanCollide = false
  1326. wave3.Locked = true
  1327. wave3.Size = Vector3.new(1, 1, 1)
  1328. wave3.TopSurface = "Smooth"
  1329. wave3.BottomSurface = "Smooth"
  1330. wave3.Transparency = 0.35
  1331. wave3.CFrame = HandCF
  1332. wm3 = Instance.new("SpecialMesh", wave3)
  1333. wm3.MeshId = "rbxassetid://3270017"
  1334. coroutine.wrap(function()
  1335. for i = 1, 14, 1 do
  1336. valuer = valuer - 0.35
  1337. valuer2 = valuer - 0.45
  1338. valuer3 = valuer3 - 0.475
  1339. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  1340. wave.Size = wm.Scale
  1341. wave.CFrame = HandCF
  1342. wave.Transparency = i/14
  1343. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  1344. wave2.Size = wm2.Scale
  1345. wave2.CFrame = HandCF
  1346. wave2.Transparency = i/14
  1347. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  1348. wave3.Size = wm2.Scale
  1349. wave3.CFrame = HandCF
  1350. wave3.Transparency = i/14
  1351. wait()
  1352. end
  1353. wait()
  1354. wave:Destroy()
  1355. wave2:Destroy()
  1356. end)()
  1357. hum.WalkSpeed = 16
  1358. ----------------------------------------------------
  1359. local cor = Instance.new("Part", char)
  1360. cor.Name = "Thingy"
  1361. cor.Locked = true
  1362. cor.BottomSurface = 0
  1363. cor.CanCollide = false
  1364. cor.Size = Vector3.new(1, 13, 1)
  1365. cor.Transparency = 1
  1366. cor.TopSurface = 0
  1367. corw = Instance.new("Weld", cor)
  1368. corw.Part0 = rarm
  1369. corw.Part1 = cor
  1370. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1371. corw.C1 = CFrame.new(0, 0, 0)
  1372. weld1 = Instance.new("Weld", char)
  1373. weld1.Part0 = cor
  1374. weld1.Part1 = p6
  1375. weld1.C0 = CFrame.new(0, 0, 0)
  1376. ----------------------------------------------------
  1377. Blast = function()
  1378. local Colors = {"Really black", "Really black"}
  1379. local wave = Instance.new("Part", torso)
  1380. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1381. wave.Anchored = true
  1382. wave.CanCollide = false
  1383. wave.Locked = true
  1384. wave.Size = Vector3.new(1, 1, 1)
  1385. wave.TopSurface = "Smooth"
  1386. wave.BottomSurface = "Smooth"
  1387. wave.Transparency = 0.35
  1388. wave.CFrame = rarm.CFrame
  1389. wm = Instance.new("SpecialMesh", wave)
  1390. wm.MeshType = "Sphere"
  1391. wm.Scale = Vector3.new(1,1,1)
  1392. z = Instance.new("Sound",wave)
  1393. z.SoundId = "rbxassetid://237035051"
  1394. z.Volume = 1
  1395. z.Pitch = .9
  1396. z:Play()
  1397. coroutine.wrap(function()
  1398. for i = 1, 30, 1 do
  1399. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1400. --wave.Size = wm.Scale
  1401. wave.CFrame = rarm.CFrame
  1402. wave.Transparency = (1/14)
  1403. rs:wait()
  1404. end
  1405. rs:wait()
  1406. wave:Destroy()
  1407. z:Destroy()
  1408. end)()
  1409. end
  1410. ----------------------------------------------------
  1411. rarm.Touched:connect(function(ht)
  1412. hit = ht.Parent
  1413. if ht and hit:IsA("Model") then
  1414. if hit:FindFirstChild("Humanoid") then
  1415. if hit.Name ~= p.Name then
  1416. if Debounces.RPunch == true and Debounces.RPunched == false then
  1417. Debounces.RPunched = true
  1418. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1419. if Debounces.ks==true then
  1420. z = Instance.new("Sound",hed)
  1421. z.SoundId = "rbxassetid://169380525"
  1422. z.Pitch = ptz[math.random(1,#ptz)]
  1423. z.Volume = 1
  1424. z:Play()
  1425. end
  1426. wait(.2)
  1427. Debounces.RPunched = false
  1428. end
  1429. end
  1430. end
  1431. elseif ht and hit:IsA("Hat") then
  1432. if hit.Parent.Name ~= p.Name then
  1433. if hit.Parent:FindFirstChild("Humanoid") then
  1434. if Debounces.RPunch == true and Debounces.RPunched == false then
  1435. Debounces.RPunched = true
  1436. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1437. if Debounces.ks==true then
  1438. z = Instance.new("Sound",hed)
  1439. z.SoundId = "rbxassetid://169380525"
  1440. z.Pitch = ptz[math.random(1,#ptz)]
  1441. z.Volume = 1
  1442. z:Play()
  1443. end
  1444. wait(.2)
  1445. Debounces.RPunched = false
  1446. end
  1447. end
  1448. end
  1449. end
  1450. end)
  1451. larm.Touched:connect(function(ht)
  1452. hit = ht.Parent
  1453. if ht and hit:IsA("Model") then
  1454. if hit:FindFirstChild("Humanoid") then
  1455. if hit.Name ~= p.Name then
  1456. if Debounces.LPunch == true and Debounces.LPunched == false then
  1457. Debounces.LPunched = true
  1458. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1459. if Debounces.ks2==true then
  1460. z = Instance.new("Sound",hed)
  1461. z.SoundId = "rbxassetid://169380525"
  1462. z.Pitch = ptz[math.random(1,#ptz)]
  1463. z.Volume = 1
  1464. z:Play()
  1465. end
  1466. wait(.2)
  1467. Debounces.LPunched = false
  1468. end
  1469. end
  1470. end
  1471. elseif ht and hit:IsA("Hat") then
  1472. if hit.Parent.Name ~= p.Name then
  1473. if hit.Parent:FindFirstChild("Humanoid") then
  1474. if Debounces.LPunch == true and Debounces.LPunched == false then
  1475. Debounces.LPunched = true
  1476. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1477. if Debounces.ks2==true then
  1478. z = Instance.new("Sound",hed)
  1479. z.SoundId = "rbxassetid://169380525"
  1480. z.Pitch = ptz[math.random(1,#ptz)]
  1481. z.Volume = 1
  1482. z:Play()
  1483. end
  1484. wait(.2)
  1485. Debounces.LPunched = false
  1486. end
  1487. end
  1488. end
  1489. end
  1490. end)
  1491. ----------------------------------------------------
  1492. mod4 = Instance.new("Model",char)
  1493.  
  1494. ptez = {0.7, 0.8, 0.9, 1}
  1495.  
  1496. function FindNearestTorso(Position,Distance,SinglePlayer)
  1497. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1498. local List = {}
  1499. for i,v in pairs(workspace:GetChildren())do
  1500. if v:IsA("Model")then
  1501. if v:findFirstChild("Torso")then
  1502. if v ~= char then
  1503. if(v.Torso.Position -Position).magnitude <= Distance then
  1504. table.insert(List,v)
  1505. end
  1506. end
  1507. end
  1508. end
  1509. end
  1510. return List
  1511. end
  1512.  
  1513. function Punch()
  1514. part=Instance.new('Part',mod4)
  1515. part.Anchored=true
  1516. part.CanCollide=false
  1517. part.FormFactor='Custom'
  1518. part.Size=Vector3.new(.2,.2,.2)
  1519. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1520. part.Transparency=.7
  1521. part.BrickColor=BrickColor.new('Really black')
  1522. mesh=Instance.new('SpecialMesh',part)
  1523. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1524. mesh.Scale=Vector3.new(3,3,3)
  1525. part2=Instance.new('Part',mod4)
  1526. part2.Anchored=true
  1527. part2.CanCollide=false
  1528. part2.FormFactor='Custom'
  1529. part2.Size=Vector3.new(.2,.2,.2)
  1530. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1531. part2.Transparency=.7
  1532. part2.BrickColor=BrickColor.new('Really black')
  1533. mesh2=Instance.new('SpecialMesh',part2)
  1534. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1535. mesh2.Scale=Vector3.new(3,1.5,3)
  1536. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1537. if v:FindFirstChild('Humanoid') then
  1538. v.Humanoid:TakeDamage(math.random(2,6))
  1539. end
  1540. end
  1541. coroutine.resume(coroutine.create(function()
  1542. for i=0,0.62,0.4 do
  1543. wait()
  1544. part.CFrame=part.CFrame
  1545. part.Transparency=i
  1546. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1547. part2.CFrame=part2.CFrame
  1548. part2.Transparency=i
  1549. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1550. end
  1551. part.Parent=nil
  1552. part2.Parent=nil
  1553. end))
  1554. end
  1555. ----------------------------------------------------
  1556. rarm.Touched:connect(function(ht)
  1557. hit = ht.Parent
  1558. if ht and hit:IsA("Model") then
  1559. if hit:FindFirstChild("Humanoid") then
  1560. if hit.Name ~= p.Name then
  1561. if Debounces.RPunch == true and Debounces.RPunched == false then
  1562. Debounces.RPunched = true
  1563. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1564. if Debounces.ks==true then
  1565. z = Instance.new("Sound",hed)
  1566. z.SoundId = "rbxassetid://169380525"
  1567. z.Pitch = ptz[math.random(1,#ptz)]
  1568. z.Volume = 1
  1569. z:Play()
  1570. end
  1571. wait(.2)
  1572. Debounces.RPunched = false
  1573. end
  1574. end
  1575. end
  1576. elseif ht and hit:IsA("Hat") then
  1577. if hit.Parent.Name ~= p.Name then
  1578. if hit.Parent:FindFirstChild("Humanoid") then
  1579. if Debounces.RPunch == true and Debounces.RPunched == false then
  1580. Debounces.RPunched = true
  1581. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1582. if Debounces.ks==true then
  1583. z = Instance.new("Sound",hed)
  1584. z.SoundId = "rbxassetid://169380525"
  1585. z.Pitch = ptz[math.random(1,#ptz)]
  1586. z.Volume = 1
  1587. z:Play()
  1588. end
  1589. wait(.2)
  1590. Debounces.RPunched = false
  1591. end
  1592. end
  1593. end
  1594. end
  1595. end)
  1596. larm.Touched:connect(function(ht)
  1597. hit = ht.Parent
  1598. if ht and hit:IsA("Model") then
  1599. if hit:FindFirstChild("Humanoid") then
  1600. if hit.Name ~= p.Name then
  1601. if Debounces.LPunch == true and Debounces.LPunched == false then
  1602. Debounces.LPunched = true
  1603. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1604. if Debounces.ks2==true then
  1605. z = Instance.new("Sound",hed)
  1606. z.SoundId = "rbxassetid://169380525"
  1607. z.Pitch = ptz[math.random(1,#ptz)]
  1608. z.Volume = 1
  1609. z:Play()
  1610. end
  1611. wait(.2)
  1612. Debounces.LPunched = false
  1613. end
  1614. end
  1615. end
  1616. elseif ht and hit:IsA("Hat") then
  1617. if hit.Parent.Name ~= p.Name then
  1618. if hit.Parent:FindFirstChild("Humanoid") then
  1619. if Debounces.LPunch == true and Debounces.LPunched == false then
  1620. Debounces.LPunched = true
  1621. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1622. if Debounces.ks2==true then
  1623. z = Instance.new("Sound",hed)
  1624. z.SoundId = "rbxassetid://169380525"
  1625. z.Pitch = ptz[math.random(1,#ptz)]
  1626. z.Volume = 1
  1627. z:Play()
  1628. end
  1629. wait(.2)
  1630. Debounces.LPunched = false
  1631. end
  1632. end
  1633. end
  1634. end
  1635. end)
  1636. ----------------------------------------------------
  1637. local player = game.Players.LocalPlayer
  1638. local pchar = player.Character
  1639. local mouse = player:GetMouse()
  1640. local cam = workspace.CurrentCamera
  1641.  
  1642. local rad = math.rad
  1643.  
  1644. local keysDown = {}
  1645. local flySpeed = 0
  1646. local MAX_FLY_SPEED = 3000
  1647.  
  1648. local canFly = false
  1649. local flyToggled = false
  1650.  
  1651. local forward, side = 0, 0
  1652. local lastForward, lastSide = 0, 0
  1653.  
  1654. local floatBP = Instance.new("BodyPosition")
  1655. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1656. local flyBV = Instance.new("BodyVelocity")
  1657. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1658. local turnBG = Instance.new("BodyGyro")
  1659. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1660.  
  1661. mouse.KeyDown:connect(function(key)
  1662. keysDown[key] = true
  1663.  
  1664. if key == "f" then
  1665. flyToggled = not flyToggled
  1666.  
  1667. if not flyToggled then
  1668. stanceToggle = "Normal"
  1669. floatBP.Parent = nil
  1670. flyBV.Parent = nil
  1671. turnBG.Parent = nil
  1672. root.Velocity = Vector3.new()
  1673. pchar.Humanoid.PlatformStand = false
  1674. end
  1675. end
  1676.  
  1677. end)
  1678. mouse.KeyUp:connect(function(key)
  1679. keysDown[key] = nil
  1680. end)
  1681.  
  1682. local function updateFly()
  1683.  
  1684. if not flyToggled then return end
  1685.  
  1686. lastForward = forward
  1687. lastSide = side
  1688.  
  1689. forward = 0
  1690. side = 0
  1691.  
  1692. if keysDown.w then
  1693. forward = forward + 1
  1694. end
  1695. if keysDown.s then
  1696. forward = forward - 1
  1697. end
  1698. if keysDown.a then
  1699. side = side - 1
  1700. end
  1701. if keysDown.d then
  1702. side = side + 1
  1703. end
  1704.  
  1705. canFly = (forward ~= 0 or side ~= 0)
  1706.  
  1707. if canFly then
  1708. stanceToggle = "Floating"
  1709. turnBG.Parent = root
  1710. floatBP.Parent = nil
  1711. flyBV.Parent = root
  1712.  
  1713. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1714. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1715. else
  1716. floatBP.position = root.Position
  1717. floatBP.Parent = root
  1718.  
  1719. flySpeed = flySpeed - 1
  1720. if flySpeed < 0 then flySpeed = 0 end
  1721. end
  1722.  
  1723. local camCF = cam.CoordinateFrame
  1724. local in_forward = canFly and forward or lastForward
  1725. local in_side = canFly and side or lastSide
  1726.  
  1727. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1728. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1729.  
  1730. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1731. 0)
  1732. end
  1733.  
  1734. game:service'RunService'.RenderStepped:connect(function()
  1735. if flyToggled then
  1736. pchar.Humanoid.PlatformStand = true
  1737. end
  1738. updateFly()
  1739. end)
  1740. -------------------------------
  1741. mouse.KeyDown:connect(function(key)
  1742. if key == "q" then
  1743. if Debounces.CanAttack == true then
  1744. Debounces.CanAttack = false
  1745. Debounces.NoIdl = true
  1746. Debounces.on = true
  1747. function FindNearestTorso(Position,Distance,SinglePlayer)
  1748. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1749. local List = {}
  1750. for i,v in pairs(workspace:GetChildren())do
  1751. if v:IsA("Model")then
  1752. if v:findFirstChild("Torso")then
  1753. if v ~= char then
  1754. if(v.Torso.Position -Position).magnitude <= Distance then
  1755. table.insert(List,v)
  1756. end
  1757. end
  1758. end
  1759. end
  1760. end
  1761. return List
  1762. end
  1763. z = Instance.new("Sound",workspace)
  1764. z.SoundId = "rbxassetid://232213955"
  1765. z.Pitch = 0.75
  1766. z.Volume = 5
  1767. wait(0.2)
  1768. z:Play()
  1769. sp = Instance.new("Part",rarm)
  1770. sp.Anchored = true
  1771. sp.CanCollide = false
  1772. sp.Locked = true
  1773. sp.Transparency = 0
  1774. sp.Material = "Neon"
  1775. sp.Size = Vector3.new(2,2,2)
  1776. sp.TopSurface = "SmoothNoOutlines"
  1777. sp.BottomSurface = "SmoothNoOutlines"
  1778. sp.BrickColor = TorsoColor
  1779. spm = Instance.new("SpecialMesh",sp)
  1780. spm.MeshType = "Sphere"
  1781. spm.Scale = Vector3.new(42,42,42)
  1782. sp2 = Instance.new("Part", rarm)
  1783. sp2.Name = "Energy"
  1784. sp2.BrickColor = TorsoColor
  1785. sp2.Size = Vector3.new(1, 1, 1)
  1786. sp2.Shape = "Ball"
  1787. sp2.CanCollide = false
  1788. sp2.Anchored = true
  1789. sp2.Locked = true
  1790. sp2.TopSurface = 0
  1791. sp2.BottomSurface = 0
  1792. sp2.Transparency = 1
  1793. spm2 = Instance.new("SpecialMesh",sp2)
  1794. spm2.MeshId = "rbxassetid://9982590"
  1795. spm2.Scale = Vector3.new(4,4,4)
  1796. sp3 = Instance.new("Part", rarm)
  1797. sp3.Name = "Energy"
  1798. sp3.BrickColor = TorsoColor
  1799. sp3.Size = Vector3.new(1, 1, 1)
  1800. sp3.Shape = "Ball"
  1801. sp3.CanCollide = false
  1802. sp3.Anchored = true
  1803. sp3.Locked = true
  1804. sp3.TopSurface = 0
  1805. sp3.BottomSurface = 0
  1806. sp3.Transparency = 1
  1807. spm3 = Instance.new("SpecialMesh",sp2)
  1808. spm3.MeshId = "rbxassetid://9982590"
  1809. spm3.Scale = Vector3.new(8,8,8)
  1810. for i = 1, 20 do
  1811. spm.Scale = spm.Scale - Vector3.new(2,2,2)
  1812. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1813. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1814. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1815. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1816. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1817. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1818. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1819. if Debounces.on == false then break end
  1820. rs:wait()
  1821. end
  1822. for i = 1, 100, 20 do rs:wait()
  1823. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1824. end
  1825. for i = 1, 20 do
  1826. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1827. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1828. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1829. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1830. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1831. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1832. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1833. if Debounces.on == false then break end
  1834. rs:wait()
  1835. end
  1836. sp.Transparency = 1
  1837. for i = 1, 20 do
  1838. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1839. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1840. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1841. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1842. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1843. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1844. if Debounces.on == false then break end
  1845. rs:wait()
  1846. end
  1847. wait(1)
  1848. sp.Transparency = 0
  1849. sp2.Transparency = 0.84
  1850. for i = 1, 20 do
  1851. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1852. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1853. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1854. sp3.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1855. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1856. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1857. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1858. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1859. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1860. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1861. if Debounces.on == false then break end
  1862. rs:wait()
  1863. end
  1864. for i = 1, 2880, 50 do
  1865. rs:wait()
  1866. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1867. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1868. sp3.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/-10), math.rad(-i/-10), math.rad(i/-10))
  1869. rs:wait()
  1870. end
  1871. sp:Destroy()
  1872. sp2:Destroy()
  1873. sp3:Destroy()
  1874. local X = Instance.new("Part",char)
  1875. local O = Instance.new("ObjectValue",X)
  1876. O.Name = "creator"
  1877. X.Locked = true
  1878. X.Name = "Shell"
  1879. X.Anchored = false
  1880. X.CanCollide = false
  1881. X.Transparency = 0
  1882. X.Reflectance = 0
  1883. X.BottomSurface = 0
  1884. X.TopSurface = 0
  1885. X.Shape = 0
  1886. local V = Instance.new("ObjectValue",X)
  1887. V.Value = char
  1888. V.Name = "creator"
  1889. X.BrickColor = TorsoColor
  1890. X.Size = Vector3.new(2,2,2)
  1891. X.Material = "Neon"
  1892. local Z = Instance.new("SpecialMesh",X)
  1893. Z.MeshType = "Sphere"
  1894. Z.Scale = Vector3.new(0.5,0.5,1)
  1895. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1896. local bv = Instance.new("BodyVelocity",X)
  1897. bv.maxForce = Vector3.new(99999,99999,99999)
  1898. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1899. bv.velocity = X.CFrame.lookVector*75
  1900.  
  1901. Explode = X.Touched:connect(function(hit)
  1902. if hit ~= char and hit.Name ~= "Shell" then
  1903. local cf = X.CFrame
  1904. bv:Destroy()
  1905. X.Anchored = true
  1906. Z:Remove()
  1907. Explode:disconnect()
  1908. X.Size = Vector3.new(6,6,6)
  1909. X.Touched:connect(function(hit) end)
  1910. X.CanCollide = false
  1911. local part3 = Instance.new("Part", rarm)
  1912. part3.Anchored=true
  1913. part3.CanCollide=false
  1914. part3.Locked = true
  1915. part3.TopSurface = "SmoothNoOutlines"
  1916. part3.BottomSurface = "SmoothNoOutlines"
  1917. part3.FormFactor='Custom'
  1918. part3.Size=Vector3.new(2,2, 2)
  1919. part3.CFrame=X.CFrame
  1920. part3.Transparency=0
  1921. part3.BrickColor=TorsoColor
  1922. local mesh3 = Instance.new("SpecialMesh",part3)
  1923. mesh3.MeshType = "Sphere"
  1924. mesh3.Scale = Vector3.new(2,2,2)
  1925. --debris:AddItem(X,8)
  1926. local part4 = Instance.new("Part", rarm)
  1927. part4.Material = "Neon"
  1928. part4.Anchored=true
  1929. part4.CanCollide=false
  1930. part4.Locked = true
  1931. part4.TopSurface = "SmoothNoOutlines"
  1932. part4.BottomSurface = "SmoothNoOutlines"
  1933. part4.FormFactor='Custom'
  1934. part4.Size=Vector3.new(2,2, 2)
  1935. part4.CFrame=X.CFrame
  1936. part4.Transparency=0
  1937. part4.BrickColor=BrickColor.new("Black")
  1938. local mesh4 = Instance.new("SpecialMesh",part4)
  1939. mesh4.MeshType = "Sphere"
  1940. mesh4.Scale = Vector3.new(1,1,1)
  1941. local part7 = Instance.new("Part", rarm)
  1942. part7.Material = "Neon"
  1943. part7.Anchored=true
  1944. part7.CanCollide=false
  1945. part7.Locked = true
  1946. part7.TopSurface = "SmoothNoOutlines"
  1947. part7.BottomSurface = "SmoothNoOutlines"
  1948. part7.FormFactor='Custom'
  1949. part7.Size=Vector3.new(2,2, 2)
  1950. part7.CFrame=X.CFrame
  1951. part7.Transparency=0
  1952. part7.BrickColor=BrickColor.new("Really black")
  1953. local mesh7 = Instance.new("SpecialMesh",part7)
  1954. mesh7.MeshType = "Sphere"
  1955. mesh7.Scale = Vector3.new(0.2, 0.2, 0.2)
  1956. --[[X.Touched:connect(function(ht)
  1957. hit = ht.Parent
  1958. if ht and hit:IsA("Model") then
  1959. if hit:FindFirstChild("Humanoid") then
  1960. if hit.Name ~= p.Name then
  1961. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1962. wait(.3)
  1963. end
  1964. end
  1965. elseif ht and hit:IsA("Hat") then
  1966. if hit.Parent.Name ~= p.Name then
  1967. if hit.Parent:FindFirstChild("Humanoid") then
  1968. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1969. wait(.3)
  1970. end
  1971. end
  1972. end
  1973. end)
  1974. part3.Touched:connect(function(ht)
  1975. hit = ht.Parent
  1976. if ht and hit:IsA("Model") then
  1977. if hit:FindFirstChild("Humanoid") then
  1978. if hit.Name ~= p.Name then
  1979. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1980. wait(.3)
  1981. end
  1982. end
  1983. elseif ht and hit:IsA("Hat") then
  1984. if hit.Parent.Name ~= p.Name then
  1985. if hit.Parent:FindFirstChild("Humanoid") then
  1986. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1987. wait(.3)
  1988. end
  1989. end
  1990. end
  1991. end)]]--
  1992. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1993. if v:FindFirstChild('Humanoid') then
  1994. v.Humanoid:TakeDamage(math.random(60,90))
  1995. v.Humanoid.PlatformStand = true
  1996. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1997. end
  1998. end
  1999.  
  2000. local acos = math.acos
  2001. local sqrt = math.sqrt
  2002. local Vec3 = Vector3.new
  2003. local fromAxisAngle = CFrame.fromAxisAngle
  2004.  
  2005. local function toAxisAngle(CFr)
  2006. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2007. local Angle = math.acos((R00+R11+R22-1)/2)
  2008. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2009. A = A == 0 and 0.00001 or A
  2010. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2011. B = B == 0 and 0.00001 or B
  2012. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2013. C = C == 0 and 0.00001 or C
  2014. local x = (R21-R12)/sqrt(A)
  2015. local y = (R02-R20)/sqrt(B)
  2016. local z = (R10-R01)/sqrt(C)
  2017. return Vec3(x,y,z),Angle
  2018. end
  2019.  
  2020. function ApplyTrig(Num,Func)
  2021. local Min,Max = Func(0),Func(1)
  2022. local i = Func(Num)
  2023. return (i-Min)/(Max-Min)
  2024. end
  2025.  
  2026. function LerpCFrame(CFrame1,CFrame2,Num)
  2027. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2028. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2029. end
  2030.  
  2031. function Crater(Torso,Radius)
  2032. Spawn(function()
  2033. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2034. local Ignore = {}
  2035. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2036. if v.Character ~= nil then
  2037. Ignore[#Ignore+1] = v.Character
  2038. end
  2039. end
  2040. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2041. if Hit == nil then return end
  2042. local Parts = {}
  2043. for i = 1,360,10 do
  2044. local P = Instance.new("Part",Torso.Parent)
  2045. P.Anchored = true
  2046. P.FormFactor = "Custom"
  2047. P.BrickColor = Hit.BrickColor
  2048. P.Material = Hit.Material
  2049. P.TopSurface = "Smooth"
  2050. P.BottomSurface = "Smooth"
  2051. P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100)
  2052. 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)))
  2053. 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}
  2054. if math.random(0,5) == 0 then -- rubble
  2055. local P = Instance.new("Part",Torso.Parent)
  2056. P.Anchored = true
  2057. P.FormFactor = "Custom"
  2058. P.BrickColor = Hit.BrickColor
  2059. P.Material = Hit.Material
  2060. P.TopSurface = "Smooth"
  2061. P.BottomSurface = "Smooth"
  2062. P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100)
  2063. 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)))
  2064. 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}
  2065. end
  2066. end
  2067. for i = 0,1,0.05 do
  2068. for i2,v in pairs(Parts) do
  2069. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2070. end
  2071. wait(0.02)
  2072. end
  2073. for i,v in pairs(Parts) do
  2074. if v[1].Size.X > 2.1 then
  2075. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2076. end
  2077. v[1].Anchored = false
  2078. end
  2079. for i = 0,1,0.05 do
  2080. for i2,v in pairs(Parts) do
  2081. v[1].Transparency = i
  2082. if i == 1 then
  2083. v[1]:Destroy()
  2084. elseif i >= 0.25 then
  2085. v[1].CanCollide = false
  2086. end
  2087. end
  2088. wait(0.02)
  2089. end
  2090. Parts = nil
  2091. end)
  2092. end
  2093.  
  2094. ROW = function(out, trans, s, wt, t, ang, plus)
  2095. for i = 1, 360, 360/t do
  2096. local c = Instance.new("Part", game.Workspace)
  2097. c.FormFactor = 3
  2098. c.TopSurface = 0
  2099. c.BottomSurface = 0
  2100. c.Size = s
  2101. c.Anchored = true
  2102. c.CanCollide = wt
  2103. c.Material=workspace.Base.Material
  2104. c.Transparency = trans
  2105. c.BrickColor = workspace.Base.BrickColor
  2106. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  2107. c.Locked=true
  2108. game.Debris:AddItem(c,15)
  2109. end
  2110. end
  2111.  
  2112. Part = function(x,y,z,color,tr,cc,an,parent)
  2113. local p = Instance.new('Part',parent or Weapon)
  2114. p.formFactor = 'Custom'
  2115. p.Size = Vector3.new(x,y,z)
  2116. p.BrickColor = BrickColor.new(color)
  2117. p.CanCollide = cc
  2118. p.Transparency = tr
  2119. p.Anchored = an
  2120. p.TopSurface,p.BottomSurface = 0,0
  2121. p.Locked=true
  2122. p:BreakJoints()
  2123. return p end
  2124.  
  2125. Mesh = function(par,num,x,y,z)
  2126. local msh = _
  2127. if num == 1 then msh = Instance.new("CylinderMesh",par)
  2128. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  2129. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  2130. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  2131. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  2132. end msh.Scale = Vector3.new(x,y,z)
  2133. return msh end
  2134.  
  2135. function explosion(col1,col2,cfr,sz,rng,dmg)
  2136. local a= Part(1,1,1,col1,.5,false,true,workspace)
  2137. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  2138. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  2139. v1,v2,v3=sz.x,sz.y,sz.z
  2140. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  2141. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  2142. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  2143. a.CFrame=cfr
  2144. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2145. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2146.  
  2147. Spawn(function()
  2148. while wait() do
  2149. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  2150. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  2151. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  2152. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  2153. a.Transparency=a.Transparency+0.05
  2154. a2.Transparency=a2.Transparency+0.05
  2155. a3.Transparency=a3.Transparency+0.05
  2156. end
  2157. end)
  2158. end
  2159.  
  2160. Crater(X,20)
  2161. 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)
  2162. z = Instance.new("Sound",workspace)
  2163. z.SoundId = "rbxassetid://231917744"
  2164. z.Pitch = .5
  2165. z.Volume = 5
  2166. z1 = Instance.new("Sound",workspace)
  2167. z1.SoundId = "rbxassetid://231917744"
  2168. z1.Pitch = .5
  2169. z1.Volume = 5
  2170. z2 = Instance.new("Sound",workspace)
  2171. z2.SoundId = "rbxassetid://231917744"
  2172. z2.Pitch = .5
  2173. z2.Volume = 5
  2174. z3 = Instance.new("Sound",workspace)
  2175. z3.SoundId = "rbxassetid://245537790"
  2176. z3.Pitch = .7
  2177. z3.Volume = 5
  2178. z4 = Instance.new("Sound",workspace)
  2179. z4.SoundId = "rbxassetid://245537790"
  2180. z4.Pitch = .7
  2181. z4.Volume = 5
  2182. z4a = Instance.new("Sound",workspace)
  2183. z4a.SoundId = "rbxassetid://419447292"
  2184. z4a.Pitch = 1
  2185. z4a.Volume = 5
  2186. z3a = Instance.new("Sound",workspace)
  2187. z3a.SoundId = "rbxassetid://421328847"
  2188. z3a.Pitch = 1
  2189. z3a.Volume = 5
  2190. wait(0.1)
  2191. z:Play()
  2192. z1:Play()
  2193. z2:Play()
  2194. z3:Play()
  2195. z4:Play()
  2196. z3a:Play()
  2197. z4a:Play()
  2198.  
  2199. local part=Instance.new('Part',rarm)
  2200. part.Anchored=true
  2201. part.CanCollide=false
  2202. part.Locked = true
  2203. part.FormFactor='Custom'
  2204. part.Size=Vector3.new(2,2,2)
  2205. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2206. part.Transparency=0
  2207. part.BrickColor=BrickColor.new('Really black')
  2208. local mesh=Instance.new('SpecialMesh',part)
  2209. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2210. mesh.Scale=Vector3.new(4,4,4)
  2211. local part2=part:clone()
  2212. part2.Parent = rarm
  2213. part2.BrickColor=TorsoColor
  2214. local part5=part:clone()
  2215. part5.Parent = rarm
  2216. part5.BrickColor=TorsoColor
  2217. local part6=part:clone()
  2218. part6.Parent = rarm
  2219. part6.BrickColor=BrickColor.new("Black")
  2220. local mesh2=mesh:clone()
  2221. mesh2.Parent=part2
  2222. mesh2.Scale=Vector3.new(6, 6, 6)
  2223. local mesh5=mesh:clone()
  2224. mesh5.Parent=part5
  2225. mesh5.Scale=Vector3.new(6, 6, 6)
  2226. local mesh6=mesh:clone()
  2227. mesh6.Parent=part6
  2228. mesh6.Scale=Vector3.new(6, 6, 6)
  2229. local blast = Instance.new("Part", rarm)
  2230. blast.BrickColor = BrickColor.new("Really black")
  2231. blast.Anchored = true
  2232. blast.CanCollide = false
  2233. blast.Locked = true
  2234. blast.Size = Vector3.new(2, 2, 2)
  2235. blast.TopSurface = "Smooth"
  2236. blast.BottomSurface = "Smooth"
  2237. blast.Transparency = 0
  2238. blast.CFrame = HandCF
  2239. local bm = Instance.new("SpecialMesh", blast)
  2240. bm.Scale = Vector3.new(10,2,10)
  2241. bm.MeshId = "rbxassetid://3270017"
  2242. local blast2 = Instance.new("Part", rarm)
  2243. blast2.BrickColor = BrickColor.new("Really black")
  2244. blast2.Anchored = true
  2245. blast2.CanCollide = false
  2246. blast2.Locked = true
  2247. blast2.Size = Vector3.new(2, 2, 2)
  2248. blast2.TopSurface = "Smooth"
  2249. blast2.BottomSurface = "Smooth"
  2250. blast2.Transparency = 0
  2251. blast2.CFrame = HandCF
  2252. local bm2 = Instance.new("SpecialMesh", blast2)
  2253. bm2.Scale = Vector3.new(6,2,6)
  2254. bm2.MeshId = "rbxassetid://3270017"
  2255. local blast3 = Instance.new("Part", rarm)
  2256. blast3.BrickColor = BrickColor.new("Really black")
  2257. blast3.Anchored = true
  2258. blast3.CanCollide = false
  2259. blast3.Locked = true
  2260. blast3.Size = Vector3.new(1, 1, 1)
  2261. blast3.TopSurface = "Smooth"
  2262. blast3.BottomSurface = "Smooth"
  2263. blast3.Transparency = 0
  2264. blast3.CFrame = HandCF
  2265. local bm3 = Instance.new("SpecialMesh", blast3)
  2266. bm3.Scale = Vector3.new(6,2,6)
  2267. bm3.MeshId = "rbxassetid://3270017"
  2268. for i = 1,120 do rs:wait()
  2269. X.Transparency = X.Transparency + (1/120)
  2270. part.Transparency = part.Transparency + (1/120)
  2271. part2.Transparency = part2.Transparency + (1/120)
  2272. part3.Transparency = part3.Transparency + (1/120)
  2273. part4.Transparency = part4.Transparency + (1/120)
  2274. part5.Transparency = part5.Transparency + (1/120)
  2275. part6.Transparency = part6.Transparency + (1/120)
  2276. part7.Transparency = part7.Transparency + (1/120)
  2277. blast.Transparency = blast.Transparency + (1/120)
  2278. blast2.Transparency = blast2.Transparency + (1/120)
  2279. blast3.Transparency = blast3.Transparency + (1/120)
  2280. X.Size = X.Size + Vector3.new(1.6,1.6,1.6)
  2281. --part3.Size = part3.Size + Vector3.new(6,6,6)
  2282. mesh.Scale = mesh.Scale + Vector3.new(2,.4,2)
  2283. mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2)
  2284. mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6)
  2285. mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4)
  2286. mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2)
  2287. mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4)
  2288. mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8)
  2289. bm.Scale = bm.Scale + Vector3.new(12,12,.4)
  2290. bm2.Scale = bm2.Scale + Vector3.new(8,8,.4)
  2291. bm3.Scale = bm3.Scale + Vector3.new(8,8,.4)
  2292. X.CFrame = cf
  2293. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2294. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2295. part3.CFrame=X.CFrame
  2296. part4.CFrame=X.CFrame
  2297. part7.CFrame=X.CFrame
  2298. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2299. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2300. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2301. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2302. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2303. rs:wait()
  2304. end
  2305. X:Destroy()
  2306. part:Destroy()
  2307. part2:Destroy()
  2308. part3:Destroy()
  2309. part4:Destroy()
  2310. part5:Destroy()
  2311. part6:Destroy()
  2312. blast:Destroy()
  2313. blast2:Destroy()
  2314. blast3:Destroy()
  2315. z:Destroy()
  2316. z1:Destroy()
  2317. z2:Destroy()
  2318. z3:Destroy()
  2319. z4:Destroy()
  2320. end
  2321. end)
  2322. for i = 1, 20 do
  2323. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  2324. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  2325. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2326. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  2327. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  2328. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  2329. if Debounces.on == false then break end
  2330. rs:wait()
  2331. end
  2332. if Debounces.CanAttack == false then
  2333. Debounces.CanAttack = true
  2334. Debounces.NoIdl = false
  2335. Debounces.on = false
  2336. end
  2337. end
  2338. end
  2339. end)
  2340. ----------------------------------------------------
  2341. mouse.KeyDown:connect(function(key)
  2342. if key == "c" then
  2343. Blaze()
  2344. end
  2345. end)
  2346. ----------------------------------------------------
  2347. mouse.KeyDown:connect(function(key)
  2348. if key == "v" then
  2349. Blaze2()
  2350. end
  2351. end)
  2352. ----------------------------------------------------
  2353. mouse.KeyDown:connect(function(key)
  2354. if key == "x" then
  2355. hum.WalkSpeed = 0.01
  2356. if Debounces.CanAttack == true then
  2357. Debounces.CanAttack = false
  2358. Debounces.NoIdl = true
  2359. Debounces.on = true
  2360. for i = 1, 30 do
  2361. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  2362. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  2363. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2364. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2365. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2366. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2367. if Debounces.on == false then break end
  2368. rs:wait(6)
  2369. end
  2370. v = Instance.new("Sound")
  2371. v.SoundId = "rbxassetid://435742675"
  2372. v.Parent = char
  2373. v.Looped = false
  2374. v.Pitch = 1
  2375. v.Volume = 18
  2376. wait(.01)
  2377. v:Play()
  2378.  
  2379. if Daytime == true then
  2380. Daytime = false
  2381. l.TimeOfDay = 00
  2382. else
  2383. Daytime = true
  2384. l.TimeOfDay = 12
  2385. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  2386. end
  2387.  
  2388. local Shockwave = function()
  2389. local rng1 = Instance.new("Part", char)
  2390. rng1.Anchored = true
  2391. rng1.BrickColor = BrickColor.new("Really black")
  2392. rng1.CanCollide = false
  2393. rng1.FormFactor = 3
  2394. rng1.Name = "Ring"
  2395. rng1.Material = "Neon"
  2396. rng1.Size = Vector3.new(1, 1, 1)
  2397. rng1.Transparency = 0.35
  2398. rng1.TopSurface = 0
  2399. rng1.BottomSurface = 0
  2400. local rngm1 = Instance.new("SpecialMesh", rng)
  2401. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2402. rngm1.Scale = Vector3.new(10, 10, 1)
  2403. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  2404. local Wave = Instance.new("Part", game.Workspace--[[?]])
  2405. Wave.Name = "Shockwave"
  2406. Wave.BrickColor = BrickColor.new("Really black")
  2407. Wave.Material = "Neon"
  2408. Wave.Size = Vector3.new(1, 1, 1)
  2409. Wave.Shape = "Ball"
  2410. Wave.CanCollide = false
  2411. Wave.Anchored = true
  2412. Wave.TopSurface = 0
  2413. Wave.BottomSurface = 0
  2414. local Wave2 = Instance.new("Part", game.Workspace--[[?]])
  2415. Wave2.Name = "Shockwave2"
  2416. Wave2.BrickColor = TorsoColor
  2417. Wave2.Material = "Neon"
  2418. Wave2.Size = Vector3.new(1, 1, 1)
  2419. Wave2.Shape = "Ball"
  2420. Wave2.CanCollide = false
  2421. Wave2.Anchored = true
  2422. Wave2.TopSurface = 0
  2423. Wave2.BottomSurface = 0
  2424. Wave2.Touched:connect(function(hit)
  2425. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  2426. local Occlude = true
  2427. local NotOccludes = {
  2428. char.Name;
  2429. "Wings";
  2430. "Scythe";
  2431. "Thingy";
  2432. "Thingy2"; -- put all of the names in a table pls
  2433. }
  2434. for i,v in pairs(NotOccludes) do
  2435. if hit.Parent.Name == v then
  2436. Occlude = false
  2437. end
  2438. end
  2439. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  2440. if Occlude then
  2441. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  2442. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  2443. end
  2444. end
  2445. end)
  2446.  
  2447. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  2448.  
  2449. coroutine.wrap(function()
  2450. for i = 1, 20, 0.2 do
  2451. rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20)
  2452. rng1.Transparency = i/20
  2453. wait()
  2454. end
  2455. wait()
  2456. rng1:Destroy()
  2457. end)()
  2458.  
  2459. Delay(0, function()
  2460.  
  2461. if Daytime == false then
  2462. for i = 3, 50, 1 do
  2463. Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3)
  2464. Wave.CFrame = char.Torso.CFrame
  2465. local t = i / 50
  2466. Wave.Transparency = t
  2467. Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5)
  2468. Wave2.CFrame = char.Torso.CFrame
  2469. local tq = i / 50
  2470. Wave2.Transparency = tq
  2471. wait()
  2472. end
  2473. else
  2474. for i = 3, 50, 1 do
  2475. Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3)
  2476. Wave.CFrame = char.Torso.CFrame
  2477. local t = i / 50
  2478. Wave.Transparency = t
  2479. Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5)
  2480. Wave2.CFrame = char.Torso.CFrame
  2481. local tq = i / 50
  2482. Wave2.Transparency = tq
  2483. wait()
  2484. end
  2485. end
  2486. Wave:Destroy()
  2487. Wave2:Destroy()
  2488. end)
  2489. Delay(0, function()
  2490. while wait() do
  2491. if Wave ~= nil then
  2492. Wave.CFrame = char.Torso.CFrame
  2493. else
  2494. break
  2495. end
  2496. end
  2497. end)
  2498. end
  2499. Shockwave()
  2500. for i = 1, 30 do
  2501. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  2502. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  2503. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2504. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  2505. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2506. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2507. if Debounces.on == false then break end
  2508. rs:wait()
  2509. end
  2510. wait(2.4)
  2511. Debounces.NoIdl = false
  2512. hum.WalkSpeed = 16
  2513. Debounces.on = false
  2514. wait()
  2515. if Debounces.CanAttack == false then
  2516. Debounces.CanAttack = true
  2517. v:Destroy()
  2518. end
  2519. end
  2520. end
  2521. end)
  2522. ----------------------------------------------------
  2523. mouse.KeyDown:connect(function(key)
  2524. if key == "e" then
  2525. if Debounces.CanAttack == true then
  2526. Debounces.CanAttack = false
  2527. Debounces.on = true
  2528. Debounces.NoIdl = true
  2529. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  2530. z = Instance.new("Sound", rarm)
  2531. z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  2532. z.Volume = 1.25
  2533. z.Pitch = pt[math.random(1,#pt)]
  2534. z.Looped = false
  2535. z:Play()
  2536. Debounces.RPunch = true
  2537. Debounces.LPunch = true
  2538. Debounces.ks = true
  2539. Debounces.ks2 = true
  2540. for i = 1, 3 do
  2541. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2542. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2543. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2544. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2545. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2546. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2547. if Debounces.on == false then break end
  2548. wait()
  2549. end
  2550. z2 = Instance.new("Sound", larm)
  2551. z2.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2552. z2.Volume = 1.25
  2553. z2.Pitch = pt[math.random(1,#pt)]
  2554. z2.Looped = false
  2555. z2:Play()
  2556. for i = 1, 3 do
  2557. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2558. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2559. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2560. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2561. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2562. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2563. if Debounces.on == false then break end
  2564. wait()
  2565. end
  2566. z3 = Instance.new("Sound", rarm)
  2567. z3.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2568. z3.Volume = 1.25
  2569. z3.Pitch = pt[math.random(1,#pt)]
  2570. z3.Looped = false
  2571. z3:Play()
  2572. for i = 1, 3 do
  2573. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2574. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2575. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2576. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2577. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2578. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2579. if Debounces.on == false then break end
  2580. wait()
  2581. end
  2582. z4 = Instance.new("Sound", larm)
  2583. z4.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2584. z4.Volume = 1.25
  2585. z4.Pitch = pt[math.random(1,#pt)]
  2586. z4.Looped = false
  2587. z4:Play()
  2588. for i = 1, 3 do
  2589. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2590. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2591. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2592. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2593. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2594. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2595. if Debounces.on == false then break end
  2596. wait()
  2597. end
  2598. z5 = Instance.new("Sound", rarm)
  2599. z5.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2600. z5.Volume = 1.25
  2601. z5.Pitch = pt[math.random(1,#pt)]
  2602. z5.Looped = false
  2603. z5:Play()
  2604. for i = 1, 3 do
  2605. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2606. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2607. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2608. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2609. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2610. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2611. if Debounces.on == false then break end
  2612. wait()
  2613. end
  2614. z6 = Instance.new("Sound", larm)
  2615. z6.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2616. z6.Volume = 1.25
  2617. z6.Pitch = pt[math.random(1,#pt)]
  2618. z6.Looped = false
  2619. z6:Play()
  2620. for i = 1, 3 do
  2621. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2622. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2623. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2624. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2625. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2626. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2627. if Debounces.on == false then break end
  2628. wait()
  2629. end
  2630. z7 = Instance.new("Sound", rarm)
  2631. z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  2632. z7.Volume = 1.25
  2633. z7.Pitch = pt[math.random(1,#pt)]
  2634. z7.Looped = false
  2635. z7:Play()
  2636. for i = 1, 3 do
  2637. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2638. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2639. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2640. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2641. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2642. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2643. if Debounces.on == false then break end
  2644. wait()
  2645. end
  2646. z8 = Instance.new("Sound", larm)
  2647. z8.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2648. z8.Volume = 1.25
  2649. z8.Pitch = pt[math.random(1,#pt)]
  2650. z8.Looped = false
  2651. z8:Play()
  2652. for i = 1, 3 do
  2653. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2654. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2655. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2656. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2657. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2658. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2659. if Debounces.on == false then break end
  2660. wait()
  2661. end
  2662. z9 = Instance.new("Sound", rarm)
  2663. z9.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2664. z9.Volume = 1.25
  2665. z9.Pitch = pt[math.random(1,#pt)]
  2666. z9.Looped = false
  2667. z9:Play()
  2668. for i = 1, 3 do
  2669. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2670. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2671. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2672. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2673. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2674. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2675. if Debounces.on == false then break end
  2676. wait()
  2677. end
  2678. z10 = Instance.new("Sound", larm)
  2679. z10.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2680. z10.Volume = 1.25
  2681. z10.Pitch = pt[math.random(1,#pt)]
  2682. z10.Looped = false
  2683. z10:Play()
  2684. for i = 1, 3 do
  2685. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2686. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2687. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2688. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2689. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2690. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2691. if Debounces.on == false then break end
  2692. wait()
  2693. end
  2694. z11 = Instance.new("Sound", rarm)
  2695. z11.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2696. z11.Volume = 1.25
  2697. z11.Pitch = pt[math.random(1,#pt)]
  2698. z11.Looped = false
  2699. z11:Play()
  2700. for i = 1, 3 do
  2701. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2702. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2703. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2704. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2705. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2706. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2707. if Debounces.on == false then break end
  2708. wait()
  2709. end
  2710. z12 = Instance.new("Sound", larm)
  2711. z12.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2712. z12.Volume = 1.25
  2713. z12.Pitch = pt[math.random(1,#pt)]
  2714. z12.Looped = false
  2715. z12:Play()
  2716. for i = 1, 3 do
  2717. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2718. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2719. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2720. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2721. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2722. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2723. if Debounces.on == false then break end
  2724. wait()
  2725. end
  2726. z13 = Instance.new("Sound", rarm)
  2727. z13.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2728. z13.Volume = 1.25
  2729. z13.Pitch = pt[math.random(1,#pt)]
  2730. z13.Looped = false
  2731. z13:Play()
  2732. for i = 1, 3 do
  2733. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2734. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2735. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2736. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2737. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2738. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2739. if Debounces.on == false then break end
  2740. wait()
  2741. end
  2742. z14 = Instance.new("Sound", larm)
  2743. z14.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2744. z14.Volume = 1.25
  2745. z14.Pitch = pt[math.random(1,#pt)]
  2746. z14.Looped = false
  2747. z14:Play()
  2748. for i = 1, 3 do
  2749. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2750. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2751. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2752. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2753. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2754. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2755. if Debounces.on == false then break end
  2756. wait()
  2757. end
  2758. z15 = Instance.new("Sound", rarm)
  2759. z15.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2760. z15.Volume = 1.25
  2761. z15.Pitch = pt[math.random(1,#pt)]
  2762. z15.Looped = false
  2763. z15:Play()
  2764. for i = 1, 3 do
  2765. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2766. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2767. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2768. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2769. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2770. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2771. if Debounces.on == false then break end
  2772. wait()
  2773. end
  2774. z16 = Instance.new("Sound", larm)
  2775. z16.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2776. z16.Volume = 1.25
  2777. z16.Pitch = pt[math.random(1,#pt)]
  2778. z16.Looped = false
  2779. z16:Play()
  2780. for i = 1, 3 do
  2781. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2782. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2783. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2784. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2785. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2786. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2787. if Debounces.on == false then break end
  2788. wait()
  2789. end
  2790. z17 = Instance.new("Sound", rarm)
  2791. z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
  2792. z17.Volume = 1.25
  2793. z17.Pitch = pt[math.random(1,#pt)]
  2794. z17.Looped = false
  2795. z17:Play()
  2796. for i = 1, 3 do
  2797. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2798. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2799. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2800. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2801. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2802. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2803. if Debounces.on == false then break end
  2804. wait()
  2805. end
  2806. z18 = Instance.new("Sound", larm)
  2807. z18.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2808. z18.Volume = 1.25
  2809. z18.Pitch = pt[math.random(1,#pt)]
  2810. z18.Looped = false
  2811. z18:Play()
  2812. for i = 1, 3 do
  2813. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2814. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2815. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2816. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2817. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2818. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2819. if Debounces.on == false then break end
  2820. wait()
  2821. end
  2822. z19 = Instance.new("Sound", rarm)
  2823. z19.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2824. z19.Volume = 1.25
  2825. z19.Pitch = pt[math.random(1,#pt)]
  2826. z19.Looped = false
  2827. z19:Play()
  2828. for i = 1, 3 do
  2829. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2830. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2831. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2832. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2833. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2834. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2835. if Debounces.on == false then break end
  2836. wait()
  2837. end
  2838. z20 = Instance.new("Sound", larm)
  2839. z20.SoundId = "http://www.roblox.com/asset/?id=200633148"
  2840. z20.Volume = 1.25
  2841. z20.Pitch = pt[math.random(1,#pt)]
  2842. z20.Looped = false
  2843. z20:Play()
  2844. for i = 1, 3 do
  2845. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2846. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2847. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2848. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2849. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2850. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2851. if Debounces.on == false then break end
  2852. wait()
  2853. end
  2854. z:Destroy()
  2855. z2:Destroy()
  2856. z3:Destroy()
  2857. z4:Destroy()
  2858. z5:Destroy()
  2859. z6:Destroy()
  2860. z7:Destroy()
  2861. z8:Destroy()
  2862. z9:Destroy()
  2863. z10:Destroy()
  2864. z11:Destroy()
  2865. z12:Destroy()
  2866. z13:Destroy()
  2867. z14:Destroy()
  2868. z15:Destroy()
  2869. z16:Destroy()
  2870. z17:Destroy()
  2871. z18:Destroy()
  2872. z19:Destroy()
  2873. z20:Destroy()
  2874. Debounces.LPunch = false
  2875. Debounces.RPunch = false
  2876. Debounces.ks = false
  2877. Debounces.ks2 = false
  2878. if Debounces.CanAttack == false then
  2879. Debounces.CanAttack = true
  2880. Debounces.on = false
  2881. Debounces.NoIdl = false
  2882. end
  2883. end
  2884. end
  2885. end)
  2886. -------------------------------
  2887. mouse.KeyDown:connect(function(key)
  2888. if key == "t" then
  2889. if Debounces.CanAttack == true then
  2890. Debounces.CanAttack = false
  2891. Debounces.NoIdl = true
  2892. Debounces.on = true
  2893. Debounces.ks = true
  2894. kik = rleg.Touched:connect(function(ht)
  2895. hit = ht.Parent
  2896. if ht and hit:IsA("Model") then
  2897. if hit:FindFirstChild("Humanoid") then
  2898. if hit.Name ~= p.Name then
  2899. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2900. Debounces.Slashed = true]]--
  2901. if Debounces.ks==true then
  2902. z = Instance.new("Sound",hed)
  2903. z.SoundId = "rbxassetid://169380525"
  2904. z.Volume = 1
  2905. z:Play()
  2906. Debounces.ks=false
  2907. end
  2908. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2909. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2910. --Debounces.Slashed = false
  2911. --end
  2912. end
  2913. end
  2914. elseif ht and hit:IsA("Hat") then
  2915. if hit.Parent.Name ~= p.Name then
  2916. if hit.Parent:FindFirstChild("Humanoid") then
  2917. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2918. Debounces.Slashed = true]]--
  2919. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2920. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2921. --Debounces.Slashed = false
  2922. --end
  2923. end
  2924. end
  2925. end
  2926. end)
  2927. for i = 1,20 do
  2928. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2929. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  2930. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2931. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2932. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2933. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2934. if Debounces.on == false then break end
  2935. rs:wait()
  2936. end
  2937. kik:disconnect()
  2938. if Debounces.CanAttack == false then
  2939. Debounces.CanAttack = true
  2940. Debounces.NoIdl = false
  2941. Debounces.on = false
  2942. end
  2943. end
  2944. end
  2945. end)
  2946. ----------------------------------------------------
  2947. mouse.KeyDown:connect(function(key)
  2948. if key == "y" then
  2949. if Debounces.CanAttack == true then
  2950. Debounces.CanAttack = false
  2951. Debounces.on = true
  2952. Debounces.NoIdl = true
  2953. for i = 1, 15 do
  2954. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,-0.25)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.2)
  2955. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.6)
  2956. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2957. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.4)
  2958. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2959. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2960. if Debounces.on == false then break end
  2961. rs:wait(2.7)
  2962. end
  2963. xa = Instance.new("Sound",char)
  2964. xa.SoundId = "rbxassetid://419447292"
  2965. xa.Pitch = 1
  2966. xa.Volume = 2.5
  2967. wait(.1)
  2968. xa:Play()
  2969. Debounces.on = false
  2970. Debounces.Here = false
  2971. shot = shot + 1
  2972. local rng = Instance.new("Part", larm)
  2973. rng.Anchored = true
  2974. rng.BrickColor = TorsoColor
  2975. rng.CanCollide = false
  2976. rng.FormFactor = 3
  2977. rng.Name = "Ring"
  2978. rng.Size = Vector3.new(1, 1, 1)
  2979. rng.Transparency = 0.35
  2980. rng.TopSurface = 0
  2981. rng.BottomSurface = 0
  2982. rng2 = rng:clone()
  2983. rng3 = rng2:clone()
  2984. rng4 = rng2:clone()
  2985. local rngm = Instance.new("SpecialMesh", rng)
  2986. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2987. rngm.Scale = Vector3.new(10, 10, 1)
  2988. rngm2 = rngm:clone()
  2989. rngm2.Scale = Vector3.new(5, 5, 3)
  2990. rngm3=rngm2:clone()
  2991. rngm3.Parent = rng3
  2992. rngm3.Scale = Vector3.new(8, 8, 1)
  2993. rngm4 = rngm2:clone()
  2994. rngm4.Parent = rng4
  2995. rngm4.Scale = Vector3.new(6, 6, 1)
  2996. local bem = Instance.new("Part", larm)
  2997. bem.Anchored = true
  2998. bem.BrickColor = BrickColor.new("Really black")
  2999. bem.CanCollide = false
  3000. bem.FormFactor = 3
  3001. bem.Name = "Beam" .. shot
  3002. bem.Size = Vector3.new(1, 1, 1)
  3003. bem.Transparency = 0.35
  3004. bem.Material = "Neon"
  3005. bem.TopSurface = 0
  3006. bem.BottomSurface = 0
  3007. local bemm = Instance.new("SpecialMesh", bem)
  3008. bemm.MeshType = 4
  3009. bemm.Scale = Vector3.new(1, 50, 50)
  3010. local out = Instance.new("Part", larm)
  3011. out.Anchored = true
  3012. out.BrickColor = BrickColor.new("Really black")
  3013. out.CanCollide = false
  3014. out.FormFactor = 3
  3015. out.Name = "Out"
  3016. out.Size = Vector3.new(8, 8, 8)
  3017. out.Transparency = 0.35
  3018. out.TopSurface = 0
  3019. out.BottomSurface = 0
  3020. local outm = Instance.new("SpecialMesh", out)
  3021. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3022. outm.Scale = Vector3.new(12, 8, 12)
  3023. local bnd = Instance.new("Part", larm)
  3024. bnd.Anchored = true
  3025. bnd.BrickColor = BrickColor.new("Really black")
  3026. bnd.CanCollide = false
  3027. bnd.FormFactor = 3
  3028. bnd.Name = "ink sans"
  3029. bnd.Size = Vector3.new(1, 1, 1)
  3030. bnd.Transparency = 1
  3031. bnd.TopSurface = 0
  3032. bnd.BottomSurface = 0
  3033. local bndm = Instance.new("SpecialMesh", bnd)
  3034. bndm.MeshType = 3
  3035. bndm.Scale = Vector3.new(16, 16, 16)
  3036. out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0)
  3037. bem.CFrame = out.CFrame * CFrame.new(0, -50, 0) * CFrame.Angles(0, 0, math.rad(90))
  3038. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  3039. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  3040. rng3.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  3041. rng4.CFrame = rng.CFrame * CFrame.new(0, -2, 0)
  3042. Debounces.Shewt = true
  3043. coroutine.wrap(function()
  3044. for i = 1, 20, 0.2 do
  3045. rngm.Scale = Vector3.new(20 + i*4, 20 + i*4, 2)
  3046. rngm3.Scale = Vector3.new(16 + i*6, 16 + i*6, 2)
  3047. rngm4.Scale = Vector3.new(12 + i*8, 12 + i*8, 2)
  3048. rng.Transparency = i/20
  3049. rng3.Transparency = 1/24
  3050. rng4.Transparency = i/26
  3051. wait()
  3052. end
  3053. wait()
  3054. rng:Destroy()
  3055. end)()
  3056. if Debounces.Shewt == true then
  3057. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  3058. hit = ht.Parent
  3059. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  3060. if HasntTouched(hit.Name) == true and deb == false then
  3061. deb = true
  3062. coroutine.wrap(function()
  3063. hit:FindFirstChild("Humanoid").PlatformStand = true
  3064. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
  3065. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  3066. end)()
  3067. table.insert(Touche, hit.Name)
  3068. deb = false
  3069. end
  3070. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  3071. if HasntTouched(hit.Parent.Name) == true and deb == false then
  3072. deb = true
  3073. coroutine.wrap(function()
  3074. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  3075. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
  3076. wait(1)
  3077. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  3078. end)()
  3079. table.insert(Touche, hit.Parent.Name)
  3080. deb = false
  3081. for i, v in pairs(Touche) do
  3082. print(v)
  3083. end
  3084. end
  3085. end
  3086. end)
  3087. end
  3088. for i = 0, 260, 8 do
  3089. bem.Size = Vector3.new(i, 30, 30)
  3090. out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0)
  3091. bem.CFrame = larm.CFrame * CFrame.new(0, -42 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  3092. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  3093. bnd.Size = Vector3.new(2,2,2)
  3094. bndm.Scale = Vector3.new(16,16,16)
  3095. if i % 10 == 0 then
  3096. local newRng = rng2:Clone()
  3097. newRng.Parent = larm
  3098. newRng.CFrame = larm.CFrame * CFrame.new(0, -8.4-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  3099. local newRngm = rngm2:clone()
  3100. newRngm.Parent=newRng
  3101. coroutine.wrap(function()
  3102. for i = 1, 10, 0.2 do
  3103. newRngm.Scale = Vector3.new(16 + i*4, 16 + i*4, 6)
  3104. newRng.Transparency = i/10
  3105. wait()
  3106. end
  3107. wait()
  3108. newRng:Destroy()
  3109. end)()
  3110. end
  3111. wait()
  3112. end
  3113. wait()
  3114. Debounces.Shewt = false
  3115. bem:Destroy()
  3116. out:Destroy()
  3117. bnd:Destroy()
  3118. Debounces.Ready = false
  3119. for i, v in pairs(Touche) do
  3120. table.remove(Touche, i)
  3121. end
  3122. wait()
  3123. table.insert(Touche, char.Name)
  3124. Debounces.NoIdl = false
  3125. if Debounces.CanAttack == false then
  3126. Debounces.CanAttack = true
  3127. end
  3128. end
  3129. end
  3130. end)
  3131. ----------------------------------------------------
  3132. mouse.KeyDown:connect(function(key)
  3133. if key == "h" then
  3134. if Debounces.CanAttack == true then
  3135. Debounces.CanAttack = false
  3136. Debounces.on = true
  3137. Debounces.NoIdl = true
  3138. for i = 1, 20 do
  3139. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  3140. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  3141. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  3142. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3143. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  3144. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  3145. if Debounces.on == false then break end
  3146. rs:wait(2.6)
  3147. end
  3148. Spawn(function()
  3149. local Parts = {}
  3150. for Y = -5,5 do
  3151. local P = Instance.new("Part",char)
  3152. P.Anchored = true
  3153. P.FormFactor = "Custom"
  3154. P.CanCollide = false
  3155. P.Size = Vector3.new(2,4,2)
  3156. P.TopSurface = "SmoothNoOutlines"
  3157. P.BottomSurface = "SmoothNoOutlines"
  3158. P.Material = "Neon"
  3159. P.BrickColor = BrickColor.new("Really black")
  3160. P.Name = tostring(Y)
  3161. local i = (Y+5)/(10)
  3162. i = 1-math.cos(math.pi*i-(math.pi/2))
  3163. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
  3164. --[[P.Touched:connect(function(ht)
  3165. local hit = ht.Parent
  3166. if hit:FindFirstChild("Humanoid") then
  3167. hit.Humanoid:TakeDamage(math.random(20,50))
  3168. end
  3169. end)]]--
  3170. s = Instance.new("Sound",P)
  3171. s.SoundId = "rbxassetid://228343271"
  3172. s.Volume = 1
  3173. s.Pitch = 0.9
  3174. s:Play()
  3175. sa = Instance.new("Sound",P)
  3176. sa.SoundId = "rbxassetid://419447292"
  3177. sa.Volume = 1
  3178. sa.Pitch = 1
  3179. sa:Play()
  3180. P.Touched:connect(function(ht)
  3181. hit = ht.Parent
  3182. if ht and hit:IsA("Model") then
  3183. if hit:FindFirstChild("Humanoid") then
  3184. if hit.Name ~= p.Name then
  3185. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3186. Debounces.Slashed = true]]--
  3187. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
  3188. hit:FindFirstChild("Humanoid").PlatformStand = true
  3189. wait(1)
  3190. --Debounces.Slashed = false
  3191. --end
  3192. end
  3193. end
  3194. elseif ht and hit:IsA("Hat") then
  3195. if hit.Parent.Name ~= p.Name then
  3196. if hit.Parent:FindFirstChild("Humanoid") then
  3197. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3198. Debounces.Slashed = true]]--
  3199. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  3200. hit:FindFirstChild("Humanoid").PlatformStand = true
  3201. wait(1)
  3202. --Debounces.Slashed = false
  3203. --end
  3204. end
  3205. end
  3206. end
  3207. end)
  3208. Parts[#Parts+1] = P
  3209. end
  3210. local BREAKIT = false
  3211. local CParts = {}
  3212. local Rocks = {}
  3213. local LastPos = nil
  3214. for i = 1,70 do
  3215. for i2,v in pairs(Parts) do
  3216. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  3217. local cf = v.CFrame
  3218. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  3219. v.CFrame = cf
  3220. v.Transparency = v.Transparency+0.02
  3221. if v.Transparency >= 0.975 then BREAKIT = true end
  3222. if v.Name == "0" then
  3223. local Ignore = {}
  3224. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3225. if v.Character ~= nil then
  3226. Ignore[#Ignore+1] = v.Character
  3227. end
  3228. end
  3229. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  3230. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  3231. if Hit ~= nil then
  3232. if #Rocks == 0 then
  3233. for i = 1,5 do
  3234. local P = Instance.new("Part",char)
  3235. Rocks[#Rocks+1] = P
  3236. P.Anchored = true
  3237. P.FormFactor = "Custom"
  3238. P.BrickColor = Hit.BrickColor
  3239. P.Material = Hit.Material
  3240. P.TopSurface = "Smooth"
  3241. P.BottomSurface = "Smooth"
  3242. P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100)
  3243. end
  3244. end
  3245. for i,P in pairs(Rocks) do
  3246. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  3247. end
  3248. local P = Instance.new("Part",char)
  3249. CParts[#CParts+1] = {P,tick()}
  3250. P.Anchored = true
  3251. P.FormFactor = "Custom"
  3252. P.BrickColor = Hit.BrickColor
  3253. P.Material = Hit.Material
  3254. P.TopSurface = "Smooth"
  3255. P.BottomSurface = "Smooth"
  3256. P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100)
  3257. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  3258. Pos = Pos.p
  3259. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  3260. local P = P:Clone()
  3261. CParts[#CParts+1] = {P,tick()}
  3262. P.Parent = char
  3263. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  3264. Pos = Pos.p
  3265. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  3266. if LastPos ~= nil then
  3267. local P = P:Clone()
  3268. CParts[#CParts+1] = {P,tick()}
  3269. P.Parent = char
  3270. P.BrickColor = TorsoColor
  3271. P.Material = "Neon"
  3272. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  3273. Pos = Pos.p
  3274. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  3275. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  3276. --P.Velocity = Vector3.new(0,-1000,0)
  3277. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  3278. end
  3279. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  3280. end
  3281. end
  3282. end
  3283. if BREAKIT then break end
  3284. wait(0.002)
  3285. end
  3286. for i,v in pairs(Rocks) do
  3287. CParts[#CParts+1] = {v,tick()}
  3288. end
  3289. for i,v in pairs(Parts) do
  3290. v:Destroy()
  3291. end
  3292. Parts = nil
  3293. while true do
  3294. local t = tick()
  3295. local p = nil
  3296. for i,v in pairs(CParts) do
  3297. if t-v[2] > 4 then
  3298. v[1].Transparency = v[1].Transparency+0.05
  3299. if v[1].Transparency >= 1 then
  3300. v[1]:Destroy()
  3301. CParts[i] = nil
  3302. end
  3303. end
  3304. p = v
  3305. end
  3306. if p == nil then break end
  3307. wait(0.002)
  3308. end
  3309. for i,v in pairs(CParts) do
  3310. v:Destroy()
  3311. end
  3312. CParts = {}
  3313. end)
  3314. for i = 1, 20 do
  3315. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  3316. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  3317. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  3318. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  3319. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  3320. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  3321. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  3322. if Debounces.on == false then break end
  3323. rs:wait(2)
  3324. end
  3325. if Debounces.CanAttack == false then
  3326. Debounces.CanAttack = true
  3327. Debounces.on = false
  3328. Debounces.NoIdl = false
  3329. end
  3330. end
  3331. end
  3332. end)
  3333. ----------------------------------------------------
  3334. local orbt={}
  3335. local stlt={}
  3336. local chot={}
  3337. local cfxt={}
  3338. local pfxt={}
  3339. local cns=0
  3340. local cnOrb=nil
  3341. mouse.KeyDown:connect(function(key)
  3342. if key == "u" then
  3343. if Debounces.CanAttack == true then
  3344. Debounces.CanAttack = false
  3345. Debounces.NoIdl = true
  3346. Debounces.on = true
  3347. orbt={}
  3348. stlt={}
  3349. chot={}
  3350. cfxt={}
  3351. for i = 1, 20 do
  3352. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  3353. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  3354. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  3355. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  3356. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3357. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3358. if Debounces.on == false then end
  3359. rs:wait()
  3360. end
  3361. z2 = Instance.new("Sound",char)
  3362. z2.SoundId = "rbxassetid://489657591"
  3363. z2.Pitch = 1
  3364. z2.Volume = 2
  3365. wait(0.1)
  3366. z2:Play()
  3367. cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"White")
  3368. debris:AddItem(cnOrb,50)
  3369. cnOrb.Mesh.MeshType=3
  3370. cnOrb.Transparency = 0.5
  3371. table.insert(orbt,cnOrb)
  3372. table.insert(stlt,cnOrb)
  3373. local nt=0
  3374. for i=0,14.75,0.02 do
  3375. nt=nt+1
  3376. cns=i
  3377. if nt>=2 then
  3378. nt=0
  3379. local cho=nwPrt(mod3,Vector3.new(0.2,0.2,0.2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"White")
  3380. debris:AddItem(cho,1)
  3381. cho.Mesh.MeshType=3
  3382. cho.Transparency = 1
  3383. table.insert(chot,cho)
  3384. end
  3385. cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1)
  3386. cnOrb.Mesh.Scale=Vector3.new(i,i,i)
  3387. wait()
  3388. end
  3389. for i = 1, 14 do
  3390. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  3391. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  3392. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  3393. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3394. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  3395. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  3396. if Debounces.on == false then end
  3397. rs:wait()
  3398. end
  3399. coroutine.wrap(function()
  3400. for i = 1, 20 do
  3401. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  3402. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  3403. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  3404. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  3405. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  3406. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  3407. if Debounces.on == false then end
  3408. rs:wait()
  3409. end
  3410. end)()
  3411. wait(0.1)
  3412. stlt={}
  3413. local ry,ht,ps=newRay(root.CFrame*CFrame.new(0,0,-4),root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)*CFrame.new(0,0,-2),160,{char})
  3414. cnOrb.CFrame=root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)
  3415. local nt=0
  3416. for i=0,160,3 do
  3417. cnOrb.CFrame=cnOrb.CFrame*CFrame.new(0,0,-3)
  3418. nt=nt+1
  3419. if nt>=6 then
  3420. nt=0
  3421. local cfx=nwPrt(mod3,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,0),"Really black")
  3422. cfx.Mesh.MeshId="rbxassetid://0"
  3423. cfx.Transparency=0.4
  3424. table.insert(cfxt,cfx)
  3425. debris:AddItem(cfx,1)
  3426. end
  3427. if (cnOrb.Position-ps).magnitude<12 then
  3428. break
  3429. end
  3430. wait()
  3431. end
  3432. orbt={}
  3433.  
  3434. for i=0,1,0.1 do
  3435. local cs=cnOrb.Mesh.Scale
  3436. cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i))
  3437. wait()
  3438. end
  3439. local ofx=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"Really black")
  3440. ofx.Transparency=0.5
  3441. ofx.Mesh.MeshType=3
  3442. ofx.Mesh.Scale=Vector3.new(30,30,30)
  3443. for _,v in pairs(game:service"Players":GetChildren()) do
  3444. pcall(function()
  3445. for _,c in pairs(v.Character:GetChildren()) do
  3446. if v~=p and c:IsA("Part") and (cnOrb.CFrame.p-c.CFrame.p).magnitude<120 and (cnOrb.CFrame.p-c.CFrame.p).magnitude>50 then
  3447. local hrp=v.Character:FindFirstChild("HumanoidRootPart")
  3448. hrp.Velocity=CFrame.new(hrp.CFrame.p,(cnOrb.CFrame*CFrame.new(0,10,0)).p).lookVector*2500
  3449. end
  3450. end
  3451. end)
  3452. end
  3453. for i=0,1,0.05 do
  3454. local cs=cnOrb.Mesh.Scale
  3455. cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,0.1,i),Tween(cs.Y,0.1,i),Tween(cs.Z,0.1,i))
  3456. local ofs=ofx.Mesh.Scale
  3457. ofx.Mesh.Scale=Vector3.new(Tween(ofs.X,0.1,i),Tween(ofs.Y,0.1,i),Tween(ofs.Z,0.1,i))
  3458. ofx.Transparency=Tween(ofx.Transparency,1,i)
  3459. wait()
  3460. end
  3461. ofx:Destroy()
  3462. cnOrb.CFrame=CFrame.new(cnOrb.Position)*CFrame.new(0,10,0)
  3463. local cnfx=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black")
  3464. cnfx.Mesh.MeshType=3
  3465. cnOrb.Transparency=0.5
  3466. local cnr=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black")
  3467. cnr.Transparency=0.5
  3468. cnr.Mesh.MeshType=3
  3469. local rn1=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.Angles(math.rad(90),0,0),"White")
  3470. rn1.Transparency=1
  3471. rn1.Mesh.MeshId="rbxassetid://3270017"
  3472. local rn2=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"White")
  3473. rn2.Transparency=1
  3474. rn2.Mesh.MeshId="rbxassetid://3270017"
  3475. local rn3=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame*CFrame.Angles(math.rad(-90),0,0),"White")
  3476. rn3.Transparency=1
  3477. rn3.Mesh.MeshId="rbxassetid://3270017"
  3478. local rn4=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"White")
  3479. rn4.Transparency=1
  3480. rn4.Mesh.MeshId="rbxassetid://3270017"
  3481. local rn5=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White")
  3482. rn5.Transparency=1
  3483. rn5.Mesh.MeshId="rbxassetid://3270017"
  3484. local rn6=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White")
  3485. rn6.Transparency=1
  3486. rn6.Mesh.MeshId="rbxassetid://3270017"
  3487. local nt=0
  3488. local cs=nil
  3489. z4 = Instance.new("Sound",char)
  3490. z4.SoundId = "rbxassetid://419447292"
  3491. z4.Pitch = 1
  3492. z4.Volume = 10
  3493. wait(0.1)
  3494. z4:Play()
  3495. z3 = Instance.new("Sound",char)
  3496. z3.SoundId = "rbxassetid://421328847"
  3497. z3.Pitch = 1
  3498. z3.Volume = 10
  3499. wait(0.1)
  3500. z3:Play()
  3501. for i=0,1,0.05 do
  3502. cs=cnOrb.Mesh.Scale
  3503. cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i))
  3504. local fs=cnfx.Mesh.Scale
  3505. cnfx.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,120,i))
  3506. cnfx.Transparency=cnfx.Transparency+0.05
  3507. rn1.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i))
  3508. rn2.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i))
  3509. rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3))
  3510. rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3))
  3511. rn1.Transparency=Tween(rn1.Transparency,0.8,i)
  3512. rn2.Transparency=Tween(rn2.Transparency,0.8,i)
  3513. rn3.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i))
  3514. rn4.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i))
  3515. rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3))
  3516. rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3))
  3517. rn3.Transparency=Tween(rn1.Transparency,0.8,i)
  3518. rn4.Transparency=Tween(rn2.Transparency,0.8,i)
  3519. rn5.Transparency=Tween(rn2.Transparency,0.25,i)
  3520. rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(-20),math.rad(-18),math.rad(-9))
  3521. rn5.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i))
  3522. rn6.Transparency=Tween(rn2.Transparency,0.25,i)
  3523. rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(20),math.rad(18),math.rad(9))
  3524. rn6.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i))
  3525. local rs=cnr.Mesh.Scale
  3526. cnr.Mesh.Scale=Vector3.new(Tween(rs.X,10,i),Tween(rs.Y,10,i),Tween(rs.Z,10,i))
  3527. nt=nt+1
  3528. if nt>=6 then
  3529. local pls={}
  3530. for _,v in pairs(game.Players:GetChildren()) do
  3531. table.insert(pls,v)
  3532. end
  3533. local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls)
  3534. local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White")
  3535. pffx.Mesh.MeshId="rbxassetid://0"
  3536. pffx.Mesh.Scale=Vector3.new(cs.X,cs.Y/5,cs.Z)
  3537. debris:AddItem(pffx,2)
  3538. table.insert(pfxt,pffx)
  3539. nt=0
  3540. end
  3541. wait()
  3542. end
  3543. local int=0
  3544. coroutine.wrap(function()
  3545. for i=1,500 do
  3546. rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5))
  3547. rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5))
  3548. rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5))
  3549. rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5))
  3550. rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(5),math.rad(5),math.rad(5))
  3551. rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(-5),math.rad(-5),math.rad(-5))
  3552. nt=nt+1
  3553. int=int+1
  3554. local htd={p}
  3555. for _,v in pairs(game:service"Players":GetChildren()) do
  3556. pcall(function()
  3557. for _,c in pairs(v.Character:GetChildren()) do
  3558. if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
  3559. v.Character:FindFirstChild("Humanoid").Health=v.Character:FindFirstChild("Humanoid").Health-2
  3560. v.Character:FindFirstChild("HumanoidRootPart").Velocity=Vector3.new(0,0,0)
  3561. table.insert(htd,v)
  3562. end
  3563. end
  3564. end)
  3565. end
  3566. htd={p}
  3567. if int>=6 then
  3568. for _,v in pairs(game:service"Players":GetChildren()) do
  3569. pcall(function()
  3570. for _,c in pairs(v.Character:GetChildren()) do
  3571. if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
  3572. table.insert(htd,v)
  3573. local hfx=nwPrt(mod3,Vector3.new(1,1,1),c.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),"White")
  3574. hfx.Mesh.Scale=Vector3.new(2,2,2)
  3575. hfx.Mesh.MeshType=3
  3576. debris:AddItem(hfx,2)
  3577. coroutine.wrap(function()
  3578. pcall(function()
  3579. for i=0,1,0.05 do
  3580. pcall(function()
  3581. local hs=hfx.Mesh.Scale
  3582. hfx.CFrame=Lerp(hfx.CFrame,cnOrb.CFrame,i)
  3583. hfx.Mesh.Scale=Vector3.new(Tween(hs.X,0.1,i),Tween(hs.Y,0.1,i),Tween(hs.Z,0.1,i))
  3584. end)
  3585. wait()
  3586. end
  3587. hfx:Destroy()
  3588. end)
  3589. end)()
  3590. end
  3591. end
  3592. end)
  3593. end
  3594. int=0
  3595. end
  3596. if nt>=4 then
  3597. local pls={}
  3598. for _,v in pairs(game.Players:GetChildren()) do
  3599. table.insert(pls,v)
  3600. end
  3601. local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls)
  3602. local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White")
  3603. pffx.Transparency=0.4
  3604. pffx.Mesh.MeshId="rbxassetid://0"
  3605. pffx.Mesh.Scale=Vector3.new(cs.X-10,cs.Y/5,cs.Z-10)
  3606. debris:AddItem(pffx,2)
  3607. table.insert(pfxt,pffx)
  3608. nt=0
  3609. end
  3610. wait()
  3611. end
  3612. cnOrb:Destroy()
  3613. cnfx:Destroy()
  3614. for _,v in pairs(mod3:GetChildren()) do
  3615. v:Destroy()
  3616. end
  3617. orbt={}
  3618. stlt={}
  3619. chot={}
  3620. cfxt={}
  3621. pfxt={}
  3622. end)()
  3623. if Debounces.CanAttack == false then
  3624. Debounces.CanAttack = true
  3625. Debounces.NoIdl = false
  3626. Debounces.on = false
  3627. end
  3628. end
  3629. end
  3630. end)
  3631. ----------------------------------------------------
  3632. --[[mouse.KeyDown:connect(function(key)
  3633. if key == "y" then
  3634. if Debounces.CanAttack == true then
  3635. Debounces.CanAttack = false
  3636. Debounces.NoIdl = true
  3637. Debounces.on = true
  3638. local shell = Instance.new("Part",torso)
  3639. shell.BrickColor = TorsoColor
  3640. shell.Anchored = false
  3641. shell.CanCollide = false
  3642. shell.Locked = true
  3643. shell.TopSurface = "SmoothNoOutlines"
  3644. shell.BottomSurface = "SmoothNoOutlines"
  3645. shell.Size = Vector3.new(1.2,1.2,1.2)
  3646. shell.FormFactor = 3
  3647. local shellm = Instance.new("SpecialMesh",shell)
  3648. shellm.MeshType = "Sphere"
  3649. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  3650. Omega = function()
  3651. local X = Instance.new("Part",char)
  3652. local O = Instance.new("ObjectValue",X)
  3653. O.Name = "creator"
  3654. X.Locked = true
  3655. X.Name = "Shell"
  3656. X.Anchored = false
  3657. X.CanCollide = false
  3658. X.Transparency = 0.5
  3659. X.Reflectance = 0
  3660. X.BottomSurface = 0
  3661. X.TopSurface = 0
  3662. X.Shape = 0
  3663. local V = Instance.new("ObjectValue",X)
  3664. V.Value = char
  3665. V.Name = "creator"
  3666. X.BrickColor = TorsoColor
  3667. X.Size = Vector3.new(40,40,40)
  3668. --X.Material = "Neon"
  3669. local Z = Instance.new("SpecialMesh",X)
  3670. Z.MeshType = "Sphere"
  3671. Z.Scale = Vector3.new(0.2,0.2,0.2)
  3672. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3673. local bv = Instance.new("BodyVelocity",X)
  3674. bv.maxForce = Vector3.new(99999,99999,99999)
  3675. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3676. bv.velocity = root.CFrame.lookVector*10
  3677. Explode = X.Touched:connect(function(hit)
  3678. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  3679. local cf = X.CFrame
  3680. bv:Destroy()
  3681. X.Anchored = true
  3682. Z:Remove()
  3683. Explode:disconnect()
  3684. X.Size = Vector3.new(3,3,3)
  3685. X.Touched:connect(function(hit) end)
  3686. X.CanCollide = false
  3687. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  3688. if v:FindFirstChild('Humanoid') then
  3689. v.Humanoid:TakeDamage(math.random(80,120))
  3690. end
  3691. end
  3692. for i = 1, (40) do rs:wait()
  3693. X.Transparency = X.Transparency + (1/40)
  3694. X.Size = X.Size + Vector3.new(1,1,1)
  3695. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  3696. end
  3697. X:Destroy()
  3698. end
  3699. end)
  3700. end
  3701. for i = 1,200 do
  3702. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3703. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  3704. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  3705. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3706. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3707. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3708. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3709. if Debounces.on == false then break end
  3710. rs:wait()
  3711. end
  3712. for i = 1,30 do
  3713. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  3714. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  3715. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  3716. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3717. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3718. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3719. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3720. if Debounces.on == false then break end
  3721. rs:wait()
  3722. end
  3723. for i = 1,40 do
  3724. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  3725. shell.Size = shell.Size + Vector3.new(1,1,1)
  3726. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  3727. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  3728. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3729. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3730. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3731. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3732. if Debounces.on == false then break end
  3733. rs:wait()
  3734. end
  3735. for i = 1,40 do
  3736. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  3737. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  3738. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  3739. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3740. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3741. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3742. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3743. if Debounces.on == false then break end
  3744. rs:wait()
  3745. end
  3746. for i = 1,60 do
  3747. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3748. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  3749. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  3750. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3751. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3752. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3753. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3754. if Debounces.on == false then break end
  3755. rs:wait()
  3756. end
  3757. for i = 1,60 do
  3758. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3759. shell.Size = shell.Size + Vector3.new(1,1,1)
  3760. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  3761. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  3762. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3763. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3764. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3765. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3766. if Debounces.on == false then break end
  3767. rs:wait()
  3768. end
  3769. if Debounces.CanAttack == false then
  3770. Debounces.CanAttack = true
  3771. Debounces.NoIdl = false
  3772. Debounces.on = false
  3773. end
  3774. end
  3775. end
  3776. end)]]--
  3777. ----------------------------------------------------
  3778. Charging = false
  3779. mouse.KeyDown:connect(function(key)
  3780. if key == "r" then
  3781. if Charging == false then
  3782. Charging = true
  3783. if Debounces.CanAttack == true then
  3784. Debounces.CanAttack = false
  3785. Debounces.NoIdl = true
  3786. Debounces.on = true
  3787. for i = 1,20 do
  3788. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  3789. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  3790. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3791. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3792. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3793. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3794. if Debounces.on == false then break end
  3795. rs:wait()
  3796. end
  3797. --[[for i = 1,20 do
  3798. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  3799. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  3800. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  3801. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3802. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  3803. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  3804. if Debounces.on == false then break end
  3805. rs:wait()
  3806. end]]--
  3807. xay = Instance.new("Sound",char)
  3808. xay.SoundId = "rbxassetid://419447292"
  3809. xay.Pitch = 1
  3810. xay.Volume = 2.5
  3811. xay:Play()
  3812. pt=Instance.new('Part',torso)
  3813. pt.Anchored=true
  3814. pt.CanCollide=false
  3815. pt.Locked = true
  3816. pt.FormFactor='Custom'
  3817. pt.Size=Vector3.new(1,1,1)
  3818. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3819. pt.Transparency=.6
  3820. pt.BrickColor=BrickColor.new('Really black')
  3821. msh=Instance.new('SpecialMesh',pt)
  3822. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3823. msh.Scale=Vector3.new(8,4,8)
  3824. pt2=pt:clone()
  3825. pt2.Parent = torso
  3826. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3827. pt2.BrickColor=TorsoColor
  3828. msh2=msh:clone()
  3829. msh2.Parent=pt2
  3830. msh2.Scale=Vector3.new(10,5,10)
  3831.  
  3832. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  3833.  
  3834. bl = Instance.new("Part", char)
  3835. bl.Locked = true
  3836. bl.Name = "Shell"
  3837. bl.BrickColor = BrickColor.new("Really black")
  3838. bl.Anchored = true
  3839. bl.CanCollide = false
  3840. bl.Transparency = 0
  3841. bl.Reflectance = 0
  3842. bl.BottomSurface = 0
  3843. bl.TopSurface = 0
  3844. bl.Shape = 0
  3845. blm = Instance.new("SpecialMesh",bl)
  3846. blm.MeshType = "Sphere"
  3847. blm.Scale = Vector3.new(1,1,1)
  3848. blm.MeshId = "rbxassetid://9982590"
  3849.  
  3850. bl2 = Instance.new("Part", char)
  3851. bl2.Locked = true
  3852. bl2.Name = "Shella"
  3853. bl2.BrickColor = BrickColor.new("Really black")
  3854. bl2.Anchored = true
  3855. bl2.CanCollide = false
  3856. bl2.Transparency = 0
  3857. bl2.Reflectance = 0
  3858. bl2.BottomSurface = 0
  3859. bl2.TopSurface = 0
  3860. bl2.Shape = 0
  3861. blm2 = Instance.new("SpecialMesh",bl2)
  3862. blm2.MeshType = "Sphere"
  3863. blm2.Scale = Vector3.new(1,1,1)
  3864. blm2.MeshId = "rbxassetid://9982590"
  3865.  
  3866. coroutine.resume(coroutine.create(function()
  3867. for i=1, math.huge, 4 do
  3868. if Charging == true then
  3869. rs:wait()
  3870. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3871. blm.Scale = blm.Scale + Vector3.new(15, 15, 15)
  3872. bl.Transparency = bl.Transparency + 0.075
  3873. bl2.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3874. blm2.Scale = blm2.Scale + Vector3.new(5, 5, 5)
  3875. bl2.Transparency = bl2.Transparency + 0.025
  3876. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  3877. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  3878. msh.Scale = msh.Scale + Vector3.new(5,2.5,5)
  3879. msh2.Scale = msh2.Scale + Vector3.new(10,5,10)
  3880. elseif Charging == false then break
  3881. end
  3882. end
  3883. end))
  3884.  
  3885. repeat
  3886. local p = Instance.new('Part',torso)
  3887. p.formFactor = 'Custom'
  3888. p.Size = Vector3.new(1,1,1)
  3889. p.BrickColor = workspace.Base.BrickColor
  3890. p.CanCollide = false
  3891. p.Transparency = 0
  3892. p.Anchored = true
  3893. p.Locked=true
  3894. p.Material = workspace.Base.Material
  3895. s = math.random(1,40)/10
  3896. local m = Instance.new("BlockMesh",p)
  3897. m.Scale = Vector3.new(s,s,s)
  3898. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  3899. --[[coroutine.wrap(function()
  3900. wait(2)
  3901. while Charging == true do
  3902. wait(2)
  3903. GroundWave1()
  3904. wait(2)
  3905. end
  3906. end)()]]--
  3907. Spawn(function()
  3908. while rs:wait() do
  3909. if Charging == true then
  3910. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  3911. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  3912. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  3913. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3914. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  3915. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  3916. elseif Charging == false then break
  3917. end
  3918. end
  3919. end)
  3920. Spawn(function()
  3921. while rs:wait() do
  3922. if p.Transparency >= 1 then p:Destroy() break end
  3923. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3924. p.Transparency = p.Transparency+0.01
  3925. end
  3926. end)
  3927. wait(.3)
  3928. until Charging == false
  3929. end
  3930. end
  3931. end
  3932. end)
  3933. ----------------------------------------------------
  3934. mouse.KeyUp:connect(function(key)
  3935. if key == "r" then
  3936. if Charging == true then
  3937. Charging = false
  3938. pt:Destroy()
  3939. pt2:Destroy()
  3940. bl:Destroy()
  3941. if Debounces.CanAttack == false then
  3942. Debounces.CanAttack = true
  3943. Debounces.NoIdl = false
  3944. Debounces.on = false
  3945. end
  3946. end
  3947. end
  3948. end)
  3949. ----------------------------------------------------
  3950. mouse.KeyDown:connect(function(key)
  3951. if key == "g" then
  3952. if Debounces.CanAttack == true then
  3953. Debounces.CanAttack = false
  3954. Debounces.NoIdl = true
  3955. Debounces.on = true
  3956. local shell = Instance.new("Part",torso)
  3957. shell.BrickColor = TorsoColor
  3958. shell.Anchored = true
  3959. shell.CanCollide = false
  3960. shell.Locked = true
  3961. shell.TopSurface = "SmoothNoOutlines"
  3962. shell.BottomSurface = "SmoothNoOutlines"
  3963. shell.Size = Vector3.new(1,1,1)
  3964. shellm = Instance.new("SpecialMesh",shell)
  3965. shellm.MeshType = "Sphere"
  3966. shellm.Scale = Vector3.new(1,1,1)
  3967. local shell2 = Instance.new("Part",torso)
  3968. shell2.BrickColor = TorsoColor
  3969. shell2.Anchored = true
  3970. shell2.CanCollide = false
  3971. shell2.Locked = true
  3972. shell2.TopSurface = "SmoothNoOutlines"
  3973. shell2.BottomSurface = "SmoothNoOutlines"
  3974. shell2.Size = Vector3.new(1,1,1)
  3975. shellm2 = Instance.new("SpecialMesh",shell2)
  3976. shellm2.MeshType = "Sphere"
  3977. shellm2.Scale = Vector3.new(1,1,1)
  3978.  
  3979. function FindNearestTorso(Position,Distance,SinglePlayer)
  3980. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3981. local List = {}
  3982. for i,v in pairs(workspace:GetChildren())do
  3983. if v:IsA("Model")then
  3984. if v:findFirstChild("Torso")then
  3985. if v ~= char then
  3986. if(v.Torso.Position -Position).magnitude <= Distance then
  3987. table.insert(List,v)
  3988. end
  3989. end
  3990. end
  3991. end
  3992. end
  3993. return List
  3994. end
  3995.  
  3996. Shell = function()
  3997. local X = Instance.new("Part",char)
  3998. local O = Instance.new("ObjectValue",X)
  3999. O.Name = "creator"
  4000. X.Locked = true
  4001. X.Name = "Shell"
  4002. X.Anchored = false
  4003. X.CanCollide = false
  4004. X.Transparency = 0
  4005. X.Reflectance = 0
  4006. X.BottomSurface = 0
  4007. X.TopSurface = 0
  4008. X.Shape = 0
  4009. local V = Instance.new("ObjectValue",X)
  4010. V.Value = char
  4011. V.Name = "creator"
  4012. X.BrickColor = TorsoColor
  4013. X.Size = Vector3.new(1,1,1)
  4014. --X.Material = "Neon"
  4015. local Z = Instance.new("SpecialMesh",X)
  4016. Z.MeshType = "Sphere"
  4017. Z.Scale = Vector3.new(1,1,1)
  4018. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  4019. local bv = Instance.new("BodyVelocity",X)
  4020. bv.maxForce = Vector3.new(99999,99999,99999)
  4021. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  4022. bv.velocity = root.CFrame.lookVector*65
  4023. Explode = X.Touched:connect(function(hit)
  4024. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  4025. local cf = X.CFrame
  4026. bv:Destroy()
  4027. X.Anchored = true
  4028. Z:Remove()
  4029. Explode:disconnect()
  4030. X.Size = Vector3.new(3,3,3)
  4031. X.Touched:connect(function(hit) end)
  4032. X.CanCollide = false
  4033. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  4034. if v:FindFirstChild('Humanoid') then
  4035. v.Humanoid:TakeDamage(math.random(6,12))
  4036. end
  4037. end
  4038. for i = 1, (40) do rs:wait()
  4039. X.Transparency = X.Transparency + (1/40)
  4040. X.Size = X.Size + Vector3.new(1,1,1)
  4041. X.CFrame = cf
  4042. end
  4043. X:Destroy()
  4044. end
  4045. end)
  4046. end
  4047. Shell()
  4048. for i = 1, 10 do
  4049. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4050. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4051. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4052. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4053. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  4054. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  4055. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  4056. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  4057. if Debounces.on == false then break end
  4058. rs:wait()
  4059. end
  4060. Shell()
  4061. shell.Transparency = 1
  4062. for i = 1, 10 do
  4063. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4064. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4065. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4066. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4067. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4068. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4069. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4070. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4071. if Debounces.on == false then break end
  4072. rs:wait()
  4073. end
  4074. Shell()
  4075. shell.Transparency = 0
  4076. shell2.Transparency = 1
  4077. for i = 1, 10 do
  4078. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4079. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4080. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4081. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4082. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4083. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4084. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4085. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4086. if Debounces.on == false then break end
  4087. rs:wait()
  4088. end
  4089. Shell()
  4090. shell2.Transparency = 0
  4091. shell.Transparency = 1
  4092. for i = 1, 10 do
  4093. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4094. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4095. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4096. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4097. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4099. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4100. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4101. if Debounces.on == false then break end
  4102. rs:wait()
  4103. end
  4104. Shell()
  4105. shell.Transparency = 0
  4106. shell2.Transparency = 1
  4107. for i = 1, 10 do
  4108. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4109. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4110. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4111. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4112. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4113. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4114. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4115. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4116. if Debounces.on == false then break end
  4117. rs:wait()
  4118. end
  4119. Shell()
  4120. shell2.Transparency = 0
  4121. shell.Transparency = 1
  4122. for i = 1, 10 do
  4123. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4124. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4125. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4126. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4127. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4128. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4129. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4130. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4131. if Debounces.on == false then break end
  4132. rs:wait()
  4133. end
  4134. Shell()
  4135. shell.Transparency = 0
  4136. shell2.Transparency = 1
  4137. for i = 1, 10 do
  4138. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4139. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4140. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4141. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  4142. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4143. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4144. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4145. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4146. if Debounces.on == false then break end
  4147. rs:wait()
  4148. end
  4149. Shell()
  4150. shell2.Transparency = 0
  4151. shell.Transparency = 1
  4152. for i = 1, 10 do
  4153. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4154. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4155. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4156. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4157. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4158. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4159. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4160. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4161. if Debounces.on == false then break end
  4162. rs:wait()
  4163. end
  4164. Shell()
  4165. shell.Transparency = 0
  4166. shell2.Transparency = 1
  4167. for i = 1, 10 do
  4168. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4169. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4170. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4171. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4172. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4173. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4174. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4175. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4176. if Debounces.on == false then break end
  4177. rs:wait()
  4178. end
  4179. Shell()
  4180. shell2.Transparency = 0
  4181. shell.Transparency = 1
  4182. for i = 1, 10 do
  4183. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4184. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4185. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4186. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4187. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4188. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4189. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4190. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4191. if Debounces.on == false then break end
  4192. rs:wait()
  4193. end
  4194. Shell()
  4195. shell.Transparency = 0
  4196. shell2.Transparency = 1
  4197. for i = 1, 10 do
  4198. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4199. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4200. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4201. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4202. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4203. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4204. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4205. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4206. if Debounces.on == false then break end
  4207. rs:wait()
  4208. end
  4209. Shell()
  4210. shell2.Transparency = 0
  4211. shell.Transparency = 1
  4212. for i = 1, 10 do
  4213. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4214. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4215. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4216. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4217. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4218. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4219. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4220. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4221. if Debounces.on == false then break end
  4222. rs:wait()
  4223. end
  4224. Shell()
  4225. shell.Transparency = 0
  4226. shell2.Transparency = 1
  4227. for i = 1, 10 do
  4228. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4229. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4230. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4231. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4232. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4233. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4234. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4235. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4236. if Debounces.on == false then break end
  4237. rs:wait()
  4238. end
  4239. shell.Transparency = 1
  4240. if Debounces.CanAttack == false then
  4241. Debounces.CanAttack = true
  4242. Debounces.NoIdl = false
  4243. Debounces.on = false
  4244. end
  4245. end
  4246. end
  4247. end)
  4248. ----------------------------------------------------
  4249. Search = false
  4250. mouse.KeyDown:connect(function(key)
  4251. if key == "n" then
  4252. if Search == false then
  4253. Search = true
  4254. for i,v in pairs(game.Players:getPlayers()) do
  4255. if v.Name~=char.Name then
  4256. for j,k in pairs(v.Character:GetChildren()) do
  4257. if k:IsA("BasePart") and k.Transparency >= 1 then
  4258. bawx=Instance.new("SelectionBox",cam)
  4259. bawx.Color = BrickColor.new("Bright red")
  4260. bawx.Transparency = .5
  4261. bawx.Adornee = k
  4262. end
  4263. end
  4264. end
  4265. end
  4266. elseif Search == true then
  4267. Search = false
  4268. for i, v in pairs(cam:GetChildren()) do
  4269. if v:IsA("SelectionBox") then
  4270. v:Destroy()
  4271. end
  4272. end
  4273. end
  4274. end
  4275. end)
  4276. ----------------------------------------------------
  4277. Grab = false
  4278. mouse.KeyDown:connect(function(key)
  4279. if key == "z" then
  4280. Debounces.on = true
  4281. Debounces.NoIdl = true
  4282. Debounces.ks = true
  4283. if Grab == false then
  4284. gp = nil
  4285. for i = 1, 20 do
  4286. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  4287. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  4288. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  4289. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  4290. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  4291. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  4292. if Debounces.on == false then break end
  4293. rs:wait()
  4294. end
  4295. con1=larm.Touched:connect(function(hit) -- this is grab
  4296. ht = hit.Parent
  4297. hum1=ht:FindFirstChild('Humanoid')
  4298. if hum1 ~= nil then
  4299. if Debounces.ks==true then
  4300. z = Instance.new("Sound",hed)
  4301. z.SoundId = "rbxassetid://169380525"
  4302. z.Volume = 1
  4303. z:Play()
  4304. Debounces.ks=false
  4305. end
  4306. hum1.PlatformStand=true
  4307. gp = ht
  4308. Grab = true
  4309. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  4310. asd.Parent = larm
  4311. asd.Name = "asd"
  4312. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  4313. --[[elseif hum1 == nil then
  4314. con1:disconnect()
  4315. wait() return]]--
  4316. end
  4317. end)
  4318. for i = 1, 20 do
  4319. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  4320. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  4321. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  4322. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  4323. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  4324. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  4325. if Debounces.on == false then break end
  4326. rs:wait()
  4327. end
  4328. if hum1 == nil then
  4329. Debounces.on = false
  4330. Debounces.NoIdl = false
  4331. end
  4332. con1:disconnect()
  4333. elseif Grab == true then
  4334. Grab = false
  4335. Punch()
  4336. z = Instance.new("Sound",hed)
  4337. z.SoundId = "rbxassetid://169380525"
  4338. z.Pitch = ptz[math.random(1,#ptz)]
  4339. z.Volume = 1
  4340. z:Play()
  4341. for i = 1, 10 do
  4342. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4343. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4344. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4345. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4346. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4347. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4348. if Debounces.on == false then break end
  4349. rs:wait()
  4350. end
  4351. Punch()
  4352. z = Instance.new("Sound",hed)
  4353. z.SoundId = "rbxassetid://169380525"
  4354. z.Pitch = ptz[math.random(1,#ptz)]
  4355. z.Volume = 1
  4356. z:Play()
  4357. for i = 1, 10 do
  4358. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4359. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4360. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4361. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4362. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4363. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4364. if Debounces.on == false then break end
  4365. rs:wait()
  4366. end
  4367. Punch()
  4368. z = Instance.new("Sound",hed)
  4369. z.SoundId = "rbxassetid://169380525"
  4370. z.Pitch = ptz[math.random(1,#ptz)]
  4371. z.Volume = 1
  4372. z:Play()
  4373. for i = 1, 10 do
  4374. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4375. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4376. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4377. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4378. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4379. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4380. if Debounces.on == false then break end
  4381. rs:wait()
  4382. end
  4383. Punch()
  4384. z = Instance.new("Sound",hed)
  4385. z.SoundId = "rbxassetid://169380525"
  4386. z.Pitch = ptz[math.random(1,#ptz)]
  4387. z.Volume = 1
  4388. z:Play()
  4389. for i = 1, 10 do
  4390. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4391. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4392. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4393. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4394. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4395. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4396. if Debounces.on == false then break end
  4397. rs:wait()
  4398. end
  4399. Punch()
  4400. z = Instance.new("Sound",hed)
  4401. z.SoundId = "rbxassetid://169380525"
  4402. z.Pitch = ptz[math.random(1,#ptz)]
  4403. z.Volume = 1
  4404. z:Play()
  4405. for i = 1, 10 do
  4406. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4407. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4409. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4411. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4412. if Debounces.on == false then break end
  4413. rs:wait()
  4414. end
  4415. Punch()
  4416. z = Instance.new("Sound",hed)
  4417. z.SoundId = "rbxassetid://169380525"
  4418. z.Pitch = ptz[math.random(1,#ptz)]
  4419. z.Volume = 1
  4420. z:Play()
  4421. for i = 1, 10 do
  4422. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4423. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4424. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4425. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4426. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4427. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4428. if Debounces.on == false then break end
  4429. rs:wait()
  4430. end
  4431. Punch()
  4432. z = Instance.new("Sound",hed)
  4433. z.SoundId = "rbxassetid://169380525"
  4434. z.Pitch = ptz[math.random(1,#ptz)]
  4435. z.Volume = 1
  4436. z:Play()
  4437. for i = 1, 10 do
  4438. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4439. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4440. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4441. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4442. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4443. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4444. if Debounces.on == false then break end
  4445. rs:wait()
  4446. end
  4447. Punch()
  4448. z = Instance.new("Sound",hed)
  4449. z.SoundId = "rbxassetid://169380525"
  4450. z.Pitch = ptz[math.random(1,#ptz)]
  4451. z.Volume = 1
  4452. z:Play()
  4453. for i = 1, 10 do
  4454. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4455. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4456. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4457. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4458. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4459. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4460. if Debounces.on == false then break end
  4461. rs:wait()
  4462. end
  4463. Punch()
  4464. z = Instance.new("Sound",hed)
  4465. z.SoundId = "rbxassetid://169380525"
  4466. z.Pitch = ptz[math.random(1,#ptz)]
  4467. z.Volume = 1
  4468. z:Play()
  4469. for i = 1, 10 do
  4470. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4471. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4472. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4473. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4474. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4475. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4476. if Debounces.on == false then break end
  4477. rs:wait()
  4478. end
  4479. Punch()
  4480. z = Instance.new("Sound",hed)
  4481. z.SoundId = "rbxassetid://169380525"
  4482. z.Pitch = ptz[math.random(1,#ptz)]
  4483. z.Volume = 1
  4484. z:Play()
  4485. for i = 1, 10 do
  4486. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4487. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4488. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4489. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4490. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4491. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4492. if Debounces.on == false then break end
  4493. rs:wait()
  4494. end
  4495. Punch()
  4496. z = Instance.new("Sound",hed)
  4497. z.SoundId = "rbxassetid://169380525"
  4498. z.Pitch = ptz[math.random(1,#ptz)]
  4499. z.Volume = 1
  4500. z:Play()
  4501. for i = 1, 10 do
  4502. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4503. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4504. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4505. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4506. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4507. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4508. if Debounces.on == false then break end
  4509. rs:wait()
  4510. end
  4511. Punch()
  4512. z = Instance.new("Sound",hed)
  4513. z.SoundId = "rbxassetid://169380525"
  4514. z.Pitch = ptz[math.random(1,#ptz)]
  4515. z.Volume = 1
  4516. z:Play()
  4517. for i = 1, 10 do
  4518. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4519. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4520. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4521. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4522. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4523. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4524. if Debounces.on == false then break end
  4525. rs:wait()
  4526. end
  4527. con1:disconnect()
  4528. Debounces.on = false
  4529. Debounces.NoIdl = false
  4530. if gp ~= nil then
  4531. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  4532. for i,v in pairs(larm:GetChildren()) do
  4533. if v.Name == "asd" and v:IsA("Weld") then
  4534. v:Remove()
  4535. end
  4536. end
  4537. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  4538. bv.maxForce = Vector3.new(400000, 400000, 400000)
  4539. bv.P = 125000
  4540. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  4541. hum1=nil
  4542. ht=nil
  4543. Debounces.on = false
  4544. Debounces.NoIdl = false
  4545. elseif ht == nil then wait()
  4546. Grab = false
  4547. Debounces.on = false
  4548. Debounces.NoIdl = false
  4549. end
  4550. end
  4551. end
  4552. end)
  4553. ----------------------------------------------------
  4554. paly = game.Players.LocalPlayer
  4555. paly = game.Players.LocalPlayer
  4556. p = game.Players.LocalPlayer
  4557. char = paly.Character
  4558. vt = Vector3.new
  4559. rarm = char["Right Arm"]
  4560. larm = char["Left Arm"]
  4561. local maincolor = char.Torso.BrickColor
  4562.  
  4563. local orb = Instance.new("Part")
  4564. orb.Parent = char
  4565. orb.Size = Vector3.new(0.5, 0.5, 0.5)
  4566. orb.Archivable = true
  4567. orb.Transparency = 1
  4568. orb.BrickColor = maincolor
  4569. orb.Material = "Neon"
  4570. orb.CanCollide = false
  4571. local weld1 = Instance.new("Weld")
  4572. weld1.Parent = rarm
  4573. weld1.Part0 = rarm
  4574. weld1.Part1 = orb
  4575. weld1.C1 = CFrame.new(0, 1.125, 0)
  4576. local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
  4577. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  4578. local effecto = Instance.new("ParticleEmitter",orb)
  4579. effecto.LightEmission = 1
  4580. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  4581. effecto.Color = ColorSequence.new(maincolor.Color)
  4582. effecto.Rate = 10000
  4583. effecto.Lifetime = NumberRange.new(1)
  4584. effecto.Size = NumberSequence.new({pt1,pt2})
  4585. effecto.Speed = NumberRange.new(0,0)
  4586. effecto.RotSpeed = NumberRange.new(100,100)
  4587.  
  4588. local orbz = Instance.new("Part")
  4589. orbz.Parent = char
  4590. orbz.Size = Vector3.new(0.5, 0.5, 0.5)
  4591. orbz.Archivable = true
  4592. orbz.Transparency = 1
  4593. orbz.BrickColor = maincolor
  4594. orbz.Material = "Neon"
  4595. orbz.CanCollide = false
  4596. local weldz1 = Instance.new("Weld")
  4597. weldz1.Parent = larm
  4598. weldz1.Part0 = larm
  4599. weldz1.Part1 = orbz
  4600. weldz1.C1 = CFrame.new(0, 1.125, 0)
  4601. local effecton = Instance.new("ParticleEmitter",orbz)
  4602. effecton.LightEmission = 1
  4603. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  4604. effecton.Color = ColorSequence.new(maincolor.Color)
  4605. effecton.Rate = 10000
  4606. effecton.Lifetime = NumberRange.new(1)
  4607. effecton.Size = NumberSequence.new({pt1,pt2})
  4608. effecton.Speed = NumberRange.new(0,0)
  4609. effecton.RotSpeed = NumberRange.new(100,100)
  4610. -------------------------------------------
  4611.  
  4612. mouse.KeyDown:connect(function(key)
  4613. if string.byte(key) == 52 then
  4614. char.Humanoid.WalkSpeed = 60
  4615. end
  4616. end)
  4617. mouse.KeyUp:connect(function(key)
  4618. if string.byte(key) == 52 then
  4619. char.Humanoid.WalkSpeed = 8
  4620. end
  4621. end)
  4622. -------------------------------
  4623. local animpose = "Idle"
  4624. local lastanimpose = "Idle"
  4625. local sine = 0
  4626. local change = 1
  4627. local val = 0
  4628. local och = 0
  4629. local ffing = false
  4630. -------------------------------
  4631. game:GetService("RunService").RenderStepped:connect(function()
  4632. --[[if char.Humanoid.Jump == true then
  4633. jump = true
  4634. else
  4635. jump = false
  4636. end]]
  4637. char.Humanoid.FreeFalling:connect(function(f)
  4638. if f then
  4639. ffing = true
  4640. else
  4641. ffing = false
  4642. end
  4643. end)
  4644. sine = sine + change
  4645. if jumpn == true then
  4646. animpose = "Jumping"
  4647. elseif ffing == true then
  4648. animpose = "Freefalling"
  4649. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  4650. animpose = "Idle"
  4651. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  4652. animpose = "Walking"
  4653. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  4654. animpose = "Running"
  4655. end
  4656. if animpose ~= lastanimpose then
  4657. sine = 0
  4658. if Debounces.NoIdl == false then
  4659. if animpose == "Idle" then
  4660. for i = 1, 2 do
  4661. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  4662. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  4663. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  4664. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4665. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  4666. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  4667. end
  4668. elseif animpose == "Walking" then
  4669. for i = 1, 2 do
  4670. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  4671. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4672. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4673. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4674. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4675. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4676. end
  4677. elseif animpose == "Running" then
  4678. for i = 1, 2 do
  4679. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  4680. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  4681. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  4682. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  4683. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  4684. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  4685. wait()
  4686. end
  4687. end
  4688. else
  4689. end
  4690. end
  4691. lastanimpose = animpose
  4692. if Debounces.NoIdl == false then
  4693. if animpose == "Idle" then
  4694. change = 0.5
  4695. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  4696. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  4697. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  4698. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  4699. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  4700. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  4701. elseif animpose == "Walking" then
  4702. change = 1
  4703. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(-28),math.rad(10+2*math.cos(sine/14))), 0.2)
  4704. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(50),math.rad(-45),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4705. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4706. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4707. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35, 0, 0), 0.4)
  4708. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.475,0,0), 0.4)
  4709. elseif animpose == "Running" then
  4710. change = 1
  4711. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  4712. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  4713. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  4714. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  4715. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  4716. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  4717. end
  4718. end
  4719. end)
  4720.  
  4721. hum.MaxHealth = math.huge
  4722. wait(3)
  4723. hum.Health = hum.MaxHealth
  4724.  
  4725. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  4726. --[[Part0 = Vector3 (Start pos)
  4727. Part1 = Vector3 (End pos)
  4728. Times = number (Amount of lightning parts)
  4729. Offset = number (Offset)
  4730. Color = color (brickcolor value)
  4731. Thickness = number (thickness)
  4732. Trans = number (transparency)
  4733. ]]--
  4734. local magz = (Part0 - Part1).magnitude
  4735. local curpos = Part0
  4736. local trz = {-Offset,Offset}
  4737. for i=1,Times do
  4738. local li = Instance.new("Part", torso)
  4739. li.Name = "Lightning"
  4740. li.TopSurface =0
  4741. li.Material = "Neon"
  4742. li.BottomSurface = 0
  4743. li.Anchored = true
  4744. li.Locked = true
  4745. li.Transparency = Trans or 0.4
  4746. li.BrickColor = TorsoColor
  4747. li.formFactor = "Custom"
  4748. li.CanCollide = false
  4749. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  4750. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4751. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  4752. if Times == i then
  4753. local magz2 = (curpos - Part1).magnitude
  4754. li.Size = Vector3.new(Thickness,Thickness,magz2)
  4755. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  4756. else
  4757. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  4758. end
  4759. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  4760. game.Debris:AddItem(li,.1)
  4761. end
  4762. end
  4763.  
  4764. BodyParts = {} -- Parts to emit lightning effects from
  4765. for _, v in pairs(char:GetChildren()) do
  4766. if v:IsA("Part") then
  4767. table.insert(BodyParts, v)
  4768. end
  4769. end
  4770.  
  4771. Bounding = {} -- Calculate the bounding boxes
  4772. for _, v in pairs(BodyParts) do
  4773. local temp = {X=nil, Y=nil, Z=nil}
  4774. temp.X = v.Size.X/2 * 10
  4775. temp.Y = v.Size.Y/2 * 10
  4776. temp.Z = v.Size.Z/2 * 10
  4777. Bounding[v.Name] = temp
  4778. --table.insert(Bounding, v.Name, temp)
  4779. end
  4780.  
  4781. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  4782. local Body1 = BodyParts[math.random(#BodyParts)]
  4783. local Body2 = BodyParts[math.random(#BodyParts)]
  4784. local Pos1 = Vector3.new(
  4785. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  4786. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  4787. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  4788. )
  4789. local Pos2 = Vector3.new(
  4790. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  4791. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  4792. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  4793. )
  4794. local SPos1 = Body1.Position + Pos1
  4795. local SPos2 = Body2.Position + Pos2
  4796. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  4797. end
  4798. och=och+1
  4799. for _,v in pairs(orbt) do
  4800. pcall(function()
  4801. v.Mesh.Scale=Vector3.new(cns+(0.2*math.cos(och/12)),cns+(0.2*math.cos(och/10)),cns+(0.2*math.cos(och/8)))
  4802. end)
  4803. end
  4804. for _,v in pairs(stlt) do
  4805. pcall(function()
  4806. v.CFrame=larm.CFrame*CFrame.new(0,-3.5-(cns/2),-0.1)
  4807. end)
  4808. end
  4809. for _,v in pairs(chot) do
  4810. pcall(function()
  4811. v.CFrame=Lerp(v.CFrame,cnOrb.CFrame,0.1)
  4812. v.Mesh.Scale=Vector3.new(Tween(v.Mesh.Scale.X,0,0.1),Tween(v.Mesh.Scale.Y,0,0.1),Tween(v.Mesh.Scale.Z,0,0.1))
  4813. end)
  4814. end
  4815. for _,v in pairs(cfxt) do
  4816. pcall(function()
  4817. local vs=v.Mesh.Scale
  4818. v.Mesh.Scale=Vector3.new(vs.x+0.5,vs.y+0.1,vs.z+0.5)
  4819. v.Transparency=v.Transparency+0.05
  4820. end)
  4821. end
  4822. for _,v in pairs(pfxt) do
  4823. pcall(function()
  4824. local vs=v.Mesh.Scale
  4825. v.Mesh.Scale=Vector3.new(vs.x+2,vs.y+0.5,vs.z+2)
  4826. v.Transparency=v.Transparency+0.025
  4827. end)
  4828. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement