Advertisement
voidscriptbuilderr

FE bendy

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