Advertisement
DarkScriptZEditors

Untitled

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