hgh920

Rough draft on lame paper in ela

Mar 31st, 2017
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.45 KB | None | 0 0
  1. ---- Vegito SSGSS (DBS) By PapiSwagGamez ---------------------------------
  2. jun = game.Players.LocalPlayer
  3. local char = jun.Character
  4. local Head = char.Head
  5. local mouse = jun:GetMouse()
  6. local larm = char["Left Arm"]
  7. local rarm = char["Right Arm"]
  8. local lleg = char["Left Leg"]
  9. local rleg = char["Right Leg"]
  10. local hed = char.Head
  11. local torso = char.Torso
  12. local hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local root = char.HumanoidRootPart
  15. local deb = false
  16. local shot = 0
  17. local debris=game:service"Debris"
  18. local l = game:GetService("Lighting")
  19. local rs = game:GetService("RunService").RenderStepped
  20. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  21. math.randomseed(os.time())
  22. for i,v in pairs(char:children()) do
  23. if v:IsA("Hat") then
  24. v:Destroy()
  25. end
  26. end
  27. for i,v in pairs (hed:GetChildren()) do
  28. if v:IsA("Sound") then
  29. v:Destroy()
  30. end
  31. end
  32.  
  33. Stuff = false
  34. ----------------------------------------------------------------
  35.  
  36. ypcall(function()
  37. char.Shirt:Destroy()
  38. char.Pants:Destroy()
  39. shirt = Instance.new("Shirt", char)
  40. shirt.Name = "Shirt"
  41. pants = Instance.new("Pants", char)
  42. pants.Name = "Pants"
  43. char.Shirt.ShirtTemplate = "rbxassetid://185967069"
  44. char.Pants.PantsTemplate = "rbxassetid://232256241"
  45. end)
  46.  
  47. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  48. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  49. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  50. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  51.  
  52. jun.Character.Humanoid.MaxHealth = 300
  53. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  54. ---------------------------------------------------------
  55.  
  56. Debounces = {
  57. CanAttack = true;
  58. NoIdl = false;
  59. Slashing = false;
  60. Slashed = false;
  61. RPunch = false;
  62. RPunched = false;
  63. LPunch = false;
  64. LPunched = false;
  65. }
  66. local Touche = {char.Name, }
  67.  
  68. --------------------------------------------------------------------
  69.  
  70. rarm.Touched:connect(function(ht)
  71. hit = ht.Parent
  72. if ht and hit:IsA("Model") then
  73. if hit:FindFirstChild("Humanoid") then
  74. if hit.Name ~= jun.Name then
  75. if Debounces.RPunch == true and Debounces.RPunched == false then
  76. Debounces.RPunched = true
  77. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  78. if Debounces.ks==true then
  79. z = Instance.new("Sound",hed)
  80. z.SoundId = "rbxassetid://169380525"
  81. z.Pitch = ptz[math.random(1,#ptz)]
  82. z.Volume = 1
  83. z:Play()
  84. end
  85. wait(.2)
  86. Debounces.RPunched = false
  87. end
  88. end
  89. end
  90. elseif ht and hit:IsA("Hat") then
  91. if hit.Parent.Name ~= p.Name then
  92. if hit.Parent:FindFirstChild("Humanoid") then
  93. if Debounces.RPunch == true and Debounces.RPunched == false then
  94. Debounces.RPunched = true
  95. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  96. if Debounces.ks==true then
  97. z = Instance.new("Sound",hed)
  98. z.SoundId = "rbxassetid://169380525"
  99. z.Pitch = ptz[math.random(1,#ptz)]
  100. z.Volume = 1
  101. z:Play()
  102. end
  103. wait(.2)
  104. Debounces.RPunched = false
  105. end
  106. end
  107. end
  108. end
  109. end)
  110. larm.Touched:connect(function(ht)
  111. hit = ht.Parent
  112. if ht and hit:IsA("Model") then
  113. if hit:FindFirstChild("Humanoid") then
  114. if hit.Name ~= jun.Name then
  115. if Debounces.LPunch == true and Debounces.LPunched == false then
  116. Debounces.LPunched = true
  117. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  118. if Debounces.ks2==true then
  119. z = Instance.new("Sound",hed)
  120. z.SoundId = "rbxassetid://169380525"
  121. z.Pitch = ptz[math.random(1,#ptz)]
  122. z.Volume = 1
  123. z:Play()
  124. end
  125. wait(.2)
  126. Debounces.LPunched = false
  127. end
  128. end
  129. end
  130. elseif ht and hit:IsA("Hat") then
  131. if hit.Parent.Name ~= jun.Name then
  132. if hit.Parent:FindFirstChild("Humanoid") then
  133. if Debounces.LPunch == true and Debounces.LPunched == false then
  134. Debounces.LPunched = true
  135. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  136. if Debounces.ks2==true then
  137. z = Instance.new("Sound",hed)
  138. z.SoundId = "rbxassetid://169380525"
  139. z.Pitch = ptz[math.random(1,#ptz)]
  140. z.Volume = 1
  141. z:Play()
  142. end
  143. wait(.2)
  144. Debounces.LPunched = false
  145. end
  146. end
  147. end
  148. end
  149. end)
  150. ----------------------------------------------------
  151. mod4 = Instance.new("Model",char)
  152.  
  153. ptez = {0.7, 0.8, 0.9, 1}
  154.  
  155. function FindNearestTorso(Position,Distance,SinglePlayer)
  156. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  157. local List = {}
  158. for i,v in pairs(workspace:GetChildren())do
  159. if v:IsA("Model")then
  160. if v:findFirstChild("Torso")then
  161. if v ~= char then
  162. if(v.Torso.Position -Position).magnitude <= Distance then
  163. table.insert(List,v)
  164. end
  165. end
  166. end
  167. end
  168. end
  169. return List
  170. end
  171.  
  172. function Punch()
  173. part=Instance.new('Part',mod4)
  174. part.Anchored=true
  175. part.CanCollide=false
  176. part.FormFactor='Custom'
  177. part.Size=Vector3.new(.2,.2,.2)
  178. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  179. part.Transparency=.7
  180. part.BrickColor=BrickColor.new('Cyan')
  181. mesh=Instance.new('SpecialMesh',part)
  182. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  183. mesh.Scale=Vector3.new(3,3,3)
  184. part2=Instance.new('Part',mod4)
  185. part2.Anchored=true
  186. part2.CanCollide=false
  187. part2.FormFactor='Custom'
  188. part2.Size=Vector3.new(.2,.2,.2)
  189. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  190. part2.Transparency=.7
  191. part2.BrickColor=BrickColor.new('Cyan')
  192. mesh2=Instance.new('SpecialMesh',part2)
  193. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  194. mesh2.Scale=Vector3.new(3,1.5,3)
  195. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  196. if v:FindFirstChild('Humanoid') then
  197. v.Humanoid:TakeDamage(math.random(2,6))
  198. end
  199. end
  200. coroutine.resume(coroutine.create(function()
  201. for i=0,0.62,0.4 do
  202. wait()
  203. part.CFrame=part.CFrame
  204. part.Transparency=i
  205. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  206. part2.CFrame=part2.CFrame
  207. part2.Transparency=i
  208. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  209. end
  210. part.Parent=nil
  211. part2.Parent=nil
  212. end))
  213. end
  214. ----------------------------------------------------
  215. rarm.Touched:connect(function(ht)
  216. hit = ht.Parent
  217. if ht and hit:IsA("Model") then
  218. if hit:FindFirstChild("Humanoid") then
  219. if hit.Name ~= jun.Name then
  220. if Debounces.RPunch == true and Debounces.RPunched == false then
  221. Debounces.RPunched = true
  222. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  223. if Debounces.ks==true then
  224. z = Instance.new("Sound",hed)
  225. z.SoundId = "rbxassetid://169380525"
  226. z.Pitch = ptz[math.random(1,#ptz)]
  227. z.Volume = 1
  228. z:Play()
  229. end
  230. wait(.2)
  231. Debounces.RPunched = false
  232. end
  233. end
  234. end
  235. elseif ht and hit:IsA("Hat") then
  236. if hit.Parent.Name ~= p.Name then
  237. if hit.Parent:FindFirstChild("Humanoid") then
  238. if Debounces.RPunch == true and Debounces.RPunched == false then
  239. Debounces.RPunched = true
  240. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  241. if Debounces.ks==true then
  242. z = Instance.new("Sound",hed)
  243. z.SoundId = "rbxassetid://169380525"
  244. z.Pitch = ptz[math.random(1,#ptz)]
  245. z.Volume = 1
  246. z:Play()
  247. end
  248. wait(.2)
  249. Debounces.RPunched = false
  250. end
  251. end
  252. end
  253. end
  254. end)
  255. larm.Touched:connect(function(ht)
  256. hit = ht.Parent
  257. if ht and hit:IsA("Model") then
  258. if hit:FindFirstChild("Humanoid") then
  259. if hit.Name ~= jun.Name then
  260. if Debounces.LPunch == true and Debounces.LPunched == false then
  261. Debounces.LPunched = true
  262. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  263. if Debounces.ks2==true then
  264. z = Instance.new("Sound",hed)
  265. z.SoundId = "rbxassetid://169380525"
  266. z.Pitch = ptz[math.random(1,#ptz)]
  267. z.Volume = 1
  268. z:Play()
  269. end
  270. wait(.2)
  271. Debounces.LPunched = false
  272. end
  273. end
  274. end
  275. elseif ht and hit:IsA("Hat") then
  276. if hit.Parent.Name ~= jun.Name then
  277. if hit.Parent:FindFirstChild("Humanoid") then
  278. if Debounces.LPunch == true and Debounces.LPunched == false then
  279. Debounces.LPunched = true
  280. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  281. if Debounces.ks2==true then
  282. z = Instance.new("Sound",hed)
  283. z.SoundId = "rbxassetid://169380525"
  284. z.Pitch = ptz[math.random(1,#ptz)]
  285. z.Volume = 1
  286. z:Play()
  287. end
  288. wait(.2)
  289. Debounces.LPunched = false
  290. end
  291. end
  292. end
  293. end
  294. end)
  295.  
  296. --------------------------- CHARGE ----------------------------------------
  297. Charging = false
  298. mouse.KeyDown:connect(function(key)
  299. if key == "r" then
  300. if Charging == false then
  301. Charging = true
  302. if Debounces.CanAttack == true then
  303. Debounces.CanAttack = false
  304. Debounces.NoIdl = true
  305. Debounces.on = true
  306. for i = 1,20 do
  307. 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)
  308. 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)
  309. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  310. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  311. 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)
  312. 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)
  313. if Debounces.on == false then break end
  314. rs:wait()
  315. end
  316. --[[for i = 1,20 do
  317. 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)
  318. 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)
  319. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  320. 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)
  321. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  322. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  323. if Debounces.on == false then break end
  324. rs:wait()
  325. end]]--
  326. ---------------------------------------------------------------------------
  327. mouse.KeyDown:connect(function(key)
  328. if key == "q" then
  329. if Debounces.CanAttack == true then
  330. Debounces.CanAttack = false
  331. Debounces.NoIdl = true
  332. Debounces.on = true
  333. function FindNearestTorso(Position,Distance,SinglePlayer)
  334. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  335. local List = {}
  336. for i,v in pairs(workspace:GetChildren())do
  337. if v:IsA("Model")then
  338. if v:findFirstChild("Torso")then
  339. if v ~= char then
  340. if(v.Torso.Position -Position).magnitude <= Distance then
  341. table.insert(List,v)
  342. end
  343. end
  344. end
  345. end
  346. end
  347. return List
  348. end
  349. z = Instance.new("Sound",hed)
  350. z.SoundId = "rbxassetid://232213955"
  351. z.Pitch = 1
  352. z.Volume = 1
  353. wait(0.2)
  354. z:Play()
  355. sp = Instance.new("Part",rarm)
  356. sp.Anchored = true
  357. sp.CanCollide = false
  358. sp.Locked = true
  359. sp.Transparency = 0
  360. sp.Material = "Neon"
  361. sp.Size = Vector3.new(1,1,1)
  362. sp.TopSurface = "SmoothNoOutlines"
  363. sp.BottomSurface = "SmoothNoOutlines"
  364. sp.BrickColor = BrickColor.new("Cyan")
  365. spm = Instance.new("SpecialMesh",sp)
  366. spm.MeshType = "Sphere"
  367. spm.Scale = Vector3.new(21,21,21)
  368. sp2 = Instance.new("Part", rarm)
  369. sp2.Name = "Energy"
  370. sp2.BrickColor = BrickColor.new("Cyan")
  371. sp2.Size = Vector3.new(1, 1, 1)
  372. sp2.Shape = "Ball"
  373. sp2.CanCollide = false
  374. sp2.Anchored = true
  375. sp2.Locked = true
  376. sp2.TopSurface = 0
  377. sp2.BottomSurface = 0
  378. sp2.Transparency = 1
  379. spm2 = Instance.new("SpecialMesh",sp2)
  380. spm2.MeshId = "rbxassetid://9982590"
  381. spm2.Scale = Vector3.new(2,2,2)
  382. for i = 1, 20 do
  383. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  384. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  385. 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)
  386. 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)
  387. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  388. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  389. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  390. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  391. if Debounces.on == false then break end
  392. rs:wait()
  393. end
  394. for i = 1, 100, 20 do rs:wait()
  395. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  396. end
  397. for i = 1, 20 do
  398. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  399. 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)
  400. 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)
  401. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  402. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  403. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  404. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  405. if Debounces.on == false then break end
  406. rs:wait()
  407. end
  408. sp.Transparency = 1
  409. for i = 1, 20 do
  410. 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)
  411. 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)
  412. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  413. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  414. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  415. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  416. if Debounces.on == false then break end
  417. rs:wait()
  418. end
  419. wait(1)
  420. sp.Transparency = 0
  421. sp2.Transparency = 0.84
  422. for i = 1, 20 do
  423. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  424. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  425. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  426. 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)
  427. 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)
  428. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  429. 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)
  430. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  431. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  432. if Debounces.on == false then break end
  433. rs:wait()
  434. end
  435. for i = 1, 2880, 50 do
  436. rs:wait()
  437. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  438. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  439. rs:wait()
  440. end
  441. sp:Destroy()
  442. sp2:Destroy()
  443. local X = Instance.new("Part",char)
  444. local O = Instance.new("ObjectValue",X)
  445. O.Name = "creator"
  446. X.Locked = true
  447. X.Name = "Shell"
  448. X.Anchored = false
  449. X.CanCollide = false
  450. X.Transparency = 0
  451. X.Reflectance = 0
  452. X.BottomSurface = 0
  453. X.TopSurface = 0
  454. X.Shape = 0
  455. local V = Instance.new("ObjectValue",X)
  456. V.Value = char
  457. V.Name = "creator"
  458. X.BrickColor = BrickColor.new("Cyan")
  459. X.Size = Vector3.new(2,2,2)
  460. X.Material = "Neon"
  461. local Z = Instance.new("SpecialMesh",X)
  462. Z.MeshType = "Sphere"
  463. Z.Scale = Vector3.new(0.5,0.5,1)
  464. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  465. local bv = Instance.new("BodyVelocity",X)
  466. bv.maxForce = Vector3.new(99999,99999,99999)
  467. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  468. bv.velocity = X.CFrame.lookVector*65
  469.  
  470. Explode = X.Touched:connect(function(hit)
  471. if hit ~= char and hit.Name ~= "Shell" then
  472. local cf = X.CFrame
  473. bv:Destroy()
  474. X.Anchored = true
  475. Z:Remove()
  476. Explode:disconnect()
  477. X.Size = Vector3.new(3,3,3)
  478. X.Touched:connect(function(hit) end)
  479. X.CanCollide = false
  480. local part3 = Instance.new("Part", rarm)
  481. part3.Anchored=true
  482. part3.CanCollide=false
  483. part3.Locked = true
  484. part3.TopSurface = "SmoothNoOutlines"
  485. part3.BottomSurface = "SmoothNoOutlines"
  486. part3.FormFactor='Custom'
  487. part3.Size=Vector3.new(1,1, 1)
  488. part3.CFrame=X.CFrame
  489. part3.Transparency=0
  490. part3.BrickColor=BrickColor.new("Cyan")
  491. local mesh3 = Instance.new("SpecialMesh",part3)
  492. mesh3.MeshType = "Sphere"
  493. mesh3.Scale = Vector3.new(1,1,1)
  494. --debris:AddItem(X,8)
  495. local part4 = Instance.new("Part", rarm)
  496. part4.Material = "Neon"
  497. part4.Anchored=true
  498. part4.CanCollide=false
  499. part4.Locked = true
  500. part4.TopSurface = "SmoothNoOutlines"
  501. part4.BottomSurface = "SmoothNoOutlines"
  502. part4.FormFactor='Custom'
  503. part4.Size=Vector3.new(1,1, 1)
  504. part4.CFrame=X.CFrame
  505. part4.Transparency=0
  506. part4.BrickColor=BrickColor.new("Medium blue")
  507. local mesh4 = Instance.new("SpecialMesh",part4)
  508. mesh4.MeshType = "Sphere"
  509. mesh4.Scale = Vector3.new(.5,.5,.5)
  510. local part7 = Instance.new("Part", rarm)
  511. part7.Material = "Neon"
  512. part7.Anchored=true
  513. part7.CanCollide=false
  514. part7.Locked = true
  515. part7.TopSurface = "SmoothNoOutlines"
  516. part7.BottomSurface = "SmoothNoOutlines"
  517. part7.FormFactor='Custom'
  518. part7.Size=Vector3.new(1,1, 1)
  519. part7.CFrame=X.CFrame
  520. part7.Transparency=0
  521. part7.BrickColor=BrickColor.new("Really blue")
  522. local mesh7 = Instance.new("SpecialMesh",part7)
  523. mesh7.MeshType = "Sphere"
  524. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  525. --[[X.Touched:connect(function(ht)
  526. hit = ht.Parent
  527. if ht and hit:IsA("Model") then
  528. if hit:FindFirstChild("Humanoid") then
  529. if hit.Name ~= p.Name then
  530. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  531. wait(.3)
  532. end
  533. end
  534. elseif ht and hit:IsA("Hat") then
  535. if hit.Parent.Name ~= p.Name then
  536. if hit.Parent:FindFirstChild("Humanoid") then
  537. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  538. wait(.3)
  539. end
  540. end
  541. end
  542. end)
  543. part3.Touched:connect(function(ht)
  544. hit = ht.Parent
  545. if ht and hit:IsA("Model") then
  546. if hit:FindFirstChild("Humanoid") then
  547. if hit.Name ~= p.Name then
  548. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  549. wait(.3)
  550. end
  551. end
  552. elseif ht and hit:IsA("Hat") then
  553. if hit.Parent.Name ~= p.Name then
  554. if hit.Parent:FindFirstChild("Humanoid") then
  555. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  556. wait(.3)
  557. end
  558. end
  559. end
  560. end)]]--
  561. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  562. if v:FindFirstChild('Humanoid') then
  563. v.Humanoid:TakeDamage(math.random(60,90))
  564. v.Humanoid.PlatformStand = true
  565. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  566. end
  567. end
  568.  
  569. local acos = math.acos
  570. local sqrt = math.sqrt
  571. local Vec3 = Vector3.new
  572. local fromAxisAngle = CFrame.fromAxisAngle
  573.  
  574. local function toAxisAngle(CFr)
  575. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  576. local Angle = math.acos((R00+R11+R22-1)/2)
  577. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  578. A = A == 0 and 0.00001 or A
  579. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  580. B = B == 0 and 0.00001 or B
  581. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  582. C = C == 0 and 0.00001 or C
  583. local x = (R21-R12)/sqrt(A)
  584. local y = (R02-R20)/sqrt(B)
  585. local z = (R10-R01)/sqrt(C)
  586. return Vec3(x,y,z),Angle
  587. end
  588.  
  589. function ApplyTrig(Num,Func)
  590. local Min,Max = Func(0),Func(1)
  591. local i = Func(Num)
  592. return (i-Min)/(Max-Min)
  593. end
  594.  
  595. function LerpCFrame(CFrame1,CFrame2,Num)
  596. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  597. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  598. end
  599.  
  600. function Crater(Torso,Radius)
  601. Spawn(function()
  602. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  603. local Ignore = {}
  604. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  605. if v.Character ~= nil then
  606. Ignore[#Ignore+1] = v.Character
  607. end
  608. end
  609. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  610. if Hit == nil then return end
  611. local Parts = {}
  612. for i = 1,360,10 do
  613. local P = Instance.new("Part",Torso.Parent)
  614. P.Anchored = true
  615. P.FormFactor = "Custom"
  616. P.BrickColor = Hit.BrickColor
  617. P.Material = Hit.Material
  618. P.TopSurface = "Smooth"
  619. P.BottomSurface = "Smooth"
  620. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  621. 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)))
  622. 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}
  623. if math.random(0,5) == 0 then -- rubble
  624. local P = Instance.new("Part",Torso.Parent)
  625. P.Anchored = true
  626. P.FormFactor = "Custom"
  627. P.BrickColor = Hit.BrickColor
  628. P.Material = Hit.Material
  629. P.TopSurface = "Smooth"
  630. P.BottomSurface = "Smooth"
  631. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  632. 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)))
  633. 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}
  634. end
  635. end
  636. for i = 0,1,0.05 do
  637. for i2,v in pairs(Parts) do
  638. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  639. end
  640. wait(0.02)
  641. end
  642. for i,v in pairs(Parts) do
  643. if v[1].Size.X > 2.1 then
  644. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  645. end
  646. v[1].Anchored = false
  647. end
  648. for i = 0,1,0.05 do
  649. for i2,v in pairs(Parts) do
  650. v[1].Transparency = i
  651. if i == 1 then
  652. v[1]:Destroy()
  653. elseif i >= 0.25 then
  654. v[1].CanCollide = false
  655. end
  656. end
  657. wait(0.02)
  658. end
  659. Parts = nil
  660. end)
  661. end
  662.  
  663. ROW = function(out, trans, s, wt, t, ang, plus)
  664. for i = 1, 360, 360/t do
  665. local c = Instance.new("Part", game.Workspace)
  666. c.FormFactor = 3
  667. c.TopSurface = 0
  668. c.BottomSurface = 0
  669. c.Size = s
  670. c.Anchored = true
  671. c.CanCollide = wt
  672. c.Material=workspace.Base.Material
  673. c.Transparency = trans
  674. c.BrickColor = workspace.Base.BrickColor
  675. 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
  676. c.Locked=true
  677. game.Debris:AddItem(c,15)
  678. end
  679. end
  680.  
  681. Part = function(x,y,z,color,tr,cc,an,parent)
  682. local p = Instance.new('Part',parent or Weapon)
  683. p.formFactor = 'Custom'
  684. p.Size = Vector3.new(x,y,z)
  685. p.BrickColor = BrickColor.new(color)
  686. p.CanCollide = cc
  687. p.Transparency = tr
  688. p.Anchored = an
  689. p.TopSurface,p.BottomSurface = 0,0
  690. p.Locked=true
  691. p:BreakJoints()
  692. return p end
  693.  
  694. Mesh = function(par,num,x,y,z)
  695. local msh = _
  696. if num == 1 then msh = Instance.new("CylinderMesh",par)
  697. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  698. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  699. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  700. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  701. end msh.Scale = Vector3.new(x,y,z)
  702. return msh end
  703.  
  704. function explosion(col1,col2,cfr,sz,rng,dmg)
  705. local a= Part(1,1,1,col1,.5,false,true,workspace)
  706. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  707. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  708. v1,v2,v3=sz.x,sz.y,sz.z
  709. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  710. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  711. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  712. a.CFrame=cfr
  713. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  714. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  715.  
  716. Spawn(function()
  717. while wait() do
  718. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  719. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  720. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  721. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  722. a.Transparency=a.Transparency+0.05
  723. a2.Transparency=a2.Transparency+0.05
  724. a3.Transparency=a3.Transparency+0.05
  725. end
  726. end)
  727. end
  728.  
  729. Crater(X,20)
  730. 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)
  731. z = Instance.new("Sound",X)
  732. z.SoundId = "rbxassetid://231917744"
  733. z.Pitch = .5
  734. z.Volume = 10
  735. z1 = Instance.new("Sound",X)
  736. z1.SoundId = "rbxassetid://231917744"
  737. z1.Pitch = .5
  738. z1.Volume = 10
  739. z2 = Instance.new("Sound",X)
  740. z2.SoundId = "rbxassetid://231917744"
  741. z2.Pitch = .5
  742. z2.Volume = 10
  743. z3 = Instance.new("Sound",X)
  744. z3.SoundId = "rbxassetid://245537790"
  745. z3.Pitch = .7
  746. z3.Volume = 1
  747. z4 = Instance.new("Sound",X)
  748. z4.SoundId = "rbxassetid://245537790"
  749. z4.Pitch = .7
  750. z4.Volume = 1
  751. wait(0.1)
  752. z:Play()
  753. z1:Play()
  754. z2:Play()
  755. z3:Play()
  756. z4:Play()
  757.  
  758. local part=Instance.new('Part',rarm)
  759. part.Anchored=true
  760. part.CanCollide=false
  761. part.Locked = true
  762. part.FormFactor='Custom'
  763. part.Size=Vector3.new(1,1,1)
  764. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  765. part.Transparency=0
  766. part.BrickColor=BrickColor.new('Cyan')
  767. local mesh=Instance.new('SpecialMesh',part)
  768. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  769. mesh.Scale=Vector3.new(2,2,2)
  770. local part2=part:clone()
  771. part2.Parent = rarm
  772. part2.BrickColor=BrickColor.new("Cyan")
  773. local part5=part:clone()
  774. part5.Parent = rarm
  775. part5.BrickColor=BrickColor.new("Cyan")
  776. local part6=part:clone()
  777. part6.Parent = rarm
  778. part6.BrickColor=BrickColor.new("Cyan")
  779. local mesh2=mesh:clone()
  780. mesh2.Parent=part2
  781. mesh2.Scale=Vector3.new(3, 3, 3)
  782. local mesh5=mesh:clone()
  783. mesh5.Parent=part5
  784. mesh5.Scale=Vector3.new(3, 3, 3)
  785. local mesh6=mesh:clone()
  786. mesh6.Parent=part6
  787. mesh6.Scale=Vector3.new(3, 3, 3)
  788. local blast = Instance.new("Part", rarm)
  789. blast.BrickColor = BrickColor.new("Cyan")
  790. blast.Anchored = true
  791. blast.CanCollide = false
  792. blast.Locked = true
  793. blast.Size = Vector3.new(1, 1, 1)
  794. blast.TopSurface = "Smooth"
  795. blast.BottomSurface = "Smooth"
  796. blast.Transparency = 0
  797. blast.CFrame = HandCF
  798. local bm = Instance.new("SpecialMesh", blast)
  799. bm.Scale = Vector3.new(5,1,5)
  800. bm.MeshId = "rbxassetid://3270017"
  801. local blast2 = Instance.new("Part", rarm)
  802. blast2.BrickColor = BrickColor.new("Cyan")
  803. blast2.Anchored = true
  804. blast2.CanCollide = false
  805. blast2.Locked = true
  806. blast2.Size = Vector3.new(1, 1, 1)
  807. blast2.TopSurface = "Smooth"
  808. blast2.BottomSurface = "Smooth"
  809. blast2.Transparency = 0
  810. blast2.CFrame = HandCF
  811. local bm2 = Instance.new("SpecialMesh", blast2)
  812. bm2.Scale = Vector3.new(3,1,3)
  813. bm2.MeshId = "rbxassetid://3270017"
  814. local blast3 = Instance.new("Part", rarm)
  815. blast3.BrickColor = BrickColor.new("Cyan")
  816. blast3.Anchored = true
  817. blast3.CanCollide = false
  818. blast3.Locked = true
  819. blast3.Size = Vector3.new(1, 1, 1)
  820. blast3.TopSurface = "Smooth"
  821. blast3.BottomSurface = "Smooth"
  822. blast3.Transparency = 0
  823. blast3.CFrame = HandCF
  824. local bm3 = Instance.new("SpecialMesh", blast3)
  825. bm3.Scale = Vector3.new(3,1,3)
  826. bm3.MeshId = "rbxassetid://3270017"
  827. for i = 1,120 do rs:wait()
  828. X.Transparency = X.Transparency + (1/120)
  829. part.Transparency = part.Transparency + (1/120)
  830. part2.Transparency = part2.Transparency + (1/120)
  831. part3.Transparency = part3.Transparency + (1/120)
  832. part4.Transparency = part4.Transparency + (1/120)
  833. part5.Transparency = part5.Transparency + (1/120)
  834. part6.Transparency = part6.Transparency + (1/120)
  835. part7.Transparency = part7.Transparency + (1/120)
  836. blast.Transparency = blast.Transparency + (1/120)
  837. blast2.Transparency = blast2.Transparency + (1/120)
  838. blast3.Transparency = blast3.Transparency + (1/120)
  839. X.Size = X.Size + Vector3.new(.8,.8,.8)
  840. --part3.Size = part3.Size + Vector3.new(3,3,3)
  841. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  842. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  843. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  844. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  845. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  846. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  847. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  848. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  849. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  850. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  851. X.CFrame = cf
  852. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  853. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  854. part3.CFrame=X.CFrame
  855. part4.CFrame=X.CFrame
  856. part7.CFrame=X.CFrame
  857. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  858. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  859. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  860. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  861. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  862. rs:wait()
  863. end
  864. X:Destroy()
  865. part:Destroy()
  866. part2:Destroy()
  867. part3:Destroy()
  868. part4:Destroy()
  869. part5:Destroy()
  870. part6:Destroy()
  871. blast:Destroy()
  872. blast2:Destroy()
  873. blast3:Destroy()
  874. z:Destroy()
  875. z1:Destroy()
  876. z2:Destroy()
  877. z3:Destroy()
  878. z4:Destroy()
  879. end
  880. end)
  881. for i = 1, 20 do
  882. 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)
  883. 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)
  884. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  885. 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)
  886. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  887. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  888. if Debounces.on == false then break end
  889. rs:wait()
  890. end
  891. if Debounces.CanAttack == false then
  892. Debounces.CanAttack = true
  893. Debounces.NoIdl = false
  894. Debounces.on = false
  895. end
  896. end
  897. end
  898. end)
  899. ---------------------------------------------------------------------------------
  900.  
  901. mouse.KeyDown:connect(function(key)
  902. if key == "e" then
  903. if Debounces.CanAttack == true then
  904. Debounces.CanAttack = false
  905. Debounces.on = true
  906. Debounces.NoIdl = true
  907. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  908. z = Instance.new("Sound", rarm)
  909. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  910. z.Volume = .6
  911. z.Pitch = pt[math.random(1,#pt)]
  912. z.Looped = false
  913. z:Play()
  914. Debounces.RPunch = true
  915. Debounces.LPunch = true
  916. Debounces.ks = true
  917. Debounces.ks2 = true
  918. for i = 1, 3 do
  919. 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)
  920. 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)
  921. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  922. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  923. 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)
  924. 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)
  925. if Debounces.on == false then break end
  926. wait()
  927. end
  928. z2 = Instance.new("Sound", larm)
  929. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  930. z2.Volume = .6
  931. z2.Pitch = pt[math.random(1,#pt)]
  932. z2.Looped = false
  933. z2:Play()
  934. for i = 1, 3 do
  935. 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)
  936. 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)
  937. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  938. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  939. 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)
  940. 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)
  941. if Debounces.on == false then break end
  942. wait()
  943. end
  944. z3 = Instance.new("Sound", rarm)
  945. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  946. z3.Volume = 0.6
  947. z3.Pitch = pt[math.random(1,#pt)]
  948. z3.Looped = false
  949. z3:Play()
  950. for i = 1, 3 do
  951. 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)
  952. 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)
  953. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  954. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  955. 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)
  956. 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)
  957. if Debounces.on == false then break end
  958. wait()
  959. end
  960. z4 = Instance.new("Sound", larm)
  961. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  962. z4.Volume = .6
  963. z4.Pitch = pt[math.random(1,#pt)]
  964. z4.Looped = false
  965. z4:Play()
  966. for i = 1, 3 do
  967. 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)
  968. 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)
  969. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  970. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  971. 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)
  972. 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)
  973. if Debounces.on == false then break end
  974. wait()
  975. end
  976. z5 = Instance.new("Sound", rarm)
  977. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  978. z5.Volume = .6
  979. z5.Pitch = pt[math.random(1,#pt)]
  980. z5.Looped = false
  981. z5:Play()
  982. for i = 1, 3 do
  983. 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)
  984. 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)
  985. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  986. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  987. 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)
  988. 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)
  989. if Debounces.on == false then break end
  990. wait()
  991. end
  992. z6 = Instance.new("Sound", larm)
  993. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  994. z6.Volume = .6
  995. z6.Pitch = pt[math.random(1,#pt)]
  996. z6.Looped = false
  997. z6:Play()
  998. for i = 1, 3 do
  999. 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)
  1000. 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)
  1001. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1002. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1003. 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)
  1004. 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)
  1005. if Debounces.on == false then break end
  1006. wait()
  1007. end
  1008. z7 = Instance.new("Sound", rarm)
  1009. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1010. z7.Volume = .6
  1011. z7.Pitch = pt[math.random(1,#pt)]
  1012. z7.Looped = false
  1013. z7:Play()
  1014. for i = 1, 3 do
  1015. 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)
  1016. 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)
  1017. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1018. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1019. 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)
  1020. 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)
  1021. if Debounces.on == false then break end
  1022. wait()
  1023. end
  1024. z8 = Instance.new("Sound", larm)
  1025. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1026. z8.Volume = .6
  1027. z8.Pitch = pt[math.random(1,#pt)]
  1028. z8.Looped = false
  1029. z8:Play()
  1030. for i = 1, 3 do
  1031. 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)
  1032. 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)
  1033. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1034. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1035. 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)
  1036. 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)
  1037. if Debounces.on == false then break end
  1038. wait()
  1039. end
  1040. z9 = Instance.new("Sound", rarm)
  1041. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1042. z9.Volume = 0.6
  1043. z9.Pitch = pt[math.random(1,#pt)]
  1044. z9.Looped = false
  1045. z9:Play()
  1046. for i = 1, 3 do
  1047. 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)
  1048. 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)
  1049. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1050. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1051. 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)
  1052. 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)
  1053. if Debounces.on == false then break end
  1054. wait()
  1055. end
  1056. z10 = Instance.new("Sound", larm)
  1057. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1058. z10.Volume = .6
  1059. z10.Pitch = pt[math.random(1,#pt)]
  1060. z10.Looped = false
  1061. z10:Play()
  1062. for i = 1, 3 do
  1063. 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)
  1064. 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)
  1065. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1066. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1067. 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)
  1068. 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)
  1069. if Debounces.on == false then break end
  1070. wait()
  1071. end
  1072. z11 = Instance.new("Sound", rarm)
  1073. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1074. z11.Volume = .6
  1075. z11.Pitch = pt[math.random(1,#pt)]
  1076. z11.Looped = false
  1077. z11:Play()
  1078. for i = 1, 3 do
  1079. 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)
  1080. 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)
  1081. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1082. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1083. 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)
  1084. 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)
  1085. if Debounces.on == false then break end
  1086. wait()
  1087. end
  1088. z12 = Instance.new("Sound", larm)
  1089. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1090. z12.Volume = .6
  1091. z12.Pitch = pt[math.random(1,#pt)]
  1092. z12.Looped = false
  1093. z12:Play()
  1094. for i = 1, 3 do
  1095. 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)
  1096. 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)
  1097. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1099. 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)
  1100. 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)
  1101. if Debounces.on == false then break end
  1102. wait()
  1103. end
  1104. z13 = Instance.new("Sound", rarm)
  1105. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1106. z13.Volume = 0.6
  1107. z13.Pitch = pt[math.random(1,#pt)]
  1108. z13.Looped = false
  1109. z13:Play()
  1110. for i = 1, 3 do
  1111. 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)
  1112. 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)
  1113. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1114. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1115. 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)
  1116. 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)
  1117. if Debounces.on == false then break end
  1118. wait()
  1119. end
  1120. z14 = Instance.new("Sound", larm)
  1121. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1122. z14.Volume = .6
  1123. z14.Pitch = pt[math.random(1,#pt)]
  1124. z14.Looped = false
  1125. z14:Play()
  1126. for i = 1, 3 do
  1127. 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)
  1128. 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)
  1129. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1130. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1131. 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)
  1132. 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)
  1133. if Debounces.on == false then break end
  1134. wait()
  1135. end
  1136. z15 = Instance.new("Sound", rarm)
  1137. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1138. z15.Volume = .6
  1139. z15.Pitch = pt[math.random(1,#pt)]
  1140. z15.Looped = false
  1141. z15:Play()
  1142. for i = 1, 3 do
  1143. 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)
  1144. 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)
  1145. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1146. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1147. 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)
  1148. 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)
  1149. if Debounces.on == false then break end
  1150. wait()
  1151. end
  1152. z16 = Instance.new("Sound", larm)
  1153. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1154. z16.Volume = .6
  1155. z16.Pitch = pt[math.random(1,#pt)]
  1156. z16.Looped = false
  1157. z16:Play()
  1158. for i = 1, 3 do
  1159. 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)
  1160. 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)
  1161. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1162. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1163. 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)
  1164. 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)
  1165. if Debounces.on == false then break end
  1166. wait()
  1167. end
  1168. z17 = Instance.new("Sound", rarm)
  1169. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1170. z17.Volume = .6
  1171. z17.Pitch = pt[math.random(1,#pt)]
  1172. z17.Looped = false
  1173. z17:Play()
  1174. for i = 1, 3 do
  1175. 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)
  1176. 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)
  1177. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1178. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1179. 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)
  1180. 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)
  1181. if Debounces.on == false then break end
  1182. wait()
  1183. end
  1184. z18 = Instance.new("Sound", larm)
  1185. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1186. z18.Volume = .6
  1187. z18.Pitch = pt[math.random(1,#pt)]
  1188. z18.Looped = false
  1189. z18:Play()
  1190. for i = 1, 3 do
  1191. 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)
  1192. 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)
  1193. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1194. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1195. 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)
  1196. 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)
  1197. if Debounces.on == false then break end
  1198. wait()
  1199. end
  1200. z19 = Instance.new("Sound", rarm)
  1201. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1202. z19.Volume = 0.6
  1203. z19.Pitch = pt[math.random(1,#pt)]
  1204. z19.Looped = false
  1205. z19:Play()
  1206. for i = 1, 3 do
  1207. 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)
  1208. 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)
  1209. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1210. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1211. 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)
  1212. 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)
  1213. if Debounces.on == false then break end
  1214. wait()
  1215. end
  1216. z20 = Instance.new("Sound", larm)
  1217. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1218. z20.Volume = .6
  1219. z20.Pitch = pt[math.random(1,#pt)]
  1220. z20.Looped = false
  1221. z20:Play()
  1222. for i = 1, 3 do
  1223. 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)
  1224. 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)
  1225. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1226. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1227. 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)
  1228. 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)
  1229. if Debounces.on == false then break end
  1230. wait()
  1231. end
  1232. z:Destroy()
  1233. z2:Destroy()
  1234. z3:Destroy()
  1235. z4:Destroy()
  1236. z5:Destroy()
  1237. z6:Destroy()
  1238. z7:Destroy()
  1239. z8:Destroy()
  1240. z9:Destroy()
  1241. z10:Destroy()
  1242. z11:Destroy()
  1243. z12:Destroy()
  1244. z13:Destroy()
  1245. z14:Destroy()
  1246. z15:Destroy()
  1247. z16:Destroy()
  1248. z17:Destroy()
  1249. z18:Destroy()
  1250. z19:Destroy()
  1251. z20:Destroy()
  1252. Debounces.LPunch = false
  1253. Debounces.RPunch = false
  1254. Debounces.ks = false
  1255. Debounces.ks2 = false
  1256. if Debounces.CanAttack == false then
  1257. Debounces.CanAttack = true
  1258. Debounces.on = false
  1259. Debounces.NoIdl = false
  1260. end
  1261. end
  1262. end
  1263. end)
  1264. --------------------------------------------------------------------------------------------------
  1265. mouse.KeyDown:connect(function(key)
  1266. if key == "y" then
  1267. if Debounces.CanAttack == true then
  1268. Debounces.CanAttack = false
  1269. Debounces.on = true
  1270. Debounces.NoIdl = true
  1271. for i = 1, 15 do
  1272. 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)
  1273. 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)
  1274. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  1275. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  1276. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1277. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1278. if Debounces.on == false then break end
  1279. rs:wait(2.7)
  1280. end
  1281. x = Instance.new("Sound",char)
  1282. x.SoundId = "rbxassetid://228343271"
  1283. x.Pitch = 1
  1284. x.Volume = .8
  1285. wait(.1)
  1286. x:Play()
  1287. Debounces.on = false
  1288. Debounces.Here = false
  1289. shot = shot + 1
  1290. local rng = Instance.new("Part", larm)
  1291. rng.Anchored = true
  1292. rng.BrickColor = BrickColor.new("Cyan")
  1293. rng.CanCollide = false
  1294. rng.FormFactor = 3
  1295. rng.Name = "Ring"
  1296. rng.Size = Vector3.new(1, 1, 1)
  1297. rng.Transparency = 0.35
  1298. rng.TopSurface = 0
  1299. rng.BottomSurface = 0
  1300. rng2 = rng:clone()
  1301. rng3 = rng2:clone()
  1302. rng4 = rng2:clone()
  1303. local rngm = Instance.new("SpecialMesh", rng)
  1304. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1305. rngm.Scale = Vector3.new(10, 10, 1)
  1306. rngm2 = rngm:clone()
  1307. rngm2.Scale = Vector3.new(5, 5, 3)
  1308. rngm3=rngm2:clone()
  1309. rngm3.Parent = rng3
  1310. rngm3.Scale = Vector3.new(8, 8, 1)
  1311. rngm4 = rngm2:clone()
  1312. rngm4.Parent = rng4
  1313. rngm4.Scale = Vector3.new(6, 6, 1)
  1314. local bem = Instance.new("Part", larm)
  1315. bem.Anchored = true
  1316. bem.BrickColor = BrickColor.new("Really black")
  1317. bem.CanCollide = false
  1318. bem.FormFactor = 3
  1319. bem.Name = "Beam" .. shot
  1320. bem.Size = Vector3.new(1, 1, 1)
  1321. bem.Transparency = 0.35
  1322. bem.TopSurface = 0
  1323. bem.BottomSurface = 0
  1324. local bemm = Instance.new("SpecialMesh", bem)
  1325. bemm.MeshType = 4
  1326. bemm.Scale = Vector3.new(1, 4, 4)
  1327. local out = Instance.new("Part", larm)
  1328. out.Anchored = true
  1329. out.BrickColor = BrickColor.new("Really black")
  1330. out.CanCollide = false
  1331. out.FormFactor = 3
  1332. out.Name = "Out"
  1333. out.Size = Vector3.new(4, 4, 4)
  1334. out.Transparency = 0.35
  1335. out.TopSurface = 0
  1336. out.BottomSurface = 0
  1337. local outm = Instance.new("SpecialMesh", out)
  1338. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1339. outm.Scale = Vector3.new(6, 4, 6)
  1340. local bnd = Instance.new("Part", larm)
  1341. bnd.Anchored = true
  1342. bnd.BrickColor = BrickColor.new("Cyan")
  1343. bnd.CanCollide = false
  1344. bnd.FormFactor = 3
  1345. bnd.Name = "Bend"
  1346. bnd.Size = Vector3.new(1, 1, 1)
  1347. bnd.Transparency = 1
  1348. bnd.TopSurface = 0
  1349. bnd.BottomSurface = 0
  1350. local bndm = Instance.new("SpecialMesh", bnd)
  1351. bndm.MeshType = 3
  1352. bndm.Scale = Vector3.new(8, 8, 8)
  1353. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1354. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1355. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1356. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1357. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  1358. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  1359. Debounces.Shewt = true
  1360. coroutine.wrap(function()
  1361. for i = 1, 20, 0.2 do
  1362. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1363. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  1364. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  1365. rng.Transparency = i/20
  1366. rng3.Transparency = 1/24
  1367. rng4.Transparency = i/26
  1368. wait()
  1369. end
  1370. wait()
  1371. rng:Destroy()
  1372. end)()
  1373. if Debounces.Shewt == true then
  1374. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  1375. hit = ht.Parent
  1376. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1377. if HasntTouched(hit.Name) == true and deb == false then
  1378. deb = true
  1379. coroutine.wrap(function()
  1380. hit:FindFirstChild("Humanoid").PlatformStand = true
  1381. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1382. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  1383. end)()
  1384. table.insert(Touche, hit.Name)
  1385. deb = false
  1386. end
  1387. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1388. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1389. deb = true
  1390. coroutine.wrap(function()
  1391. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1392. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1393. wait(1)
  1394. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1395. end)()
  1396. table.insert(Touche, hit.Parent.Name)
  1397. deb = false
  1398. for i, v in pairs(Touche) do
  1399. print(v)
  1400. end
  1401. end
  1402. end
  1403. end)
  1404. end
  1405. for i = 0, 260, 8 do
  1406. bem.Size = Vector3.new(i, 3, 3)
  1407. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1408. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1409. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  1410. bnd.Size = Vector3.new(1,1,1)
  1411. bndm.Scale = Vector3.new(8,8,8)
  1412. if i % 10 == 0 then
  1413. local newRng = rng2:Clone()
  1414. newRng.Parent = larm
  1415. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1416. local newRngm = rngm2:clone()
  1417. newRngm.Parent=newRng
  1418. coroutine.wrap(function()
  1419. for i = 1, 10, 0.2 do
  1420. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  1421. newRng.Transparency = i/10
  1422. wait()
  1423. end
  1424. wait()
  1425. newRng:Destroy()
  1426. end)()
  1427. end
  1428. wait()
  1429. end
  1430. wait()
  1431. Debounces.Shewt = false
  1432. bem:Destroy()
  1433. out:Destroy()
  1434. bnd:Destroy()
  1435. Debounces.Ready = false
  1436. for i, v in pairs(Touche) do
  1437. table.remove(Touche, i)
  1438. end
  1439. wait()
  1440. table.insert(Touche, char.Name)
  1441. Debounces.NoIdl = false
  1442. if Debounces.CanAttack == false then
  1443. Debounces.CanAttack = true
  1444. end
  1445. end
  1446. end
  1447. end)
  1448. ----------------------------------------------------
  1449. --[[mouse.KeyDown:connect(function(key)
  1450. if key == "y" then
  1451. if Debounces.CanAttack == true then
  1452. Debounces.CanAttack = false
  1453. Debounces.NoIdl = true
  1454. Debounces.on = true
  1455. local shell = Instance.new("Part",torso)
  1456. shell.BrickColor = BrickColor.new("Royal purple")
  1457. shell.Anchored = false
  1458. shell.CanCollide = false
  1459. shell.Locked = true
  1460. shell.TopSurface = "SmoothNoOutlines"
  1461. shell.BottomSurface = "SmoothNoOutlines"
  1462. shell.Size = Vector3.new(1.2,1.2,1.2)
  1463. shell.FormFactor = 3
  1464. local shellm = Instance.new("SpecialMesh",shell)
  1465. shellm.MeshType = "Sphere"
  1466. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  1467. Omega = function()
  1468. local X = Instance.new("Part",char)
  1469. local O = Instance.new("ObjectValue",X)
  1470. O.Name = "creator"
  1471. X.Locked = true
  1472. X.Name = "Shell"
  1473. X.Anchored = false
  1474. X.CanCollide = false
  1475. X.Transparency = 0.5
  1476. X.Reflectance = 0
  1477. X.BottomSurface = 0
  1478. X.TopSurface = 0
  1479. X.Shape = 0
  1480. local V = Instance.new("ObjectValue",X)
  1481. V.Value = char
  1482. V.Name = "creator"
  1483. X.BrickColor = BrickColor.new("Royal purple")
  1484. X.Size = Vector3.new(40,40,40)
  1485. --X.Material = "Neon"
  1486. local Z = Instance.new("SpecialMesh",X)
  1487. Z.MeshType = "Sphere"
  1488. Z.Scale = Vector3.new(0.2,0.2,0.2)
  1489. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  1490. local bv = Instance.new("BodyVelocity",X)
  1491. bv.maxForce = Vector3.new(99999,99999,99999)
  1492. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  1493. bv.velocity = root.CFrame.lookVector*10
  1494. Explode = X.Touched:connect(function(hit)
  1495. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  1496. local cf = X.CFrame
  1497. bv:Destroy()
  1498. X.Anchored = true
  1499. Z:Remove()
  1500. Explode:disconnect()
  1501. X.Size = Vector3.new(3,3,3)
  1502. X.Touched:connect(function(hit) end)
  1503. X.CanCollide = false
  1504. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  1505. if v:FindFirstChild('Humanoid') then
  1506. v.Humanoid:TakeDamage(math.random(80,120))
  1507. end
  1508. end
  1509. for i = 1, (40) do rs:wait()
  1510. X.Transparency = X.Transparency + (1/40)
  1511. X.Size = X.Size + Vector3.new(1,1,1)
  1512. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  1513. end
  1514. X:Destroy()
  1515. end
  1516. end)
  1517. end
  1518. for i = 1,200 do
  1519. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1520. 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)
  1521. 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)
  1522. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1523. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1524. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1525. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1526. if Debounces.on == false then break end
  1527. rs:wait()
  1528. end
  1529. for i = 1,30 do
  1530. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  1531. 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)
  1532. 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)
  1533. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1534. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1535. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1536. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1537. if Debounces.on == false then break end
  1538. rs:wait()
  1539. end
  1540. for i = 1,40 do
  1541. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  1542. shell.Size = shell.Size + Vector3.new(1,1,1)
  1543. 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)
  1544. 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)
  1545. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1546. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1547. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1548. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1549. if Debounces.on == false then break end
  1550. rs:wait()
  1551. end
  1552. for i = 1,40 do
  1553. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  1554. 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)
  1555. 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)
  1556. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1557. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1560. if Debounces.on == false then break end
  1561. rs:wait()
  1562. end
  1563. for i = 1,60 do
  1564. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  1565. 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)
  1566. 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)
  1567. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1568. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1569. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1570. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1571. if Debounces.on == false then break end
  1572. rs:wait()
  1573. end
  1574. for i = 1,60 do
  1575. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  1576. shell.Size = shell.Size + Vector3.new(1,1,1)
  1577. 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)
  1578. 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)
  1579. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1580. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1581. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1582. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1583. if Debounces.on == false then break end
  1584. rs:wait()
  1585. end
  1586. if Debounces.CanAttack == false then
  1587. Debounces.CanAttack = true
  1588. Debounces.NoIdl = false
  1589. Debounces.on = false
  1590. end
  1591. end
  1592. end
  1593. end)]]--
  1594. ----------------------------------------------------
  1595.  
  1596. mouse.KeyDown:connect(function(key)
  1597. if key == "t" then
  1598. if Debounces.CanAttack == true then
  1599. Debounces.CanAttack = false
  1600. Debounces.NoIdl = true
  1601. Debounces.on = true
  1602. Debounces.ks = true
  1603. kik = rleg.Touched:connect(function(ht)
  1604. hit = ht.Parent
  1605. if ht and hit:IsA("Model") then
  1606. if hit:FindFirstChild("Humanoid") then
  1607. if hit.Name ~= p.Name then
  1608. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1609. Debounces.Slashed = true]]--
  1610. if Debounces.ks==true then
  1611. z = Instance.new("Sound",hed)
  1612. z.SoundId = "rbxassetid://169380525"
  1613. z.Volume = 1
  1614. z:Play()
  1615. Debounces.ks=false
  1616. end
  1617. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  1618. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  1619. --Debounces.Slashed = false
  1620. --end
  1621. end
  1622. end
  1623. elseif ht and hit:IsA("Hat") then
  1624. if hit.Parent.Name ~= p.Name then
  1625. if hit.Parent:FindFirstChild("Humanoid") then
  1626. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1627. Debounces.Slashed = true]]--
  1628. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  1629. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  1630. --Debounces.Slashed = false
  1631. --end
  1632. end
  1633. end
  1634. end
  1635. end)
  1636. for i = 1,20 do
  1637. 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)
  1638. 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)
  1639. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1640. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  1641. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  1642. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1643. if Debounces.on == false then break end
  1644. rs:wait()
  1645. end
  1646. kik:disconnect()
  1647. if Debounces.CanAttack == false then
  1648. Debounces.CanAttack = true
  1649. Debounces.NoIdl = false
  1650. Debounces.on = false
  1651. end
  1652. end
  1653. end
  1654. end)
  1655. ---------------------------------------------------------------------------------
  1656.  
  1657. pt=Instance.new('Part',torso)
  1658. pt.Anchored=true
  1659. pt.CanCollide=false
  1660. pt.Locked = true
  1661. pt.FormFactor='Custom'
  1662. pt.Size=Vector3.new(1,1,1)
  1663. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1664. pt.Transparency=.6
  1665. pt.BrickColor=BrickColor.new('Cyan')
  1666. msh=Instance.new('SpecialMesh',pt)
  1667. msh.MeshId='http://www.roblox.com/asset/?id=9756362'
  1668. msh.Scale=Vector3.new(8,4,8)
  1669. pt2=pt:clone()
  1670. pt2.Parent = torso
  1671. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1672. pt2.BrickColor=BrickColor.new("Royal purple")
  1673. msh2=msh:clone()
  1674. msh2.Parent=pt2
  1675. msh2.Scale=Vector3.new(10,5,10)
  1676.  
  1677. 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}
  1678.  
  1679. bl = Instance.new("Part", char)
  1680. bl.Locked = true
  1681. bl.Name = "Shell"
  1682. bl.BrickColor = BrickColor.new("Cyan")
  1683. bl.Anchored = true
  1684. bl.CanCollide = false
  1685. bl.Transparency = 0
  1686. bl.Reflectance = 0
  1687. bl.BottomSurface = 0
  1688. bl.TopSurface = 0
  1689. bl.Shape = 0
  1690. blm = Instance.new("SpecialMesh",bl)
  1691. blm.MeshType = "Sphere"
  1692. blm.Scale = Vector3.new(1,1,1)
  1693. blm.MeshId = "rbxassetid://9756362"
  1694.  
  1695. coroutine.resume(coroutine.create(function()
  1696. for i=1, math.huge, 4 do
  1697. if Charging == true then
  1698. rs:wait()
  1699. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1700. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  1701. bl.Transparency = bl.Transparency + 0.005
  1702. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1703. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1704. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  1705. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  1706. elseif Charging == false then break
  1707. end
  1708. end
  1709. end))
  1710.  
  1711. repeat
  1712. local p = Instance.new('Part',torso)
  1713. p.formFactor = 'Custom'
  1714. p.Size = Vector3.new(1,1,1)
  1715. p.BrickColor = workspace.Base.BrickColor
  1716. p.CanCollide = false
  1717. p.Transparency = 0
  1718. p.Anchored = true
  1719. p.Locked=true
  1720. p.Material = workspace.Base.Material
  1721. s = math.random(1,40)/10
  1722. local m = Instance.new("BlockMesh",p)
  1723. m.Scale = Vector3.new(s,s,s)
  1724. 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())
  1725. --[[coroutine.wrap(function()
  1726. wait(2)
  1727. while Charging == true do
  1728. wait(2)
  1729. GroundWave1()
  1730. wait(2)
  1731. end
  1732. end)()]]--
  1733. Spawn(function()
  1734. while rs:wait() do
  1735. if Charging == true then
  1736. 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)))
  1737. 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)))
  1738. 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))
  1739. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  1740. 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)))
  1741. 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)))
  1742. elseif Charging == false then break
  1743. end
  1744. end
  1745. end)
  1746. Spawn(function()
  1747. while rs:wait() do
  1748. if p.Transparency >= 1 then p:Destroy() break end
  1749. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1750. p.Transparency = p.Transparency+0.01
  1751. end
  1752. end)
  1753. wait(.3)
  1754. until Charging == false
  1755. end
  1756. end
  1757. end
  1758. end)
  1759. ----------------------------------------------------
  1760. mouse.KeyUp:connect(function(key)
  1761. if key == "r" then
  1762. if Charging == true then
  1763. Charging = false
  1764. pt:Destroy()
  1765. pt2:Destroy()
  1766. bl:Destroy()
  1767. if Debounces.CanAttack == false then
  1768. Debounces.CanAttack = true
  1769. Debounces.NoIdl = false
  1770. Debounces.on = false
  1771. end
  1772. end
  1773. end
  1774. end)
  1775. ------------------------------------------------
  1776.  
  1777. function lerp(a, b, t) -- Linear interpolation
  1778. return a + (b - a)*t
  1779. end
  1780.  
  1781. function slerp(a, b, t) --Spherical interpolation
  1782. dot = a:Dot(b)
  1783. if dot > 0.99999 or dot < -0.99999 then
  1784. return t <= 0.5 and a or b
  1785. else
  1786. r = math.acos(dot)
  1787. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1788. end
  1789. end
  1790.  
  1791. function matrixInterpolate(a, b, t)
  1792. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1793. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1794. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1795. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1796. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1797. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1798. local t = v1:Dot(v2)
  1799. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1800. return CFrame.new()
  1801. end
  1802. return CFrame.new(
  1803. v0.x, v0.y, v0.z,
  1804. v1.x, v1.y, v1.z,
  1805. v2.x, v2.y, v2.z,
  1806. v3.x, v3.y, v3.z)
  1807. end
  1808. ----------------------------------------------------
  1809. function genWeld(a,b)
  1810. local w = Instance.new("Weld",a)
  1811. w.Part0 = a
  1812. w.Part1 = b
  1813. return w
  1814. end
  1815. function weld(a, b)
  1816. local weld = Instance.new("Weld")
  1817. weld.Name = "W"
  1818. weld.Part0 = a
  1819. weld.Part1 = b
  1820. weld.C0 = a.CFrame:inverse() * b.CFrame
  1821. weld.Parent = a
  1822. return weld;
  1823. end
  1824. ----------------------------------------------------
  1825. function Lerp(c1,c2,al)
  1826. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1827. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1828. for i,v in pairs(com1) do
  1829. com1[i] = v+(com2[i]-v)*al
  1830. end
  1831. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1832. end
  1833. -------------------------------------------------------------------
  1834. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1835. local wld = Instance.new("Weld", wp1)
  1836. wld.Part0 = wp0
  1837. wld.Part1 = wp1
  1838. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1839. end
  1840. ----------------------------------------------------
  1841. function weld5(part0, part1, c0, c1)
  1842. weeld=Instance.new("Weld", part0)
  1843. weeld.Part0=part0
  1844. weeld.Part1=part1
  1845. weeld.C0=c0
  1846. weeld.C1=c1
  1847. return weeld
  1848. end
  1849. ----------------------------------------------------
  1850. function HasntTouched(plrname)
  1851. local ret = true
  1852. for _, v in pairs(Touche) do
  1853. if v == plrname then
  1854. ret = false
  1855. end
  1856. end
  1857. return ret
  1858. end
  1859. ----------------------------------------------------
  1860. newWeld(torso, larm, -1.5, 0.5, 0)
  1861. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1862. newWeld(torso, rarm, 1.5, 0.5, 0)
  1863. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1864. newWeld(torso, hed, 0, 1.5, 0)
  1865. newWeld(torso, lleg, -0.5, -1, 0)
  1866. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1867. newWeld(torso, rleg, 0.5, -1, 0)
  1868. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1869. newWeld(root, torso, 0, -1, 0)
  1870. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1871. ----------------------------------------------------
  1872.  
  1873. -------------------------------
  1874. local animpose = "Idle"
  1875. local lastanimpose = "Idle"
  1876. local sine = 0
  1877. local change = 1
  1878. local val = 0
  1879. local ffing = false
  1880. -------------------------------
  1881. game:GetService("RunService").RenderStepped:connect(function()
  1882. --[[if char.Humanoid.Jump == true then
  1883. jump = true
  1884. else
  1885. jump = false
  1886. end]]
  1887. char.Humanoid.FreeFalling:connect(function(f)
  1888. if f then
  1889. ffing = true
  1890. else
  1891. ffing = false
  1892. end
  1893. end)
  1894. sine = sine + change
  1895. if jumpn == true then
  1896. animpose = "Jumping"
  1897. elseif ffing == true then
  1898. animpose = "Freefalling"
  1899. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1900. animpose = "Idle"
  1901. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1902. animpose = "Walking"
  1903. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1904. animpose = "Running"
  1905. end
  1906. if animpose ~= lastanimpose then
  1907. sine = 0
  1908. if Debounces.NoIdl == false then
  1909. if animpose == "Idle" then
  1910. for i = 1, 2 do
  1911. 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)
  1912. 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)
  1913. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1914. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1915. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1916. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1917. end
  1918. elseif animpose == "Walking" then
  1919. for i = 1, 2 do
  1920. 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)
  1921. 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)
  1922. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  1923. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  1924. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  1925. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  1926. end
  1927. elseif animpose == "Running" then
  1928. for i = 1, 2 do
  1929. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  1930. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  1931. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  1932. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  1933. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  1934. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  1935. wait()
  1936. end
  1937. end
  1938. else
  1939. end
  1940. end
  1941. lastanimpose = animpose
  1942. if Debounces.NoIdl == false then
  1943. if animpose == "Idle" then
  1944. change = 0.5
  1945. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  1946. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  1947. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1948. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1949. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1950. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1951. elseif animpose == "Walking" then
  1952. change = 1
  1953. 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)
  1954. 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)
  1955. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  1956. 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)
  1957. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  1958. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  1959. elseif animpose == "Running" then
  1960. change = 1
  1961. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  1962. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  1963. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  1964. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  1965. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  1966. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  1967. elseif stanceToggle == "Floating" then
  1968. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1969. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1970. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1971. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
  1972. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
  1973. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
  1974. end
  1975. end
  1976. end)
  1977. -------------------------------------------------------------------------------------
  1978.  
  1979. function Chat(msg)
  1980. game:service("Chat"):Chat(jun.Character.Head,msg,Enum.ChatColor.Red)
  1981. end
  1982.  
  1983. function god()
  1984. if Stuff == false then
  1985. Stuff = true
  1986.  
  1987. Chat("BLAAAAACK!")
  1988. jun.Character.Humanoid.WalkSpeed = 0
  1989. Effect1 = Instance.new("Part",jun.Character)
  1990. Effect1.Anchored = true
  1991. Effect1.CanCollide = false
  1992. Effect1.Shape = "Ball"
  1993. Effect1.CFrame = jun.Character.Torso.CFrame
  1994. Effect1.BrickColor = BrickColor.new("Cyan")
  1995. Effect1.Size = Vector3.new(9,7,7)
  1996. Effect1.TopSurface = "Smooth"
  1997. Effect1.BottomSurface = "Smooth"
  1998.  
  1999.  
  2000. for i = 1, 5 do
  2001. wait(.5)
  2002. Effect1.Transparency = Effect1.Transparency + .2
  2003. end
  2004. Effect1:Destroy()
  2005.  
  2006. jun.Character.Humanoid.WalkSpeed = 17
  2007. Chat("I'll make you suffer!")
  2008.  
  2009. p = Instance.new("Part")
  2010. p.Parent = jun.Character
  2011. p.Anchored = true
  2012. p.CanCollide = false
  2013. p.Transparency = 0.15
  2014. p.formFactor = "Symmetric"
  2015. p.Size = Vector3.new(0, 0, 0)
  2016. p.TopSurface = "Smooth"
  2017. p.BottomSurface = "Smooth"
  2018. p.Name = "Sharingan"
  2019. p.Shape = "Ball"
  2020. p.CFrame = jun.Character.Torso.CFrame
  2021. p.BrickColor = BrickColor.new("Cyan")
  2022. for i = 1 , 10 do
  2023. wait(0.07)
  2024. p.Size = p.Size + Vector3.new(4, 4, 4)
  2025. p.Transparency = p.Transparency + 0.1
  2026. p.CFrame = jun.Character.Torso.CFrame
  2027. end
  2028. p:Destroy()
  2029.  
  2030. local runServ = game:GetService("RunService").RenderStepped
  2031.  
  2032. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  2033. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  2034. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  2035. HBill.Size = UDim2.new(15,0,2.2,0)
  2036. HBill.Name = "Health Display"
  2037. HBill.StudsOffset = Vector3.new(0,4,0)
  2038. HBill.AlwaysOnTop = true
  2039. HBill.Enabled = true
  2040. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  2041. HMain.BackgroundTransparency = 1
  2042. HMain.Size = UDim2.new(1,0,1,0)
  2043. HBarBack.Parent = HMain
  2044. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  2045. HBarBack.BorderColor3 = Color3.new(0,0,0)
  2046. HBarBack.BorderSizePixel = 2
  2047. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  2048. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  2049. HBar.Parent = HBarBack
  2050. HBar.BackgroundColor3 = Color3.new(0, 1, 0)
  2051. HBar.BorderColor3 = Color3.new(0,0,0)
  2052. HBar.Size = UDim2.new(.5,0,1,0)
  2053. HHealth.BackgroundTransparency = 1
  2054. HHealth.Size = UDim2.new(1,0,1,0)
  2055. HHealth.Font = "Bodoni"
  2056. HHealth.Text = " "
  2057. HHealth.TextScaled = true
  2058. HHealth.TextColor3 = Color3.new(255,255,0)
  2059. HHealth.TextStrokeColor3 = BrickColor.new("Really black").Color
  2060. HHealth.TextStrokeTransparency = 0
  2061. HName.Parent = HMain
  2062. HName.BackgroundTransparency = 1
  2063. HName.Size = UDim2.new(1,0,.5,0)
  2064. HName.Font = "Bodoni"
  2065. HName.Text = "Vegito"
  2066. HName.TextScaled = true
  2067. HName.TextColor3 = BrickColor.new("Cyan").Color
  2068. HName.TextStrokeColor3 = Color3.new(0,0,0)
  2069. HName.TextStrokeTransparency = 0
  2070. HName.TextYAlignment = "Top"
  2071.  
  2072. --------------------------------------------------------------------------------------------
  2073. z = Instance.new("Sound", char)
  2074. z.SoundId = "rbxassetid://157106990"
  2075. z.Looped = true
  2076. z.Pitch = 1
  2077. z.Volume = 4
  2078. wait(.1)
  2079. z:Play()
  2080. ---------------------------------------------------
  2081.  
  2082. jun.Character.Humanoid.MaxHealth = 1000000000
  2083.  
  2084. -------------------------------------------------------------------------------------
  2085. ----------------------------------------------------------
  2086.  
  2087.  
  2088. local player = game.Players.LocalPlayer
  2089. local pchar = player.Character
  2090. local mouse = player:GetMouse()
  2091. local cam = workspace.CurrentCamera
  2092.  
  2093. local rad = math.rad
  2094.  
  2095. local keysDown = {}
  2096. local flySpeed = 0
  2097. local MAX_FLY_SPEED = 150
  2098.  
  2099. local canFly = false
  2100. local flyToggled = false
  2101.  
  2102. local forward, side = 0, 0
  2103. local lastForward, lastSide = 0, 0
  2104.  
  2105. local floatBP = Instance.new("BodyPosition")
  2106. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  2107. local flyBV = Instance.new("BodyVelocity")
  2108. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2109. local turnBG = Instance.new("BodyGyro")
  2110. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2111.  
  2112. mouse.KeyDown:connect(function(key)
  2113. keysDown[key] = true
  2114.  
  2115. if key == "f" then
  2116. flyToggled = not flyToggled
  2117.  
  2118. if not flyToggled then
  2119. stanceToggle = "Normal"
  2120. floatBP.Parent = nil
  2121. flyBV.Parent = nil
  2122. turnBG.Parent = nil
  2123. root.Velocity = Vector3.new()
  2124. pchar.Humanoid.PlatformStand = false
  2125. end
  2126. end
  2127.  
  2128. end)
  2129. mouse.KeyUp:connect(function(key)
  2130. keysDown[key] = nil
  2131. end)
  2132.  
  2133. local function updateFly()
  2134.  
  2135. if not flyToggled then return end
  2136.  
  2137. lastForward = forward
  2138. lastSide = side
  2139.  
  2140. forward = 0
  2141. side = 0
  2142.  
  2143. if keysDown.w then
  2144. forward = forward + 1
  2145. end
  2146. if keysDown.s then
  2147. forward = forward - 1
  2148. end
  2149. if keysDown.a then
  2150. side = side - 1
  2151. end
  2152. if keysDown.d then
  2153. side = side + 1
  2154. end
  2155.  
  2156. canFly = (forward ~= 0 or side ~= 0)
  2157.  
  2158. if canFly then
  2159. stanceToggle = "Floating"
  2160. turnBG.Parent = root
  2161. floatBP.Parent = nil
  2162. flyBV.Parent = root
  2163.  
  2164. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  2165. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  2166. else
  2167. floatBP.position = root.Position
  2168. floatBP.Parent = root
  2169.  
  2170. flySpeed = flySpeed - 1
  2171. if flySpeed < 0 then flySpeed = 0 end
  2172. end
  2173.  
  2174. local camCF = cam.CoordinateFrame
  2175. local in_forward = canFly and forward or lastForward
  2176. local in_side = canFly and side or lastSide
  2177.  
  2178. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  2179. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  2180.  
  2181. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  2182. 0)
  2183. end
  2184.  
  2185. game:service'RunService'.RenderStepped:connect(function()
  2186. if flyToggled then
  2187. pchar.Humanoid.PlatformStand = true
  2188. end
  2189. updateFly()
  2190. end)
  2191. -------------------------------------------
  2192. repeat wait() until game.Players.LocalPlayer
  2193. local Mouse = game.Players.LocalPlayer:GetMouse()
  2194. local Plr = game.Players.LocalPlayer
  2195.  
  2196. Mouse.KeyDown:connect(function(KeyDown)
  2197. if KeyDown == "0" then
  2198. Plr.Character.Humanoid.WalkSpeed = 40
  2199. end
  2200. end)
  2201.  
  2202. Mouse.KeyUp:connect(function(KeyUp)
  2203. if KeyUp == "0" then
  2204. Plr.Character.Humanoid.WalkSpeed = 17
  2205. end
  2206. end)
  2207. -------------------------------------
  2208. -------------------------------
  2209. local animpose = "Idle"
  2210. local lastanimpose = "Idle"
  2211. local sine = 0
  2212. local change = 1
  2213. local val = 0
  2214. local ffing = false
  2215. -------------------------------
  2216. game:GetService("RunService").RenderStepped:connect(function()
  2217. --[[if char.Humanoid.Jump == true then
  2218. jump = true
  2219. else
  2220. jump = false
  2221. end]]
  2222. char.Humanoid.FreeFalling:connect(function(f)
  2223. if f then
  2224. ffing = true
  2225. else
  2226. ffing = false
  2227. end
  2228. end)
  2229. sine = sine + change
  2230. if jumpn == true then
  2231. animpose = "Jumping"
  2232. elseif ffing == true then
  2233. animpose = "Freefalling"
  2234. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2235. animpose = "Idle"
  2236. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2237. animpose = "Walking"
  2238. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2239. animpose = "Running"
  2240. end
  2241. if animpose ~= lastanimpose then
  2242. sine = 0
  2243. if Debounces.NoIdl == false then
  2244. if animpose == "Idle" then
  2245. for i = 1, 2 do
  2246. 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)
  2247. 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)
  2248. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2249. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2250. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2251. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2252. end
  2253. elseif animpose == "Walking" then
  2254. for i = 1, 2 do
  2255. 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)
  2256. 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)
  2257. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  2258. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  2259. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  2260. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  2261. end
  2262. elseif animpose == "Running" then
  2263. for i = 1, 2 do
  2264. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  2265. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  2266. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  2267. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  2268. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  2269. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  2270. wait()
  2271. end
  2272. end
  2273. else
  2274. end
  2275. end
  2276. lastanimpose = animpose
  2277. if Debounces.NoIdl == false then
  2278. if animpose == "Idle" then
  2279. change = 0.5
  2280. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4)
  2281. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4)
  2282. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2)
  2283. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2284. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05)
  2285. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4)
  2286. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4)
  2287. --[[rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/8),0)*CFrame.Angles(math.rad(-10+4*math.cos(sine/8)),math.rad(-20-2*math.cos(sine/8)),math.rad(10+2*math.cos(sine/8))), 0.2)
  2288. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/8),0)*CFrame.Angles(math.rad(0),math.rad(10+2*math.cos(sine/8)),math.rad(-18-2*math.cos(sine/8))), 0.2)
  2289. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(20+4*math.cos(sine/8)),0), 0.2)
  2290. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(-12-3*math.cos(sine/8)),math.rad(0),0), 0.2)
  2291. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+2*math.cos(sine/8)), math.rad(-20-4*math.cos(sine/8)), 0), 0.2)
  2292. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/8)), math.rad(20+4*math.cos(sine/8)), math.rad(-5+1*math.cos(sine/8))), 0.2)
  2293. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0-4*math.cos(sine/8)), math.rad(-10-4*math.cos(sine/8)), math.rad(5+1*math.cos(sine/8))), 0.2)]]--
  2294. elseif animpose == "Walking" then
  2295. change = 1
  2296. 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)
  2297. 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)
  2298. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  2299. 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)
  2300. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  2301. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  2302. elseif animpose == "Running" then
  2303. change = 1
  2304. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-22),math.rad(20+2*math.cos(sine/14))), 0.2)
  2305. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-10),math.rad(10),math.rad(-14-2*math.cos(sine/14))), 0.2)
  2306. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(20),0,0), 0.4)
  2307. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2308. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-40),0, math.rad(0)), 0.05)
  2309. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(-8)), 0.4)
  2310. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(8)), 0.4)
  2311. end
  2312. end
  2313. end)
  2314. -------------------------------------------------------------------------------------------------
  2315. runServ:connect(function()
  2316. HHealth.Text = "["..math.floor(game.Players.LocalPlayer.Character.Humanoid.Health).."]"
  2317. HBar:TweenSize(UDim2.new((game.Players.LocalPlayer.Character.Humanoid.Health/game.Players.LocalPlayer.Character.Humanoid.MaxHealth),0,1,0), _, "Linear", .4)
  2318. end)
  2319.  
  2320. local p = game.Players.LocalPlayer
  2321. local char = p.Character
  2322. local mouse = p:GetMouse()
  2323. local torso = char.Torso
  2324.  
  2325. local rot ={4}
  2326.  
  2327. local pe1 = Instance.new("ParticleEmitter",torso)
  2328.  
  2329. pe1.Transparency = NumberSequence.new(0.2,0.2)
  2330.  
  2331. pe1.Size = NumberSequence.new(7,7,7)
  2332. pe1.LockedToPart = true
  2333.  
  2334. pe1.Color = ColorSequence.new(Color3.new(0,1013,1013))
  2335.  
  2336. pe1.Texture = "rbxassetid://347730682"
  2337. pe1.Lifetime = NumberRange.new(0.1,0.1)
  2338. pe1.Rate = 6
  2339. pe1.RotSpeed = NumberRange.new(0,0)
  2340. pe1.Rotation = NumberRange.new(rot[math.random(1,#rot)])
  2341. pe1.Speed = NumberRange.new(0,0)
  2342.  
  2343. local pe2 = Instance.new("ParticleEmitter",torso)
  2344.  
  2345. pe2.Transparency = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25)
  2346.  
  2347. pe2.Size = NumberSequence.new(9,9,9)
  2348. pe2.LockedToPart = true
  2349.  
  2350. pe2.Color = ColorSequence.new(Color3.new(0, 1013, 1013))
  2351.  
  2352. pe2.Texture = "rbxassetid://347730682"
  2353. pe2.Lifetime = NumberRange.new(0.1,0.1)
  2354. pe2.Rate = 6
  2355. pe2.RotSpeed = NumberRange.new(0,0)
  2356. pe2Rotation = NumberRange.new(rot[math.random(1,#rot)])
  2357. pe2Speed = NumberRange.new(0,0)
  2358.  
  2359. Effect = Instance.new("Part")
  2360. Effect.Parent = jun.Character
  2361. Effect.Anchored = true
  2362. Effect.CanCollide = false
  2363. Effect.Size = Vector3.new(1, 1, 1)
  2364. Effect.formFactor = "Symmetric"
  2365. Effect.Transparency = 0.5
  2366. Effect.BrickColor = BrickColor.new("Cyan")
  2367. Effect.TopSurface = "Smooth"
  2368. Effect.BottomSurface = "Smooth"
  2369. EffectMesh = Instance.new("CylinderMesh")
  2370. EffectMesh.Parent = Effect
  2371. EffectMesh.Scale = Vector3.new(1, 1500, 1)
  2372.  
  2373. hed.face.Texture = "rbxassetid://563969879"
  2374.  
  2375. for _,c in pairs (jun.Character:GetChildren()) do
  2376. if c.className == "Hat" then
  2377. c.Handle.Transparency = 1
  2378. end
  2379. end
  2380.  
  2381. Hair22 = Instance.new("Part")
  2382.  
  2383. Hair22.Parent = jun.Character
  2384. Hair22.Name = "Hair"
  2385. Hair22.formFactor = "Symmetric"
  2386. Hair22.Size = Vector3.new(1, 1, 1)
  2387. Hair22.CFrame = jun.Character.Head.CFrame
  2388. Hair22:BreakJoints()
  2389. Hair22.CanCollide = false
  2390. Hair22.TopSurface = "Smooth"
  2391. Hair22.BottomSurface = "Smooth"
  2392. Hair22.BrickColor = BrickColor.new("Cyan")
  2393. Hair22.Transparency = 1
  2394.  
  2395. Weld = Instance.new("Weld")
  2396. Weld.Part0 = jun.Character.Head
  2397. Weld.Part1 = Hair22
  2398. Weld.Parent = jun.Character.Head
  2399. Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2400.  
  2401. Mesh = Instance.new("SpecialMesh")
  2402. Mesh.Parent = Hair22
  2403. Mesh.MeshType = "Sphere"
  2404. Mesh.Scale = Vector3.new(1.3, 1.3, 1.3)
  2405.  
  2406. Hair4 = Instance.new("Part")
  2407. Hair4.Parent = jun.Character
  2408. Hair4.Name = "Hair"
  2409. Hair4.CanCollide = false
  2410. Hair4.Locked = true
  2411. Hair4.TopSurface = "Smooth"
  2412. Hair4.BottomSurface = "Smooth"
  2413. Hair4.formFactor = "Symmetric"
  2414. Hair4.BrickColor = BrickColor.new("Cyan")
  2415. Hair4.CFrame = jun.Character.Torso.CFrame
  2416. Hair4.Size = Vector3.new(1, 1, 1)
  2417. Hair4.Transparency = 1
  2418.  
  2419. Weld = Instance.new("Weld")
  2420. Weld.Parent = jun.Character.Head
  2421. Weld.Part0 = jun.Character.Head
  2422. Weld.Part1 = Hair4
  2423. Weld.C0 = CFrame.new(0, 1, 0)
  2424.  
  2425. Mesh = Instance.new("SpecialMesh")
  2426. Mesh.Parent = Hair4
  2427. Mesh.Scale = Vector3.new(6, 6, 6)
  2428. Mesh.MeshType = "FileMesh"
  2429. Mesh.MeshId = "http://www.roblox.com/asset/?id=560152258"
  2430. Mesh.TextureId = ""
  2431.  
  2432. jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0)
  2433.  
  2434. for i = 1 , 20 do
  2435. Effect.CFrame = CFrame.new(jun.Character.Torso.Position)
  2436. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(2, 0, 2)
  2437. Effect.Transparency = Effect.Transparency + 0.025
  2438. wait(0.06)
  2439. end
  2440. Effect:Remove()
  2441.  
  2442. for i = 1, 6 do
  2443. Hair22.Transparency = Hair22.Transparency - .2
  2444. Hair4.Transparency = Hair4.Transparency - .2
  2445. wait(.5)
  2446. end
  2447.  
  2448. jun.Character.Humanoid.MaxHealth = jun.Character.Humanoid.MaxHealth*1.15
  2449. wait()
  2450. jun.Character.Humanoid.Health = jun.Character.Humanoid.MaxHealth
  2451. end
  2452. end
  2453.  
  2454. function off()
  2455. if Stuff == true then
  2456. Stuff = false
  2457. if jun.Character.Torso:findFirstChild("PwnFire") ~= nil then
  2458. jun.Character.Torso:findFirstChild("PwnFire"):Remove()
  2459. end
  2460. p = Instance.new("Part")
  2461. p.Parent = jun.Character
  2462. p.Anchored = true
  2463. p.CanCollide = false
  2464. p.Transparency = 0.1
  2465. p.formFactor = "Symmetric"
  2466. p.Size = Vector3.new(22, 22, 22)
  2467. p.TopSurface = "Smooth"
  2468. p.BottomSurface = "Smooth"
  2469. p.Name = "Sharingan"
  2470. p.Shape = "Ball"
  2471. p.CFrame = jun.Character.Torso.CFrame
  2472. p.BrickColor = BrickColor.new("White")
  2473. for i = 1 , 10 do
  2474. wait(0.05)
  2475. p.Size = p.Size + Vector3.new(-4, -4, -4)
  2476. p.Transparency = p.Transparency + 0.1
  2477. p.CFrame = jun.Character.Torso.CFrame
  2478. end
  2479. p:Remove()
  2480. Chat("Mortals like you stand no chance.")
  2481. for u, c in pairs (jun.Character:GetChildren()) do
  2482. if c.className == "Hat" then
  2483. c.Handle.Transparency = 0
  2484. end
  2485. if c.Name == "Hair" then
  2486. c:Remove()
  2487. end
  2488. end
  2489. jun.Character.Humanoid.Health = jun.Character.Humanoid.Health/1.15
  2490. wait(.3)
  2491. jun.Character.Humanoid.MaxHealth = jun.Character.Humanoid.MaxHealth/1.15
  2492. end
  2493. end
  2494. jun.Chatted:connect(function(Msg)
  2495. msg = Msg:lower()
  2496. if string.sub(msg, 1, 13) == "god" then
  2497. wait(0.1)
  2498. god()
  2499. end
  2500. if string.sub(msg, 1, 3) == "off" then
  2501. wait(0.1)
  2502. off()
  2503. end
  2504. end)
Add Comment
Please, Sign In to add comment