Advertisement
MysteriousL

OmGtest

Jul 23rd, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 171.02 KB | None | 0 0
  1. -------[[ Lets start with something simple like the Variables & Settings ]]-----
  2.  
  3.  
  4.  
  5. local char = game.Players.LocalPlayer.Character
  6. for i,v in pairs(char:children()) do
  7. if v:IsA("Accessory") then
  8. v:Destroy()
  9. end
  10. end
  11. local aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
  12. aura.Size = NumberSequence.new(0)
  13. aura.Lifetime = NumberRange.new(0)
  14. aura.LightEmission = 0
  15. local jun = game.Players.LocalPlayer
  16. local Player=game.Players.LocalPlayer
  17. repeat wait()
  18. until Player
  19. local Char=Player.Character
  20. repeat wait()
  21. until Char
  22. local CurrentEffects={}
  23. local CurrentDamages={}
  24. local Human=Char.Humanoid
  25. local LArm=Char["Left Arm"]
  26. local RArm=Char["Right Arm"]
  27. local LLeg=Char["Left Leg"]
  28. local RLeg=Char["Right Leg"]
  29. local Torso=Char.Torso
  30. local RS=Torso["Right Shoulder"]
  31. local LS=Torso["Left Shoulder"]
  32. local RH=Torso["Right Hip"]
  33. local LH=Torso["Left Hip"]
  34. local Head=Char.Head
  35. local Neck=Torso.Neck
  36. local RootPart=Char.HumanoidRootPart
  37. local RootJoint=RootPart.RootJoint
  38. local equipped=false
  39. local Debounce=false
  40. local Anim="Idle"
  41. local chat = game:GetService("Chat")
  42. local Mouse=Player:GetMouse()
  43. local Lighting=game.Lighting
  44. local cf=CFrame.new
  45. local v3=Vector3.new
  46. local c3=Color3.new
  47. local it=Instance.new
  48. local angles=CFrame.Angles
  49. local rad=math.rad
  50. local ran=math.random
  51. local huge=math.huge
  52. local attacking=false
  53. local attacktype=1
  54. local Portalling=false
  55. local p = game.Players.LocalPlayer
  56. local char = p.Character
  57. local mouse = p:GetMouse()
  58. local larm = char["Left Arm"]
  59. local rarm = char["Right Arm"]
  60. local lleg = char["Left Leg"]
  61. local rleg = char["Right Leg"]
  62. local hed = char.Head
  63. local symbolimg = "rbxassetid://349165228"
  64. local torso = char.Torso
  65. local hum = char.Humanoid
  66. local cam = game.Workspace.CurrentCamera
  67. local root = char.HumanoidRootPart
  68. local deb = false
  69. local shot = 0
  70. local debris=game:service"Debris"
  71. local l = game:GetService("Lighting")
  72. local rs = game:GetService("RunService").RenderStepped
  73. local eColors = {"Royal purple", "Really black"}
  74. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  75. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  76. LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  77. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  78. RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  79. ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  80. r=game:service'RunService'.RenderStepped
  81. --------------------------------------------------------------------
  82.  
  83.  
  84.  
  85. local Transforming = true
  86. Human.WalkSpeed = 0
  87.  
  88.  
  89. Player:ClearCharacterAppearance()
  90. wait(0.1)
  91. Player.Character.Head.BrickColor = BrickColor.new("Black")
  92. Player.Character.Torso.BrickColor = BrickColor.new("Black")
  93. Player.Character["Right Arm"].BrickColor = BrickColor.new("Black")
  94. Player.Character["Right Leg"].BrickColor = BrickColor.new("Black")
  95. Player.Character["Left Leg"].BrickColor = BrickColor.new("Black")
  96. Player.Character["Left Arm"].BrickColor = BrickColor.new("Black")
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
  106. selectionBoxOfTorso.Adornee = Torso
  107. selectionBoxOfTorso.Color = BrickColor.new("Royal purple")
  108. selectionBoxOfTorso.LineThickness = 0.01
  109. selectionBoxOfTorso.Transparency = 0
  110.  
  111. local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
  112. selectionBoxOfRightArm.Adornee = Char["Right Arm"]
  113. selectionBoxOfRightArm.Color = BrickColor.new("Royal purple")
  114. selectionBoxOfRightArm.LineThickness = 0.01
  115. selectionBoxOfRightArm.Transparency = 0
  116.  
  117. local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
  118. selectionBoxOfRightLeg.Adornee = Char["Right Leg"]
  119. selectionBoxOfRightLeg.Color = BrickColor.new("Royal purple")
  120. selectionBoxOfRightLeg.LineThickness = 0.01
  121. selectionBoxOfRightLeg.Transparency = 0
  122.  
  123. local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
  124. selectionBoxOfLeftArm.Adornee = Char["Left Arm"]
  125. selectionBoxOfLeftArm.Color = BrickColor.new("Royal purple")
  126. selectionBoxOfLeftArm.LineThickness = 0.01
  127. selectionBoxOfLeftArm.Transparency = 0
  128.  
  129. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
  130. selectionBoxOfLeftLeg.Adornee = Char["Left Leg"]
  131. selectionBoxOfLeftLeg.Color = BrickColor.new("Royal purple")
  132. selectionBoxOfLeftLeg.LineThickness = 0.01
  133. selectionBoxOfLeftLeg.Transparency = 0
  134.  
  135.  
  136. LightOnBody = Instance.new("PointLight", Head)
  137. LightOnBody.Brightness = 3000
  138. LightOnBody.Range = 20
  139. LightOnBody.Color = Color3.new(0, 225, 0)
  140.  
  141.  
  142.  
  143. local p = game.Players.LocalPlayer
  144. local char = p.Character
  145. GodOfDestruction = Instance.new("Model",game.Players.LocalPlayer.Character.Torso)
  146. GodOfDestruction.Name = "GodOfDestruction"
  147. humanoid = Instance.new("Humanoid",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  148. shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  149. shirt.Name = "Shirt"
  150. pants = Instance.new("Pants",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  151. pants.Name = "Pants"
  152. torso = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  153. torso.Size = Vector3.new(2,2,1)
  154. torso.Rotation = Vector3.new(0,180,0)
  155. torso.Position = Vector3.new(0,4,0)
  156. torso.BrickColor = BrickColor.new("Really black")
  157. torso.Name = "Torso"
  158. head = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  159. head.Size = Vector3.new(1.25,1.25,1.25)
  160. head.BrickColor = BrickColor.new("Really black")
  161. head.Name = "Head"
  162. head.Position = Vector3.new(0,6,0)
  163. headmesh = Instance.new("SpecialMesh",head)
  164. headmesh.MeshType = "Head"
  165. larm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  166. larm.Size = Vector3.new(1,2,1)
  167. larm.BrickColor = BrickColor.new("Really black")
  168. larm.Name = "Left Arm"
  169. larm.Position = Vector3.new(-2,4,0)
  170. rarm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  171. rarm.Size = Vector3.new(1,2,1)
  172. rarm.BrickColor = BrickColor.new("Really black")
  173. rarm.Name = "Right Arm"
  174. rarm.Position = Vector3.new(2,4,0)
  175. lleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  176. lleg.Size = Vector3.new(1,2,1)
  177. lleg.Name = "Left Leg"
  178. lleg.Position = Vector3.new(1,2,0)
  179. lleg.BrickColor = BrickColor.new("Really black")
  180. rleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.GodOfDestruction)
  181. rleg.Size = Vector3.new(1,2,1)
  182. rleg.Name = "Right Leg"
  183. rleg.Position = Vector3.new(-1,2,0)
  184. rleg.BrickColor = BrickColor.new("Really black")
  185. headweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Head)
  186. headweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Head
  187. headweld.Part1 = torso
  188. headweld.C0 = CFrame.new(0, -1.5, 0)
  189. larmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
  190. larmweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso
  191. larmweld.Part1 = larm
  192. larmweld.C0 = CFrame.new(1.5, 0, 0)
  193. rarmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
  194. rarmweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso
  195. rarmweld.Part1 = rarm
  196. rarmweld.C0 = CFrame.new(-1.5, 0, 0)
  197. rlegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
  198. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso
  199. rlegweld.Part1 = rleg
  200. rlegweld.C0 = CFrame.new(-0.5, -2, 0)
  201. llegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso)
  202. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso.GodOfDestruction.Torso
  203. llegweld.Part1 = lleg
  204. llegweld.C0 = CFrame.new(0.5, -2, 0)
  205. npctoplayer = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso)
  206. npctoplayer.Part0 = game.Players.LocalPlayer.Character.Torso
  207. npctoplayer.Part1 = torso
  208. npctoplayer.C0 = CFrame.new(0, 0, -10) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0))
  209.  
  210.  
  211. local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
  212. selectionBoxOfTorso.Adornee = torso
  213. selectionBoxOfTorso.Color = BrickColor.new("Royal purple")
  214. selectionBoxOfTorso.LineThickness = 0.01
  215. selectionBoxOfTorso.Transparency = 0
  216.  
  217. local selectionBoxOfRightArm = Instance.new("SelectionBox",rarm)
  218. selectionBoxOfRightArm.Adornee =rarm
  219. selectionBoxOfRightArm.Color = BrickColor.new("Royal purple")
  220. selectionBoxOfRightArm.LineThickness = 0.01
  221. selectionBoxOfRightArm.Transparency = 0
  222.  
  223. local selectionBoxOfRightLeg = Instance.new("SelectionBox",rleg)
  224. selectionBoxOfRightLeg.Adornee =rleg
  225. selectionBoxOfRightLeg.Color = BrickColor.new("Royal purple")
  226. selectionBoxOfRightLeg.LineThickness = 0.01
  227. selectionBoxOfRightLeg.Transparency = 0
  228.  
  229. local selectionBoxOfLeftArm = Instance.new("SelectionBox",larm)
  230. selectionBoxOfLeftArm.Adornee = larm
  231. selectionBoxOfLeftArm.Color = BrickColor.new("Royal purple")
  232. selectionBoxOfLeftArm.LineThickness = 0.01
  233. selectionBoxOfLeftArm.Transparency = 0
  234.  
  235. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",lleg)
  236. selectionBoxOfLeftLeg.Adornee = lleg
  237. selectionBoxOfLeftLeg.Color = BrickColor.new("Royal purple")
  238. selectionBoxOfLeftLeg.LineThickness = 0.01
  239. selectionBoxOfLeftLeg.Transparency = 0
  240.  
  241.  
  242. LightOnBody = Instance.new("PointLight", head)
  243. LightOnBody.Brightness = 3000
  244. LightOnBody.Range = 20
  245. LightOnBody.Color = Color3.new(225, 0, 0)
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254. CV="Pastel blue"
  255.  
  256. local txt = Instance.new("BillboardGui", GodOfDestruction)
  257. txt.Adornee = head
  258. txt.Name = "_status"
  259. txt.Size = UDim2.new(2, 0, 1.2, 0)
  260. txt.StudsOffset = Vector3.new(-9, 8, 0)
  261. local text = Instance.new("TextLabel", txt)
  262. text.Size = UDim2.new(10, 0, 7, 0)
  263. text.FontSize = "Size24"
  264. text.TextScaled = true
  265. text.TextTransparency = 0
  266. text.BackgroundTransparency = 1
  267. text.TextTransparency = 0
  268. text.TextStrokeTransparency = 0
  269. text.Font = "Antique"
  270. text.TextStrokeColor3 = Color3.new(225,0,0)
  271.  
  272. v=Instance.new("Part")
  273. v.Name = "ColorBrick"
  274. v.Parent=Player.Character
  275. v.FormFactor="Symmetric"
  276. v.Anchored=true
  277. v.CanCollide=false
  278. v.BottomSurface="Smooth"
  279. v.TopSurface="Smooth"
  280. v.Size=Vector3.new(10,5,3)
  281. v.Transparency=1
  282. v.CFrame=Char.Torso.CFrame
  283. v.BrickColor=BrickColor.new(CV)
  284. v.Transparency=1
  285. text.TextColor3 = Color3.new(0,0,0)
  286. v.Shape="Block"
  287. text.Text = "David"
  288.  
  289.  
  290.  
  291.  
  292. local ChatService = game:GetService("Chat")
  293.  
  294. ChatService:Chat(Head, "If we fuse...we will become the omni god..", "Green")
  295.  
  296. ChatService:Chat(Head, "No one will be able to stop us...", "Green")
  297.  
  298. ChatService:Chat(Head, "Lets do this...", "Green")
  299.  
  300.  
  301. local close = -10
  302. for i=1,10 do
  303. wait(0.2)
  304. close = close + 1
  305. npctoplayer.C0 = CFrame.new(0, 0, close) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0))
  306. end
  307. game.Players.LocalPlayer.Character.Torso.GodOfDestruction:Destroy()
  308. wait(0.1)
  309. local p = game.Players.LocalPlayer
  310. local char = p.Character
  311. local mouse = p:GetMouse()
  312. local larm = char["Left Arm"]
  313. local rarm = char["Right Arm"]
  314. local lleg = char["Left Leg"]
  315. local rleg = char["Right Leg"]
  316. local hed = char.Head
  317. local torso = char.Torso
  318. local hum = char.Humanoid
  319. local cam = game.Workspace.CurrentCamera
  320. local root = char.HumanoidRootPart
  321. local deb = false
  322. local shot = 0
  323. local debris=game:service"Debris"
  324. local l = game:GetService("Lighting")
  325. local rs = game:GetService("RunService").RenderStepped
  326.  
  327.  
  328. Debounces = {
  329. CanAttack = true;
  330. NoIdl = false;
  331. Slashing = false;
  332. Slashed = false;
  333. RPunch = false;
  334. Invisible = false;
  335. RPunched = false;
  336. LPunch = false;
  337. LPunched = false;
  338. }
  339. local Touche = {char.Name, }
  340.  
  341.  
  342. function genWeld(a,b)
  343. local w = Instance.new("Weld",a)
  344. w.Part0 = a
  345. w.Part1 = b
  346. return w
  347. end
  348. function weld(a, b)
  349. local weld = Instance.new("Weld")
  350. weld.Name = "W"
  351. weld.Part0 = a
  352. weld.Part1 = b
  353. weld.C0 = a.CFrame:inverse() * b.CFrame
  354. weld.Parent = a
  355. return weld;
  356. end
  357. ----------------------------------------------------
  358. function Lerp(c1,c2,al)
  359. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  360. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  361. for i,v in pairs(com1) do
  362. com1[i] = v+(com2[i]-v)*al
  363. end
  364. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  365. end
  366. ----------------------------------------------------
  367. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  368. local wld = Instance.new("Weld", wp1)
  369. wld.Part0 = wp0
  370. wld.Part1 = wp1
  371. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  372. end
  373. ----------------------------------------------------
  374. function weld5(part0, part1, c0, c1)
  375. weeld=Instance.new("Weld", part0)
  376. weeld.Part0=part0
  377. weeld.Part1=part1
  378. weeld.C0=c0
  379. weeld.C1=c1
  380. return weeld
  381. end
  382. ----------------------------------------------------
  383. function HasntTouched(plrname)
  384. local ret = true
  385. for _, v in pairs(Touche) do
  386. if v == plrname then
  387. ret = false
  388. end
  389. end
  390. return ret
  391. end
  392. ----------------------------------------------------
  393.  
  394. newWeld(torso, larm, -1.5, 0.5, 0)
  395. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  396. newWeld(torso, rarm, 1.5, 0.5, 0)
  397. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  398. newWeld(torso, hed, 0, 1.5, 0)
  399. newWeld(torso, lleg, -0.5, -1, 0)
  400. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  401. newWeld(torso, rleg, 0.5, -1, 0)
  402. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  403. newWeld(root, torso, 0, -1, 0)
  404. torso.Weld.C1 = CFrame.new(0, -1, 0)
  405.  
  406.  
  407. p = Instance.new("Part")
  408. p.BrickColor = BrickColor.new("Dark indigo")
  409. p.Transparency = 1
  410. TorsoColor = p.BrickColor
  411.  
  412.  
  413. local Transforming = true
  414. hum.WalkSpeed = 0
  415.  
  416.  
  417.  
  418.  
  419. local fx = Instance.new("Part",Torso)
  420. wit = p.BrickColor.Color
  421. wit2 = Color3.new(85,0,127)
  422. local glowz = Instance.new("ParticleEmitter",fx)
  423. glowz.LightEmission = 1
  424. glowz.Texture = "rbxassetid://284205403"
  425. glowz.Color = ColorSequence.new(wit)
  426. glowz.Size = NumberSequence.new(5)
  427. glowz.Speed = NumberRange.new(25,50)
  428. glowz.LockedToPart = false
  429. glowz.Transparency = NumberSequence.new(0.75)
  430. glowz.RotSpeed = NumberRange.new(-2000,2000)
  431. glowz.Lifetime = NumberRange.new(1)
  432. glowz.Rate = 50000
  433. glowz.VelocitySpread = 9001
  434. local glowz2 = Instance.new("ParticleEmitter",fx)
  435. glowz2.LightEmission = 0.5
  436. glowz.Texture = "rbxassetid://284205403"
  437. glowz2.Color = ColorSequence.new(wit2)
  438. glowz2.Size = NumberSequence.new(5)
  439. glowz2.Speed = NumberRange.new(25,50)
  440. glowz2.LockedToPart = false
  441. glowz2.Transparency = NumberSequence.new(0.75)
  442. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  443. glowz2.Lifetime = NumberRange.new(1)
  444. glowz2.Rate = 50000
  445. glowz2.VelocitySpread = 9001
  446. fx.Anchored = true
  447. fx.Material = "Neon"
  448. fx.CanCollide = false
  449. fx.Locked = true
  450. fx.Transparency = 1
  451. fx.Material = "Neon"
  452. fx.Size = Vector3.new(1,1,1)
  453. fx.TopSurface = "SmoothNoOutlines"
  454. fx.BottomSurface = "SmoothNoOutlines"
  455. fx.BrickColor = BrickColor.new("Really black")
  456. fxm = Instance.new("SpecialMesh",fx)
  457. fxm.MeshType = "Sphere"
  458. local sa2 = Instance.new("Sound",Torso)
  459. sa2.SoundId = "rbxassetid://93724183"
  460. sa2.Pitch = 0.5
  461. sa2.Volume = 5
  462. sa2.Looped = false
  463. sa2:Play()
  464. local value = 1
  465. fxm.Scale = Vector3.new(1,1,1)
  466. for i = 1, 20 do rs:wait()
  467. value = value - 0.05
  468. fx.Transparency = fx.Transparency - (1/20)
  469. fx.CFrame = Torso.CFrame
  470. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  471. rs:wait()
  472. end
  473.  
  474.  
  475. selectionBoxOfTorso:Destroy()
  476. selectionBoxOfRightArm:Destroy()
  477. selectionBoxOfRightLeg:Destroy()
  478. selectionBoxOfLeftArm:Destroy()
  479. selectionBoxOfLeftLeg:Destroy()
  480. LightOnBody:Destroy()
  481.  
  482.  
  483. local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
  484. selectionBoxOfTorso.Adornee = Torso
  485. selectionBoxOfTorso.Color = BrickColor.new("Royal purple")
  486. selectionBoxOfTorso.LineThickness = 0.01
  487. selectionBoxOfTorso.Transparency = 0
  488.  
  489. local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
  490. selectionBoxOfRightArm.Adornee = Char["Right Arm"]
  491. selectionBoxOfRightArm.Color = BrickColor.new("Royal purple")
  492. selectionBoxOfRightArm.LineThickness = 0.01
  493. selectionBoxOfRightArm.Transparency = 0
  494.  
  495. local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
  496. selectionBoxOfRightLeg.Adornee = Char["Right Leg"]
  497. selectionBoxOfRightLeg.Color = BrickColor.new("Royal purple")
  498. selectionBoxOfRightLeg.LineThickness = 0.01
  499. selectionBoxOfRightLeg.Transparency = 0
  500.  
  501. local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
  502. selectionBoxOfLeftArm.Adornee = Char["Left Arm"]
  503. selectionBoxOfLeftArm.Color = BrickColor.new("Royal purple")
  504. selectionBoxOfLeftArm.LineThickness = 0.01
  505. selectionBoxOfLeftArm.Transparency = 0
  506.  
  507. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
  508. selectionBoxOfLeftLeg.Adornee = Char["Left Leg"]
  509. selectionBoxOfLeftLeg.Color = BrickColor.new("Royal purple")
  510. selectionBoxOfLeftLeg.LineThickness = 0.01
  511. selectionBoxOfLeftLeg.Transparency = 0
  512.  
  513.  
  514.  
  515.  
  516. local Orbd = Instance.new("Part", char)
  517. Orbd.Name = "Orbd"
  518. Orbd.Shape = Enum.PartType.Ball
  519. Orbd.CanCollide = false
  520.  
  521. Orbd.BrickColor = BrickColor.new("Royal purple")
  522.  
  523. Orbd.Transparency = 0
  524. Orbd.Material = "Neon"
  525. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  526. Orbd.TopSurface = Enum.SurfaceType.Smooth
  527. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  528.  
  529. local Weld = Instance.new("Weld", Orbd)
  530. Weld.Part0 = char.Head
  531. Weld.Part1 = Orbd
  532. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  533. local glov = Instance.new("PointLight", Orbd)
  534. glov.Brightness = 3000
  535. glov.Range = 20
  536. glov.Color = Color3.new(255, 0, 255)
  537.  
  538. --------------------------------------------------------
  539. local Orbvc = Instance.new("Part", char)
  540. Orbvc.Name = "Orbvc"
  541. Orbvc.Shape = Enum.PartType.Ball
  542. Orbvc.CanCollide = false
  543.  
  544. Orbvc.BrickColor = BrickColor.new("Royal purple")
  545.  
  546. Orbvc.Transparency = 0
  547. Orbvc.Material = "Neon"
  548. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  549. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  550. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  551.  
  552. local Weld = Instance.new("Weld", Orbvc)
  553. Weld.Part0 = char.Head
  554. Weld.Part1 = Orbvc
  555. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  556. local glo = Instance.new("PointLight", Orbvc)
  557. glo.Brightness = 3000
  558. glo.Range = 20
  559. glo.Color = Color3.new(255, 0, 255)
  560. ----------------------------------------------------
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571. function FindNearestTorso(Position,Distance,SinglePlayer)
  572. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  573. local List = {}
  574. for i,v in pairs(workspace:GetChildren())do
  575. if v:IsA("Model")then
  576. if v:findFirstChild("Torso")then
  577. if v ~= char then
  578. if(v.Torso.Position -Position).magnitude <= Distance then
  579. table.insert(List,v)
  580. end
  581. end
  582. end
  583. end
  584. end
  585. return List
  586. end
  587.  
  588.  
  589.  
  590.  
  591. GroundWave1 = function()
  592. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  593. local Colors = {"Royal purple", "Really black"}
  594. local wave = Instance.new("Part", Torso)
  595. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  596. wave.Anchored = true
  597. wave.CanCollide = false
  598. wave.Locked = true
  599. wave.Size = Vector3.new(1, 1, 1)
  600. wave.TopSurface = "Smooth"
  601. wave.BottomSurface = "Smooth"
  602. wave.Transparency = 0.35
  603. wave.CFrame = HandCF
  604. wm = Instance.new("SpecialMesh", wave)
  605. wm.MeshId = "rbxassetid://3270017"
  606. coroutine.wrap(function()
  607. for i = 1, 30, 1 do
  608. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  609. wave.Size = wm.Scale
  610. wave.CFrame = HandCF
  611. wave.Transparency = i/30
  612. wait()
  613. end
  614. wait()
  615. wave:Destroy()
  616. end)()
  617. end
  618. ----------------------------------------------------
  619.  
  620.  
  621. GroundWave3 = function()
  622. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  623. local Colors = {"Royal purple", "Royal purple"}
  624. local wave = Instance.new("Part", torso)
  625. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  626. wave.Anchored = true
  627. wave.CanCollide = false
  628. wave.Locked = true
  629. wave.Size = Vector3.new(1, 1, 1)
  630. wave.TopSurface = "Smooth"
  631. wave.BottomSurface = "Smooth"
  632. wave.Transparency = 0.35
  633. wave.CFrame = HandCF
  634. wm = Instance.new("SpecialMesh", wave)
  635. wm.MeshId = "rbxassetid://3270017"
  636. coroutine.wrap(function()
  637. for i = 1, 14, 1 do
  638. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  639. wave.Size = wm.Scale
  640. wave.CFrame = HandCF
  641. wave.Transparency = i/14
  642. wait()
  643. end
  644. wait()
  645. wave:Destroy()
  646. end)()
  647. end
  648.  
  649.  
  650.  
  651.  
  652.  
  653. local acos = math.acos
  654. local sqrt = math.sqrt
  655. local Vec3 = Vector3.new
  656. local fromAxisAngle = CFrame.fromAxisAngle
  657.  
  658. local function toAxisAngle(CFr)
  659. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  660. local Angle = math.acos((R00+R11+R22-1)/2)
  661. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  662. A = A == 0 and 0.00001 or A
  663. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  664. B = B == 0 and 0.00001 or B
  665. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  666. C = C == 0 and 0.00001 or C
  667. local x = (R21-R12)/sqrt(A)
  668. local y = (R02-R20)/sqrt(B)
  669. local z = (R10-R01)/sqrt(C)
  670. return Vec3(x,y,z),Angle
  671. end
  672.  
  673. local acos = math.acos
  674. local sqrt = math.sqrt
  675. local Vec3 = Vector3.new
  676. local fromAxisAngle = CFrame.fromAxisAngle
  677.  
  678. local function toAxisAngle(CFr)
  679. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  680. local Angle = math.acos((R00+R11+R22-1)/2)
  681. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  682. A = A == 0 and 0.00001 or A
  683. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  684. B = B == 0 and 0.00001 or B
  685. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  686. C = C == 0 and 0.00001 or C
  687. local x = (R21-R12)/sqrt(A)
  688. local y = (R02-R20)/sqrt(B)
  689. local z = (R10-R01)/sqrt(C)
  690. return Vec3(x,y,z),Angle
  691. end
  692.  
  693. function ApplyTrig(Num,Func)
  694. local Min,Max = Func(0),Func(1)
  695. local i = Func(Num)
  696. return (i-Min)/(Max-Min)
  697. --[[if Func == "sin" then
  698. return (math.sin((1-Num)*math.pi)+1)/2
  699. elseif Func == "cos" then
  700. return (math.cos((1-Num)*math.pi)+1)/2
  701. end]]
  702. end
  703.  
  704. function LerpCFrame(CFrame1,CFrame2,Num)
  705. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  706. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  707. end
  708.  
  709.  
  710.  
  711. local togglecamshake = true
  712.  
  713. function camshake(partoz, magn, intens)
  714. if togglecamshake == true then
  715. return
  716. end
  717. for _, guy in pairs(workspace:GetChildren()) do
  718. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy.Name ~= "Noob" and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
  719. coroutine.resume(coroutine.create(function()
  720. local humz = guy:FindFirstChild("Humanoid")
  721. local torse = guy:FindFirstChild("Torso")
  722. for _ = 1, 5 * intens do
  723. wait()
  724. humz.CameraOffset = Vector3.new(2 * math.random(-intens, intens), 0.5 * math.random(-intens, intens), 2 * math.random(-intens, intens))
  725. end
  726. humz.CameraOffset = Vector3.new(0, 0, 0)
  727. end))
  728. end
  729. end
  730. end
  731.  
  732.  
  733. function Crater(Torso,Radius)
  734. Spawn(function()
  735. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  736. local Ignore = {}
  737. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  738. if v.Character ~= nil then
  739. Ignore[#Ignore+1] = v.Character
  740. end
  741. end
  742. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  743. if Hit == nil then return end
  744. local Parts = {}
  745. for i = 1,360,10 do
  746. local P = Instance.new("Part",Torso.Parent)
  747. P.Anchored = true
  748. P.FormFactor = "Custom"
  749. P.BrickColor = BrickColor.new("Royal purple")
  750. P.Material = "Granite"
  751. P.TopSurface = "Smooth"
  752. P.BottomSurface = "Smooth"
  753. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  754. 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)))
  755. 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}
  756. if math.random(0,5) == 0 then -- rubble
  757. local P = Instance.new("Part",Torso.Parent)
  758. P.Anchored = true
  759. P.FormFactor = "Custom"
  760. P.BrickColor = BrickColor.new("Royal Purple")
  761. P.Material = Hit.Material
  762. P.TopSurface = "Smooth"
  763. P.BottomSurface = "Smooth"
  764. P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
  765. 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)))
  766. 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}
  767. end
  768. end
  769. for i = 0,1,0.05 do
  770. for i2,v in pairs(Parts) do
  771. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  772. end
  773. wait(0.02)
  774. end
  775. for i,v in pairs(Parts) do
  776. if v[1].Size.X > 2.1 then
  777. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  778. end
  779. v[1].Anchored = false
  780. end
  781. for i = 0,1,0.05 do
  782. for i2,v in pairs(Parts) do
  783. v[1].Transparency = i
  784. if i == 1 then
  785. v[1]:Destroy()
  786. elseif i >= 0.25 then
  787. v[1].CanCollide = false
  788. end
  789. end
  790. wait(0.02)
  791. end
  792. Parts = nil
  793. end)
  794. end
  795.  
  796.  
  797.  
  798. GroundWave = function()
  799. if Transforming == true then
  800. local value = 5
  801. local value2 = 10
  802. local value3 = 20
  803. local sa2 = Instance.new("Sound",Torso)
  804. sa2.SoundId = "rbxassetid://393621716"
  805. sa2.Pitch = 1
  806. sa2.Volume = 10
  807. sa2.Looped = false
  808. sa2:Play()
  809. local wave = Instance.new("Part", Torso)
  810. local glowz = Instance.new("ParticleEmitter",wave)
  811. glowz.LightEmission = 1
  812. glowz.Texture = "rbxassetid://284205403"
  813. glowz.Color = ColorSequence.new(wit)
  814. glowz.Size = NumberSequence.new(30)
  815. glowz.Speed = NumberRange.new(25,100)
  816. glowz.LockedToPart = false
  817. glowz.Transparency = NumberSequence.new(0.75)
  818. glowz.RotSpeed = NumberRange.new(-2000,2000)
  819. glowz.Lifetime = NumberRange.new(1)
  820. glowz.Rate = 50000
  821. glowz.VelocitySpread = 9001
  822. local glowz2 = Instance.new("ParticleEmitter",wave)
  823. glowz2.LightEmission = 1
  824. glowz.Texture = "rbxassetid://284205403"
  825. glowz2.Color = ColorSequence.new(wit)
  826. glowz2.Size = NumberSequence.new(30)
  827. glowz2.Speed = NumberRange.new(25,100)
  828. glowz2.LockedToPart = false
  829. glowz2.Transparency = NumberSequence.new(0.75)
  830. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  831. glowz2.Lifetime = NumberRange.new(1)
  832. glowz2.Rate = 50000
  833. glowz2.VelocitySpread = 9001
  834. wave.BrickColor = BrickColor.new("Really black")
  835. wave.Anchored = true
  836. wave.CanCollide = false
  837. wave.Locked = true
  838. wave.Size = Vector3.new(1, 1, 1)
  839. wave.TopSurface = "Smooth"
  840. wave.BottomSurface = "Smooth"
  841. wave.Transparency = 0.35
  842. wave.CFrame = fx.CFrame
  843. wave.Material = "Neon"
  844. wm = Instance.new("SpecialMesh", wave)
  845. wm.MeshType = "Sphere"
  846. wm.Scale = Vector3.new(1,1,1)
  847. local wave2 = Instance.new("Part", Torso)
  848. wave2.BrickColor = TorsoColor
  849. wave2.Anchored = true
  850. wave2.CanCollide = false
  851. wave2.Locked = true
  852. wave2.Size = Vector3.new(1, 1, 1)
  853. wave2.TopSurface = "Smooth"
  854. wave2.BottomSurface = "Smooth"
  855. wave2.Transparency = 0.35
  856. wave2.CFrame = fx.CFrame
  857. wave2.Material = "Neon"
  858. wm2 = Instance.new("SpecialMesh", wave2)
  859. wm2.MeshType = "FileMesh"
  860. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  861. wm2.Scale = Vector3.new(1,1,1)
  862. local wave3 = Instance.new("Part", Torso)
  863. wave3.BrickColor = BrickColor.new("Really black")
  864. wave3.Anchored = true
  865. wave3.CanCollide = false
  866. wave3.Locked = true
  867. wave3.Size = Vector3.new(1, 1, 1)
  868. wave3.TopSurface = "Smooth"
  869. wave3.BottomSurface = "Smooth"
  870. wave3.Transparency = 0.35
  871. wave3.CFrame = fx.CFrame
  872. wave3.Material = "Neon"
  873. wm3 = Instance.new("SpecialMesh", wave3)
  874. wm3.MeshType = "FileMesh"
  875. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  876. wm3.Scale = Vector3.new(1,1,1)
  877. coroutine.wrap(function()
  878. for i = 1, 18, 1 do
  879. value = value - 0.5
  880. value2 = value2 - 0.75*1.5
  881. value3 = value3 - 0.475*1.5
  882. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  883. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  884. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  885. --wave.Size = wm.Scale
  886. wave.CFrame = fx.CFrame
  887. wave.Transparency = i/14
  888. --wave2.Size = wm2.Scale
  889. wave2.CFrame = fx.CFrame
  890. wave2.Rotation = Vector3.new(90, 0, 0)
  891. wave2.Transparency = i/14
  892. --wave3.Size = wm3.Scale
  893. wave3.CFrame = fx.CFrame
  894. wave3.Rotation = Vector3.new(90, 0, 0)
  895. wave3.Transparency = i/14
  896. wait()
  897. glowz.Rate = 0
  898. glowz2.Rate = 0
  899. end
  900. wait()
  901. wave:Destroy()
  902. wave2:Destroy()
  903. wave3:Destroy()
  904. end)()
  905. elseif Transforming == false then
  906. wait()
  907. end
  908. end
  909.  
  910. for i = 1, 100 do rs:wait()
  911. fx.CFrame = Torso.CFrame
  912. end
  913.  
  914. spawn(function()
  915. while wait(0.5) do
  916. GroundWave()
  917. end
  918. end)
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. local RbxUtility = LoadLibrary("RbxUtility")
  926. local Create = RbxUtility.Create
  927.  
  928. function RemoveOutlines(part)
  929. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  930. end
  931. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  932. local Part = Create("Part"){
  933. Parent = Parent,
  934. Reflectance = Reflectance,
  935. Transparency = Transparency,
  936. CanCollide = false,
  937. Locked = true,
  938. BrickColor = BrickColor.new(tostring(BColor)),
  939. Name = Name,
  940. Size = Size,
  941. Material = Material,
  942. }
  943. RemoveOutlines(Part)
  944. return Part
  945. end
  946. local Effects = {}
  947.  
  948.  
  949.  
  950. wait(0.5)
  951. local Muss = Instance.new("Sound",char)
  952. Muss.SoundId = "rbxassetid://143858925"
  953. Muss.Pitch = 1
  954. Muss.Volume = 0
  955. Muss.Looped = true
  956. Muss:Play()
  957. Transforming = false
  958.  
  959.  
  960. local value2 = 1
  961. for i = 1, 20 do rs:wait()
  962. value2 = value2 - 0.05
  963. glowz.Rate = 0
  964. glowz2.Rate = 0
  965. fx.Transparency = fx.Transparency + (1/20)
  966. fx.CFrame = torso.CFrame
  967. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  968. rs:wait()
  969. end
  970.  
  971.  
  972. local Mus = Instance.new("Sound",char)
  973. Mus.SoundId = "rbxassetid://257295907"
  974. Mus.Pitch =0.7
  975. Mus.Volume = 10
  976. Mus.Looped = false
  977. wait(0.3)
  978. Mus:Play()
  979.  
  980. glowz:Destroy()
  981. glowz2:Destroy()
  982. for i = 1,20 do
  983.  
  984. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  985. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  986. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  987. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4)
  988. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.7) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4)
  989. end
  990. wait(0.5)
  991. for i = 1,20 do
  992. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  993. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  994. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  995.  
  996. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4)
  997. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4)
  998.  
  999. end
  1000.  
  1001.  
  1002. wait(0.5)
  1003.  
  1004. wait(0.5)
  1005. for i = 1,20 do
  1006. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2)
  1007.  
  1008.  
  1009. end
  1010. wait(0.4)
  1011. for i = 1,20 do
  1012.  
  1013. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2)
  1014. end
  1015. wait(0.6)
  1016. for i = 1,20 do
  1017. wait()
  1018. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1019. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-35)), 0.2)
  1020. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(35)), 0.2)
  1021. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4)
  1022. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4)
  1023. end
  1024. wait(0.2)
  1025. for i = 1,20 do
  1026. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1027. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2)
  1028. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2)
  1029.  
  1030. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4)
  1031. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4)
  1032.  
  1033. end
  1034. wait()
  1035.  
  1036. camshake(torso, 48, 6)
  1037. for i,v in pairs(FindNearestTorso(Torso.CFrame.p,40))do
  1038. if v:FindFirstChild('Humanoid') then
  1039. v.Humanoid:TakeDamage(math.random(999999999999999999999999,99999999999999999999999999999999999999))
  1040. end
  1041. end
  1042.  
  1043.  
  1044.  
  1045.  
  1046. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1047. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1048. end
  1049.  
  1050. function rayCast(Position, Direction, MaxDistance, IgnoreList)
  1051. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1052. end
  1053. local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
  1054. TBlast.BrickColor = BrickColor.new("Pink")
  1055. TBlast.Transparency = 1
  1056. TBlast.Anchored = true
  1057. TBlast.CanCollide = false
  1058. TBlast.CFrame = root.CFrame
  1059. TBlast.Size = Vector3.new(2,2,2)
  1060. TBMesh.Parent = TBlast
  1061. TBMesh.MeshType = "Sphere"
  1062. game.Lighting.Brightness = 0
  1063. game.Lighting.OutdoorAmbient = TBlast.BrickColor.Color
  1064. game.Lighting.TimeOfDay = 0.1
  1065. game.Lighting.FogEnd = 1000
  1066. game.Lighting.FogColor = TBlast.BrickColor.Color
  1067. game.Lighting.TimeOfDay = "00:00:00"
  1068. game.Lighting.Ambient = Color3.new(0,0,0)
  1069. game.Lighting.FogColor = Color3.new(0,0,0)
  1070. game.Lighting.FogEnd = 500
  1071. game.Lighting.FogStart = 0
  1072. game.Lighting.GlobalShadows = true
  1073.  
  1074.  
  1075.  
  1076. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1077. local valuer = 5
  1078. local valuer2 = 10
  1079. local valuer3 = 15
  1080. local sa2 = Instance.new("Sound",torso)
  1081. sa2.SoundId = "rbxassetid://130972023"
  1082. sa2.Pitch = 1
  1083. sa2.Volume = 5
  1084. sa2.Looped = false
  1085. sa2:Play()
  1086. local sar2 = Instance.new("Sound",torso)
  1087. sar2.SoundId = "rbxassetid://153274423"
  1088. sar2.Pitch = 1
  1089. sar2.Volume = 5
  1090. sar2.Looped = false
  1091. sar2:Play()
  1092. Crater(torso,67)
  1093.  
  1094. GroundWave4 = function()
  1095.  
  1096. local wave = Instance.new("Part", torso)
  1097. wave.BrickColor = BrickColor.new("Royal purple")
  1098. wave.Anchored = true
  1099. wave.CanCollide = false
  1100. wave.Locked = true
  1101. wave.Size = Vector3.new(1, 1, 1)
  1102. wave.TopSurface = "Smooth"
  1103. wave.BottomSurface = "Smooth"
  1104. wave.Transparency = 0.35
  1105. wave.CFrame = fx.CFrame
  1106. wm = Instance.new("SpecialMesh", wave)
  1107. wm.MeshType = "Sphere"
  1108. wm.Scale = Vector3.new(1,1,1)
  1109. coroutine.wrap(function()
  1110. for i = 1, 18, 1 do
  1111. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  1112. --wave.Size = wm.Scale
  1113. wave.CFrame = fx.CFrame
  1114. wave.Transparency = i/14
  1115. wait()
  1116. end
  1117. wait()
  1118. wave:Destroy()
  1119. end)()
  1120.  
  1121. end
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127. GroundWave1()
  1128.  
  1129.  
  1130. CV="Pastel blue"
  1131.  
  1132. local txt = Instance.new("BillboardGui", Char)
  1133. txt.Adornee = Char .Head
  1134. txt.Name = "_status"
  1135. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1136. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1137. local text = Instance.new("TextLabel", txt)
  1138. text.Size = UDim2.new(10, 0, 7, 0)
  1139. text.FontSize = "Size24"
  1140. text.TextScaled = true
  1141. text.TextTransparency = 0
  1142. text.BackgroundTransparency = 1
  1143. text.TextTransparency = 0
  1144. text.TextStrokeTransparency = 0
  1145. text.Font = "Antique"
  1146. text.TextStrokeColor3 = Color3.new(170,0,255)
  1147.  
  1148. v=Instance.new("Part")
  1149. v.Name = "ColorBrick"
  1150. v.Parent=Player.Character
  1151. v.FormFactor="Symmetric"
  1152. v.Anchored=true
  1153. v.CanCollide=false
  1154. v.BottomSurface="Smooth"
  1155. v.TopSurface="Smooth"
  1156. v.Size=Vector3.new(10,5,3)
  1157. v.Transparency=1
  1158. v.CFrame=Char.Torso.CFrame
  1159. v.BrickColor=BrickColor.new(CV)
  1160. v.Transparency=1
  1161. text.TextColor3 = Color3.new(0,0,0)
  1162. v.Shape="Block"
  1163. text.Text = "Death Itself"
  1164.  
  1165. local p = game.Players.LocalPlayer
  1166. local char = p.Character
  1167. local mouse = p:GetMouse()
  1168. local larm = char["Left Arm"]
  1169. local rarm = char["Right Arm"]
  1170. local lleg = char["Left Leg"]
  1171. local rleg = char["Right Leg"]
  1172. local hed = char.Head
  1173. local torso = char.Torso
  1174. local hum = char.Humanoid
  1175. local cam = game.Workspace.CurrentCamera
  1176. local root = char.HumanoidRootPart
  1177.  
  1178. local particleemitter = Instance.new("ParticleEmitter", torso)
  1179. particleemitter.VelocitySpread = 180
  1180. particleemitter.LockedToPart = true
  1181. particleemitter.Lifetime = NumberRange.new(0.1)
  1182. particleemitter.Speed = NumberRange.new(2)
  1183. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1184. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1185. particleemitter.Rate = 100
  1186. particleemitter.Rotation = NumberRange.new(-45, 45)
  1187. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1188. particleemitter.LightEmission = 0
  1189. particleemitter.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  1190.  
  1191. s = Instance.new('Sound',char)
  1192. s.SoundId = "rbxassetid://" -- 356686094 = megalotrousle,414711562 = here we are,367193208 = SharaX DDYD
  1193. s.Volume=3
  1194. s.Pitch = 1
  1195. s.Looped = true
  1196. s:Play()
  1197. local deb = false
  1198. local shot = 0
  1199. local debris=game:service"Debris"
  1200. local l = game:GetService("Lighting")
  1201. local rs = game:GetService("RunService").RenderStepped
  1202. hum.MaxHealth = math.huge
  1203. hum.Health = math.huge
  1204. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1205. math.randomseed(os.time())
  1206. for i,v in pairs (hed:GetChildren()) do
  1207. if v:IsA("Sound") then
  1208. v:Destroy()
  1209. end
  1210. end
  1211.  
  1212.  
  1213. ----------------------------------------------------
  1214. Debounces = {
  1215. CanAttack = true;
  1216. NoIdl = false;
  1217. Slashing = false;
  1218. Slashed = false;
  1219. RPunch = false;
  1220. RPunched = false;
  1221. LPunch = false;
  1222. LPunched = false;
  1223. }
  1224. local Touche = {char.Name, }
  1225. ----------------------------------------------------
  1226. hed.face.Texture = "rbxassetid://431054853"
  1227. ----------------------------------------------------
  1228. ypcall(function()
  1229. char.Shirt:Destroy()
  1230. char.Pants:Destroy()
  1231. shirt = Instance.new("Shirt", char)
  1232. shirt.Name = "Shirt"
  1233. pants = Instance.new("Pants", char)
  1234. pants.Name = "Pants"
  1235. char.Shirt.ShirtTemplate = "rbxassetid://345371561"
  1236. char.Pants.PantsTemplate = "rbxassetid://345372241"
  1237. end)
  1238. ----------------------------------------------------
  1239. function lerp(a, b, t) -- Linear interpolation
  1240. return a + (b - a)*t
  1241. end
  1242.  
  1243. function slerp(a, b, t) --Spherical interpolation
  1244. dot = a:Dot(b)
  1245. if dot > 0.99999 or dot < -0.99999 then
  1246. return t <= 0.5 and a or b
  1247. else
  1248. r = math.acos(dot)
  1249. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1250. end
  1251. end
  1252.  
  1253. function matrixInterpolate(a, b, t)
  1254. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1255. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1256. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1257. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1258. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1259. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1260. local t = v1:Dot(v2)
  1261. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1262. return CFrame.new()
  1263. end
  1264. return CFrame.new(
  1265. v0.x, v0.y, v0.z,
  1266. v1.x, v1.y, v1.z,
  1267. v2.x, v2.y, v2.z,
  1268. v3.x, v3.y, v3.z)
  1269. end
  1270. ----------------------------------------------------
  1271. function genWeld(a,b)
  1272. local w = Instance.new("Weld",a)
  1273. w.Part0 = a
  1274. w.Part1 = b
  1275. return w
  1276. end
  1277. function weld(a, b)
  1278. local weld = Instance.new("Weld")
  1279. weld.Name = "W"
  1280. weld.Part0 = a
  1281. weld.Part1 = b
  1282. weld.C0 = a.CFrame:inverse() * b.CFrame
  1283. weld.Parent = a
  1284. return weld;
  1285. end
  1286. ----------------------------------------------------
  1287. function Lerp(c1,c2,al)
  1288. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1289. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1290. for i,v in pairs(com1) do
  1291. com1[i] = v+(com2[i]-v)*al
  1292. end
  1293. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1294. end
  1295. ----------------------------------------------------
  1296. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1297. local wld = Instance.new("Weld", wp1)
  1298. wld.Part0 = wp0
  1299. wld.Part1 = wp1
  1300. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1301. end
  1302. ----------------------------------------------------
  1303. function weld5(part0, part1, c0, c1)
  1304. weeld=Instance.new("Weld", part0)
  1305. weeld.Part0=part0
  1306. weeld.Part1=part1
  1307. weeld.C0=c0
  1308. weeld.C1=c1
  1309. return weeld
  1310. end
  1311. ----------------------------------------------------
  1312. function HasntTouched(plrname)
  1313. local ret = true
  1314. for _, v in pairs(Touche) do
  1315. if v == plrname then
  1316. ret = false
  1317. end
  1318. end
  1319. return ret
  1320. end
  1321. ----------------------------------------------------
  1322. newWeld(torso, larm, -1.5, 0.5, 0)
  1323. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1324. newWeld(torso, rarm, 1.5, 0.5, 0)
  1325. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1326. newWeld(torso, hed, 0, 1.5, 0)
  1327. newWeld(torso, lleg, -0.5, -1, 0)
  1328. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1329. newWeld(torso, rleg, 0.5, -1, 0)
  1330. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1331. newWeld(root, torso, 0, -1, 0)
  1332. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1333. ----------------------------------------------------
  1334. --[[z = Instance.new("Sound", char)
  1335. z.SoundId = "rbxassetid://303570180"--303570180
  1336. z.Looped = true
  1337. z.Pitch = 1
  1338. z.Volume = 1
  1339. wait(.1)
  1340. z:Play()]]
  1341. ----------------------------------------------------
  1342. local Transforming = true
  1343. hum.WalkSpeed = 0
  1344. local fx = Instance.new("Part",torso)
  1345. fx.Anchored = true
  1346. fx.Material = "Neon"
  1347. fx.CanCollide = false
  1348. fx.Locked = true
  1349. fx.Transparency = 1
  1350. fx.Material = "SmoothPlastic"
  1351. fx.Size = Vector3.new(1,1,1)
  1352. fx.TopSurface = "SmoothNoOutlines"
  1353. fx.BottomSurface = "SmoothNoOutlines"
  1354. fx.BrickColor = BrickColor.new("Really black")
  1355. fxm = Instance.new("SpecialMesh",fx)
  1356. fxm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  1357. fxm.Scale = Vector3.new(1,1,1)
  1358. for i = 1, 20 do rs:wait()
  1359. fx.Transparency = fx.Transparency - (1/20)
  1360. fx.CFrame = torso.CFrame
  1361. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  1362. rs:wait()
  1363. end
  1364. ----------------------------------------------------
  1365. lleg.Transparency = 0
  1366. rleg.Transparency = 0
  1367. larm.Transparency = 1
  1368. rarm.Transparency = 1
  1369. torso.Transparency = 0
  1370. ----------------------------------------------------------------- Left Arm -----------------------------------------------------------------
  1371. larm1 = Instance.new("Part", char)
  1372. larm1.Name = "Middle"
  1373. larm1.BrickColor = BrickColor.new("Purple")
  1374. larm1.Size = Vector3.new(1, 2, 1)
  1375. larm1.CanCollide = false
  1376. larm1.BottomSurface = "Smooth"
  1377. larm1.TopSurface = "Smooth"
  1378. larm1.Material = "Neon"
  1379. Weld = Instance.new("Weld",larm)
  1380. Weld.Part0 = larm
  1381. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1382. Weld.Part1 = larm1
  1383. Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1384.  
  1385. larm2 = Instance.new("Part", char)
  1386. larm2.BrickColor = BrickColor.new("Really black")
  1387. larm2.Size = Vector3.new(1, 0.4, 1)
  1388. larm2.CanCollide = false
  1389. larm2.BottomSurface = "Smooth"
  1390. larm2.TopSurface = "Smooth"
  1391. Weld = Instance.new("Weld",larm)
  1392. Weld.Part0 = larm
  1393. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1394. Weld.Part1 = larm2
  1395. Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096)
  1396.  
  1397. larm3 = Instance.new("Part", char)
  1398. larm3.BrickColor = BrickColor.new("Really black")
  1399. larm3.Size = Vector3.new(1, 0.4, 1)
  1400. larm3.CanCollide = false
  1401. larm3.BottomSurface = "Smooth"
  1402. larm3.TopSurface = "Smooth"
  1403. Weld = Instance.new("Weld",larm)
  1404. Weld.Part0 = larm
  1405. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1406. Weld.Part1 = larm3
  1407. Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601)
  1408.  
  1409. larm4 = Instance.new("Part", char)
  1410. larm4.BrickColor = BrickColor.new("Really black")
  1411. larm4.Size = Vector3.new(1, 0.4, 1)
  1412. larm4.CanCollide = false
  1413. larm4.BottomSurface = "Smooth"
  1414. larm4.TopSurface = "Smooth"
  1415. Weld = Instance.new("Weld",larm)
  1416. Weld.Part0 = larm
  1417. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1418. Weld.Part1 = larm4
  1419. Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096)
  1420.  
  1421. larm5 = Instance.new("Part", char)
  1422. larm5.BrickColor = BrickColor.new("Really black")
  1423. larm5.Size = Vector3.new(1, 0.4, 1)
  1424. larm5.CanCollide = false
  1425. larm5.BottomSurface = "Smooth"
  1426. larm5.TopSurface = "Smooth"
  1427. Weld = Instance.new("Weld",larm)
  1428. Weld.Part0 = larm
  1429. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1430. Weld.Part1 = larm5
  1431. Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601)
  1432.  
  1433. larm6 = Instance.new("Part", char)
  1434. larm6.BrickColor = BrickColor.new("Really black")
  1435. larm6.Size = Vector3.new(1, 0.4, 1)
  1436. larm6.CanCollide = false
  1437. larm6.BottomSurface = "Smooth"
  1438. larm6.TopSurface = "Smooth"
  1439. Mesh = Instance.new("SpecialMesh", larm6)
  1440. Mesh.MeshType = "Brick"
  1441. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1442. Weld = Instance.new("Weld",larm)
  1443. Weld.Part0 = larm
  1444. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1445. Weld.Part1 = larm6
  1446. Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096)
  1447.  
  1448. larm7 = Instance.new("Part", char)
  1449. larm7.BrickColor = BrickColor.new("New Purple")
  1450. larm7.Size = Vector3.new(0.5, 0.3, 2)
  1451. larm7.CanCollide = false
  1452. larm7.BottomSurface = "Smooth"
  1453. larm7.TopSurface = "Smooth"
  1454. larm7.Material = "Neon"
  1455. mesh7 = Instance.new('SpecialMesh', larm7)
  1456. mesh7.MeshId = "http://www.roblox.com/asset/?id=156292355"
  1457. mesh7.Scale = Vector3.new(1, 8, 2)
  1458. Weld = Instance.new("Weld",larm)
  1459. Weld.Part0 = larm
  1460. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1461. Weld.Part1 = larm7
  1462. Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271)
  1463.  
  1464. larm8 = Instance.new("Part", char)
  1465. larm8.BrickColor = BrickColor.new("Really black")
  1466. larm8.Size = Vector3.new(1, 0.4, 1)
  1467. larm8.CanCollide = false
  1468. larm8.BottomSurface = "Smooth"
  1469. larm8.TopSurface = "Smooth"
  1470. Weld = Instance.new("Weld",larm)
  1471. Weld.Part0 = larm
  1472. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  1473. Weld.Part1 = larm8
  1474. Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096)
  1475. ----------------------------------------------------------------- Right Arm -----------------------------------------------------------------
  1476. rarm1 = Instance.new("Part", char)
  1477. rarm1.Name = "Middle"
  1478. rarm1.BrickColor = BrickColor.new("New Purple")
  1479. rarm1.Size = Vector3.new(1, 2, 1)
  1480. rarm1.CanCollide = false
  1481. rarm1.BottomSurface = "Smooth"
  1482. rarm1.TopSurface = "Smooth"
  1483. rarm1.Material = "Neon"
  1484. Weld = Instance.new("Weld",rarm)
  1485. Weld.Part0 = rarm
  1486. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1487. Weld.Part1 = rarm1
  1488. Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1489.  
  1490. rarm2 = Instance.new("Part", char)
  1491. rarm2.BrickColor = BrickColor.new("Really black")
  1492. rarm2.Size = Vector3.new(1, 0.4, 1)
  1493. rarm2.CanCollide = false
  1494. rarm2.BottomSurface = "Smooth"
  1495. rarm2.TopSurface = "Smooth"
  1496. Weld = Instance.new("Weld",rarm)
  1497. Weld.Part0 = rarm
  1498. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1499. Weld.Part1 = rarm2
  1500. Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362)
  1501.  
  1502. rarm3 = Instance.new("Part", char)
  1503. rarm3.BrickColor = BrickColor.new("Really black")
  1504. rarm3.Size = Vector3.new(1, 0.4, 1)
  1505. rarm3.CanCollide = false
  1506. rarm3.BottomSurface = "Smooth"
  1507. rarm3.TopSurface = "Smooth"
  1508. Weld = Instance.new("Weld",rarm)
  1509. Weld.Part0 = rarm
  1510. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1511. Weld.Part1 = rarm3
  1512. Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668)
  1513.  
  1514. rarm4 = Instance.new("Part", char)
  1515. rarm4.BrickColor = BrickColor.new("Really black")
  1516. rarm4.Size = Vector3.new(1, 0.4, 1)
  1517. rarm4.CanCollide = false
  1518. rarm4.BottomSurface = "Smooth"
  1519. rarm4.TopSurface = "Smooth"
  1520. Weld = Instance.new("Weld",rarm)
  1521. Weld.Part0 = rarm
  1522. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1523. Weld.Part1 = rarm4
  1524. Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057)
  1525.  
  1526. rarm5 = Instance.new("Part", char)
  1527. rarm5.BrickColor = BrickColor.new("Really black")
  1528. rarm5.Size = Vector3.new(1, 0.4, 1)
  1529. rarm5.CanCollide = false
  1530. rarm5.BottomSurface = "Smooth"
  1531. rarm5.TopSurface = "Smooth"
  1532. Mesh = Instance.new("SpecialMesh", rarm5)
  1533. Mesh.MeshType = "Brick"
  1534. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1535. Weld = Instance.new("Weld",rarm)
  1536. Weld.Part0 = rarm
  1537. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1538. Weld.Part1 = rarm5
  1539. Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362)
  1540.  
  1541. rarm6 = Instance.new("Part", char)
  1542. rarm6.BrickColor = BrickColor.new("Really black")
  1543. rarm6.Size = Vector3.new(1, 0.4, 1)
  1544. rarm6.CanCollide = false
  1545. rarm6.BottomSurface = "Smooth"
  1546. rarm6.TopSurface = "Smooth"
  1547. Weld = Instance.new("Weld",rarm)
  1548. Weld.Part0 = rarm
  1549. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1550. Weld.Part1 = rarm6
  1551. Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057)
  1552.  
  1553. rarm7 = Instance.new("Part", char)
  1554. rarm7.BrickColor = BrickColor.new("New Purple")
  1555. rarm7.Size = Vector3.new(0.5, 0.3, 2)
  1556. rarm7.CanCollide = false
  1557. rarm7.BottomSurface = "Smooth"
  1558. rarm7.TopSurface = "Smooth"
  1559. mesh7 = Instance.new('SpecialMesh', rarm7)
  1560. mesh7.MeshId = "http://www.roblox.com/asset/?id=156292355"
  1561. mesh7.Scale = Vector3.new(1, 8, 2)
  1562. Weld = Instance.new("Weld",rarm)
  1563. Weld.Part0 = rarm
  1564. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1565. Weld.Part1 = rarm7
  1566. Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915)
  1567.  
  1568. rarm8 = Instance.new("Part", char)
  1569. rarm8.BrickColor = BrickColor.new("Really black")
  1570. rarm8.Size = Vector3.new(1, 0.4, 1)
  1571. rarm8.CanCollide = false
  1572. rarm8.BottomSurface = "Smooth"
  1573. rarm8.TopSurface = "Smooth"
  1574. Weld = Instance.new("Weld",rarm)
  1575. Weld.Part0 = rarm
  1576. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)
  1577. Weld.Part1 = rarm8
  1578. Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455)
  1579. ----------------------------------------------------
  1580. GroundWave1 = function()
  1581. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1582. local Colors = {"Toothpaste", "Really black"}
  1583. local wave = Instance.new("Part", torso)
  1584. wave.BrickColor = BrickColor.new("Royal purple")
  1585. wave.Anchored = true
  1586. wave.CanCollide = false
  1587. wave.Locked = true
  1588. wave.Size = Vector3.new(1, 1, 1)
  1589. wave.TopSurface = "Smooth"
  1590. wave.BottomSurface = "Smooth"
  1591. wave.Transparency = 0.35
  1592. wave.CFrame = HandCF
  1593. wm = Instance.new("SpecialMesh", wave)
  1594. wm.MeshId = "rbxassetid://3270017"
  1595. coroutine.wrap(function()
  1596. for i = 1, 30, 1 do
  1597. wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1)
  1598. wave.Size = wm.Scale
  1599. wave.CFrame = HandCF
  1600. wave.Transparency = i/10
  1601. wait()
  1602. end
  1603. wait()
  1604. wave:Destroy()
  1605. end)()
  1606. end
  1607. ----------------------------------------------------
  1608. GroundWave = function()
  1609. if Transforming == true then
  1610. local wave = Instance.new("Part", torso)
  1611. wave.BrickColor = BrickColor.new("Really black")
  1612. wave.Anchored = true
  1613. wave.CanCollide = false
  1614. wave.Locked = true
  1615. wave.Size = Vector3.new(1, 1, 1)
  1616. wave.TopSurface = "Smooth"
  1617. wave.BottomSurface = "Smooth"
  1618. wave.Transparency = 0.35
  1619. wave.CFrame = fx.CFrame
  1620. wm = Instance.new("SpecialMesh", wave)
  1621. wm.MeshType = "Sphere"
  1622. wm.Scale = Vector3.new(1,1,1)
  1623. coroutine.wrap(function()
  1624. for i = 1, 18, 1 do
  1625. wm.Scale = Vector3.new(8 + i*8, 8 + i*8, 8 + i*8)
  1626. --wave.Size = wm.Scale
  1627. wave.CFrame = fx.CFrame
  1628. wave.Transparency = i/001
  1629. wait()
  1630. end
  1631. wait()
  1632. wave:Destroy()
  1633. end)()
  1634. elseif Transforming == false then
  1635. wait()
  1636. end
  1637. end
  1638.  
  1639. for i = 1, 100 do rs:wait()
  1640. fx.CFrame = torso.CFrame
  1641. end
  1642.  
  1643. Spawn(function()
  1644. while wait(1) do
  1645. GroundWave()
  1646. end
  1647. end)
  1648.  
  1649. wait(4)
  1650.  
  1651. Transforming = false
  1652.  
  1653. for i = 1, 20 do rs:wait()
  1654. fx.Transparency = fx.Transparency + (1/20)
  1655. fx.CFrame = torso.CFrame
  1656. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  1657. rs:wait()
  1658. end
  1659.  
  1660. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1661. local wave = Instance.new("Part", torso)
  1662. wave.BrickColor = BrickColor.new("Institutional white")
  1663. wave.Anchored = true
  1664. wave.CanCollide = false
  1665. wave.Locked = true
  1666. wave.Size = Vector3.new(1, 1, 1)
  1667. wave.TopSurface = "Smooth"
  1668. wave.BottomSurface = "Smooth"
  1669. wave.Transparency = 0.35
  1670. wave.CFrame = HandCF
  1671. wm = Instance.new("SpecialMesh", wave)
  1672. wm.MeshId = "rbxassetid://3270017"
  1673. coroutine.wrap(function()
  1674. for i = 1, 14, 1 do
  1675. wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10)
  1676. wave.Size = wm.Scale
  1677. wave.CFrame = HandCF
  1678. wave.Transparency = i/14
  1679. wait()
  1680. end
  1681. wait()
  1682. wave:Destroy()
  1683. end)()
  1684. hum.WalkSpeed = 16
  1685. ----------------------------------------------------
  1686. Blast = function()
  1687. local Colors = {"Toothpaste", "Really black"}
  1688. local wave = Instance.new("Part", torso)
  1689. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1690. wave.Anchored = true
  1691. wave.CanCollide = false
  1692. wave.Locked = true
  1693. wave.Size = Vector3.new(1, 1, 1)
  1694. wave.TopSurface = "Smooth"
  1695. wave.BottomSurface = "Smooth"
  1696. wave.Transparency = 0.35
  1697. wave.CFrame = rarm.CFrame
  1698. wm = Instance.new("SpecialMesh", wave)
  1699. wm.MeshType = "Sphere"
  1700. wm.Scale = Vector3.new(1,1,1)
  1701. z = Instance.new("Sound",wave)
  1702. z.SoundId = "rbxassetid://237035051"
  1703. z.Volume = 1
  1704. z.Pitch = .9
  1705. z:Play()
  1706. coroutine.wrap(function()
  1707. for i = 1, 30, 1 do
  1708. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1709. --wave.Size = wm.Scale
  1710. wave.CFrame = rarm.CFrame
  1711. wave.Transparency = (1/14)
  1712. rs:wait()
  1713. end
  1714. rs:wait()
  1715. wave:Destroy()
  1716. z:Destroy()
  1717. end)()
  1718. end
  1719. ----------------------------------------------------
  1720. rarm.Touched:connect(function(ht)
  1721. hit = ht.Parent
  1722. if ht and hit:IsA("Model") then
  1723. if hit:FindFirstChild("Humanoid") then
  1724. if hit.Name ~= p.Name then
  1725. if Debounces.RPunch == true and Debounces.RPunched == false then
  1726. Debounces.RPunched = true
  1727. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1728. if Debounces.ks==true then
  1729. z = Instance.new("Sound",hed)
  1730. z.SoundId = "rbxassetid://169380525"
  1731. z.Pitch = ptz[math.random(1,#ptz)]
  1732. z.Volume = 1
  1733. z:Play()
  1734. end
  1735. wait(.2)
  1736. Debounces.RPunched = false
  1737. end
  1738. end
  1739. end
  1740. elseif ht and hit:IsA("Hat") then
  1741. if hit.Parent.Name ~= p.Name then
  1742. if hit.Parent:FindFirstChild("Humanoid") then
  1743. if Debounces.RPunch == true and Debounces.RPunched == false then
  1744. Debounces.RPunched = true
  1745. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1746. if Debounces.ks==true then
  1747. z = Instance.new("Sound",hed)
  1748. z.SoundId = "rbxassetid://169380525"
  1749. z.Pitch = ptz[math.random(1,#ptz)]
  1750. z.Volume = 1
  1751. z:Play()
  1752. end
  1753. wait(.2)
  1754. Debounces.RPunched = false
  1755. end
  1756. end
  1757. end
  1758. end
  1759. end)
  1760. larm.Touched:connect(function(ht)
  1761. hit = ht.Parent
  1762. if ht and hit:IsA("Model") then
  1763. if hit:FindFirstChild("Humanoid") then
  1764. if hit.Name ~= p.Name then
  1765. if Debounces.LPunch == true and Debounces.LPunched == false then
  1766. Debounces.LPunched = true
  1767. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1768. if Debounces.ks2==true then
  1769. z = Instance.new("Sound",hed)
  1770. z.SoundId = "rbxassetid://169380525"
  1771. z.Pitch = ptz[math.random(1,#ptz)]
  1772. z.Volume = 1
  1773. z:Play()
  1774. end
  1775. wait(.2)
  1776. Debounces.LPunched = false
  1777. end
  1778. end
  1779. end
  1780. elseif ht and hit:IsA("Hat") then
  1781. if hit.Parent.Name ~= p.Name then
  1782. if hit.Parent:FindFirstChild("Humanoid") then
  1783. if Debounces.LPunch == true and Debounces.LPunched == false then
  1784. Debounces.LPunched = true
  1785. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1786. if Debounces.ks2==true then
  1787. z = Instance.new("Sound",hed)
  1788. z.SoundId = "rbxassetid://169380525"
  1789. z.Pitch = ptz[math.random(1,#ptz)]
  1790. z.Volume = 1
  1791. z:Play()
  1792. end
  1793. wait(.2)
  1794. Debounces.LPunched = false
  1795. end
  1796. end
  1797. end
  1798. end
  1799. end)
  1800. ----------------------------------------------------
  1801. mod4 = Instance.new("Model",char)
  1802.  
  1803. ptez = {0.7, 0.8, 0.9, 1}
  1804.  
  1805. function FindNearestTorso(Position,Distance,SinglePlayer)
  1806. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1807. local List = {}
  1808. for i,v in pairs(workspace:GetChildren())do
  1809. if v:IsA("Model")then
  1810. if v:findFirstChild("Torso")then
  1811. if v ~= char then
  1812. if(v.Torso.Position -Position).magnitude <= Distance then
  1813. table.insert(List,v)
  1814. end
  1815. end
  1816. end
  1817. end
  1818. end
  1819. return List
  1820. end
  1821.  
  1822. function Punch()
  1823. part=Instance.new('Part',mod4)
  1824. part.Anchored=true
  1825. part.CanCollide=false
  1826. part.FormFactor='Custom'
  1827. part.Size=Vector3.new(.2,.2,.2)
  1828. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1829. part.Transparency=.7
  1830. part.BrickColor=BrickColor.new('Toothpaste')
  1831. mesh=Instance.new('SpecialMesh',part)
  1832. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1833. mesh.Scale=Vector3.new(3,3,3)
  1834. part2=Instance.new('Part',mod4)
  1835. part2.Anchored=true
  1836. part2.CanCollide=false
  1837. part2.FormFactor='Custom'
  1838. part2.Size=Vector3.new(.2,.2,.2)
  1839. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1840. part2.Transparency=.7
  1841. part2.BrickColor=BrickColor.new('Toothpaste')
  1842. mesh2=Instance.new('SpecialMesh',part2)
  1843. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1844. mesh2.Scale=Vector3.new(3,1.5,3)
  1845. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1846. if v:FindFirstChild('Humanoid') then
  1847. v.Humanoid:TakeDamage(math.random(2,6))
  1848. end
  1849. end
  1850. coroutine.resume(coroutine.create(function()
  1851. for i=0,0.62,0.4 do
  1852. wait()
  1853. part.CFrame=part.CFrame
  1854. part.Transparency=i
  1855. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1856. part2.CFrame=part2.CFrame
  1857. part2.Transparency=i
  1858. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1859. end
  1860. part.Parent=nil
  1861. part2.Parent=nil
  1862. end))
  1863. end
  1864. ----------------------------------------------------
  1865. rarm.Touched:connect(function(ht)
  1866. hit = ht.Parent
  1867. if ht and hit:IsA("Model") then
  1868. if hit:FindFirstChild("Humanoid") then
  1869. if hit.Name ~= p.Name then
  1870. if Debounces.RPunch == true and Debounces.RPunched == false then
  1871. Debounces.RPunched = true
  1872. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1873. if Debounces.ks==true then
  1874. z = Instance.new("Sound",hed)
  1875. z.SoundId = "rbxassetid://169380525"
  1876. z.Pitch = ptz[math.random(1,#ptz)]
  1877. z.Volume = 1
  1878. z:Play()
  1879. end
  1880. wait(.2)
  1881. Debounces.RPunched = false
  1882. end
  1883. end
  1884. end
  1885. elseif ht and hit:IsA("Hat") then
  1886. if hit.Parent.Name ~= p.Name then
  1887. if hit.Parent:FindFirstChild("Humanoid") then
  1888. if Debounces.RPunch == true and Debounces.RPunched == false then
  1889. Debounces.RPunched = true
  1890. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1891. if Debounces.ks==true then
  1892. z = Instance.new("Sound",hed)
  1893. z.SoundId = "rbxassetid://169380525"
  1894. z.Pitch = ptz[math.random(1,#ptz)]
  1895. z.Volume = 1
  1896. z:Play()
  1897. end
  1898. wait(.2)
  1899. Debounces.RPunched = false
  1900. end
  1901. end
  1902. end
  1903. end
  1904. end)
  1905. larm.Touched:connect(function(ht)
  1906. hit = ht.Parent
  1907. if ht and hit:IsA("Model") then
  1908. if hit:FindFirstChild("Humanoid") then
  1909. if hit.Name ~= p.Name then
  1910. if Debounces.LPunch == true and Debounces.LPunched == false then
  1911. Debounces.LPunched = true
  1912. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1913. if Debounces.ks2==true then
  1914. z = Instance.new("Sound",hed)
  1915. z.SoundId = "rbxassetid://169380525"
  1916. z.Pitch = ptz[math.random(1,#ptz)]
  1917. z.Volume = 1
  1918. z:Play()
  1919. end
  1920. wait(.2)
  1921. Debounces.LPunched = false
  1922. end
  1923. end
  1924. end
  1925. elseif ht and hit:IsA("Hat") then
  1926. if hit.Parent.Name ~= p.Name then
  1927. if hit.Parent:FindFirstChild("Humanoid") then
  1928. if Debounces.LPunch == true and Debounces.LPunched == false then
  1929. Debounces.LPunched = true
  1930. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1931. if Debounces.ks2==true then
  1932. z = Instance.new("Sound",hed)
  1933. z.SoundId = "rbxassetid://169380525"
  1934. z.Pitch = ptz[math.random(1,#ptz)]
  1935. z.Volume = 1
  1936. z:Play()
  1937. end
  1938. wait(.2)
  1939. Debounces.LPunched = false
  1940. end
  1941. end
  1942. end
  1943. end
  1944. end)
  1945. ----------------------------------------------------
  1946. local player = game.Players.LocalPlayer
  1947. local pchar = player.Character
  1948. local mouse = player:GetMouse()
  1949. local cam = workspace.CurrentCamera
  1950.  
  1951. local rad = math.rad
  1952.  
  1953. local keysDown = {}
  1954. local flySpeed = 0
  1955. local MAX_FLY_SPEED = 150
  1956.  
  1957. local canFly = false
  1958. local flyToggled = false
  1959.  
  1960. local forward, side = 0, 0
  1961. local lastForward, lastSide = 0, 0
  1962.  
  1963. local floatBP = Instance.new("BodyPosition")
  1964. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1965. local flyBV = Instance.new("BodyVelocity")
  1966. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1967. local turnBG = Instance.new("BodyGyro")
  1968. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1969.  
  1970. mouse.KeyDown:connect(function(key)
  1971. keysDown[key] = true
  1972.  
  1973. if key == "f" then
  1974. flyToggled = not flyToggled
  1975.  
  1976. if not flyToggled then
  1977. stanceToggle = "Normal"
  1978. floatBP.Parent = nil
  1979. flyBV.Parent = nil
  1980. turnBG.Parent = nil
  1981. root.Velocity = Vector3.new()
  1982. pchar.Humanoid.PlatformStand = false
  1983. end
  1984. end
  1985.  
  1986. end)
  1987. mouse.KeyUp:connect(function(key)
  1988. keysDown[key] = nil
  1989. end)
  1990.  
  1991. local function updateFly()
  1992.  
  1993. if not flyToggled then return end
  1994.  
  1995. lastForward = forward
  1996. lastSide = side
  1997.  
  1998. forward = 0
  1999. side = 0
  2000.  
  2001. if keysDown.w then
  2002. forward = forward + 1
  2003. end
  2004. if keysDown.s then
  2005. forward = forward - 1
  2006. end
  2007. if keysDown.a then
  2008. side = side - 1
  2009. end
  2010. if keysDown.d then
  2011. side = side + 1
  2012. end
  2013.  
  2014. canFly = (forward ~= 0 or side ~= 0)
  2015.  
  2016. if canFly then
  2017. stanceToggle = "Floating"
  2018. turnBG.Parent = root
  2019. floatBP.Parent = nil
  2020. flyBV.Parent = root
  2021.  
  2022. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  2023. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  2024. else
  2025. floatBP.position = root.Position
  2026. floatBP.Parent = root
  2027.  
  2028. flySpeed = flySpeed - 1
  2029. if flySpeed < 0 then flySpeed = 0 end
  2030. end
  2031.  
  2032. local camCF = cam.CoordinateFrame
  2033. local in_forward = canFly and forward or lastForward
  2034. local in_side = canFly and side or lastSide
  2035.  
  2036. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  2037. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  2038.  
  2039. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 0)
  2040. end
  2041.  
  2042. game:service'RunService'.RenderStepped:connect(function()
  2043. if flyToggled then
  2044. pchar.Humanoid.PlatformStand = true
  2045. end
  2046. updateFly()
  2047. end)
  2048. -------------------------------
  2049. mouse.KeyDown:connect(function(key)
  2050. if key == "q" then
  2051. if Debounces.CanAttack == true then
  2052. Debounces.CanAttack = false
  2053. Debounces.NoIdl = true
  2054. Debounces.on = true
  2055. function FindNearestTorso(Position,Distance,SinglePlayer)
  2056. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2057. local List = {}
  2058. for i,v in pairs(workspace:GetChildren())do
  2059. if v:IsA("Model")then
  2060. if v:findFirstChild("Torso")then
  2061. if v ~= char then
  2062. if(v.Torso.Position -Position).magnitude <= Distance then
  2063. table.insert(List,v)
  2064. end
  2065. end
  2066. end
  2067. end
  2068. end
  2069. return List
  2070. end
  2071. z = Instance.new("Sound",hed)
  2072. z.SoundId = "rbxassetid://232213955"
  2073. z.Pitch = 1
  2074. z.Volume = 1
  2075. wait(0.2)
  2076. z:Play()
  2077. sp = Instance.new("Part",rarm)
  2078. sp.Anchored = true
  2079. sp.CanCollide = false
  2080. sp.Locked = true
  2081. sp.Transparency = 0
  2082. sp.Material = "Neon"
  2083. sp.Size = Vector3.new(1,1,1)
  2084. sp.TopSurface = "SmoothNoOutlines"
  2085. sp.BottomSurface = "SmoothNoOutlines"
  2086. sp.BrickColor = BrickColor.new("Toothpaste")
  2087. spm = Instance.new("SpecialMesh",sp)
  2088. spm.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2089. spm.Scale = Vector3.new(21,21,21)
  2090. sp2 = Instance.new("Part", rarm)
  2091. sp2.Name = "Energy"
  2092. sp2.BrickColor = BrickColor.new("Toothpaste")
  2093. sp2.Size = Vector3.new(1, 1, 1)
  2094. sp2.Shape = "Ball"
  2095. sp2.CanCollide = false
  2096. sp2.Anchored = true
  2097. sp2.Locked = true
  2098. sp2.TopSurface = 0
  2099. sp2.BottomSurface = 0
  2100. sp2.Transparency = 1
  2101. spm2 = Instance.new("SpecialMesh",sp2)
  2102. spm2.MeshId = "rbxassetid://9756362"
  2103. spm2.Scale = Vector3.new(2,2,2)
  2104. for i = 1, 20 do
  2105. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  2106. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  2107. 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)
  2108. 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)
  2109. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2110. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2111. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2112. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2113. if Debounces.on == false then break end
  2114. rs:wait()
  2115. end
  2116. for i = 1, 100, 20 do rs:wait()
  2117. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  2118. end
  2119. for i = 1, 20 do
  2120. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  2121. 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)
  2122. 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)
  2123. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  2124. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  2125. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2126. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2127. if Debounces.on == false then break end
  2128. rs:wait()
  2129. end
  2130. sp.Transparency = 1
  2131. for i = 1, 20 do
  2132. 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)
  2133. 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)
  2134. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  2135. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  2136. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2137. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2138. if Debounces.on == false then break end
  2139. rs:wait()
  2140. end
  2141. wait(1)
  2142. sp.Transparency = 0
  2143. sp2.Transparency = 0.84
  2144. for i = 1, 20 do
  2145. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  2146. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  2147. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  2148. 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)
  2149. 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)
  2150. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  2151. 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)
  2152. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  2153. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  2154. if Debounces.on == false then break end
  2155. rs:wait()
  2156. end
  2157. for i = 1, 2880, 50 do
  2158. rs:wait()
  2159. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  2160. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2161. rs:wait()
  2162. end
  2163. sp:Destroy()
  2164. sp2:Destroy()
  2165. local X = Instance.new("Part",char)
  2166. local O = Instance.new("ObjectValue",X)
  2167. O.Name = "creator"
  2168. X.Locked = true
  2169. X.Name = "Shell"
  2170. X.Anchored = false
  2171. X.CanCollide = false
  2172. X.Transparency = 0
  2173. X.Reflectance = 0
  2174. X.BottomSurface = 0
  2175. X.TopSurface = 0
  2176. X.Shape = 0
  2177. local V = Instance.new("ObjectValue",X)
  2178. V.Value = char
  2179. V.Name = "creator"
  2180. X.BrickColor = BrickColor.new("Toothpaste")
  2181. X.Size = Vector3.new(2,2,2)
  2182. X.Material = "Neon"
  2183. local Z = Instance.new("SpecialMesh",X)
  2184. Z.MeshId = "http://www.roblox.com/asset/?id=9982590"
  2185. Z.Scale = Vector3.new(0.5,0.5,1)
  2186. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  2187. local bv = Instance.new("BodyVelocity",X)
  2188. bv.maxForce = Vector3.new(99999,99999,99999)
  2189. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  2190. bv.velocity = X.CFrame.lookVector*500
  2191.  
  2192. Explode = X.Touched:connect(function(hit)
  2193. if hit ~= char and hit.Name ~= "Shell" then
  2194. local cf = X.CFrame
  2195. bv:Destroy()
  2196. X.Anchored = true
  2197. Z:Remove()
  2198. Explode:disconnect()
  2199. X.Size = Vector3.new(3,3,3)
  2200. X.Touched:connect(function(hit) end)
  2201. X.CanCollide = false
  2202. local part3 = Instance.new("Part", rarm)
  2203. part3.Anchored=true
  2204. part3.CanCollide=false
  2205. part3.Locked = true
  2206. part3.TopSurface = "SmoothNoOutlines"
  2207. part3.BottomSurface = "SmoothNoOutlines"
  2208. part3.FormFactor='Custom'
  2209. part3.Size=Vector3.new(1,1, 1)
  2210. part3.CFrame=X.CFrame
  2211. part3.Transparency=0
  2212. part3.BrickColor=BrickColor.new("Toothpaste")
  2213. local mesh3 = Instance.new("SpecialMesh",part3)
  2214. mesh3.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2215. mesh3.Scale = Vector3.new(1,1,1)
  2216. --debris:AddItem(X,8)
  2217. local part4 = Instance.new("Part", rarm)
  2218. part4.Material = "Neon"
  2219. part4.Anchored=true
  2220. part4.CanCollide=false
  2221. part4.Locked = true
  2222. part4.TopSurface = "SmoothNoOutlines"
  2223. part4.BottomSurface = "SmoothNoOutlines"
  2224. part4.FormFactor='Custom'
  2225. part4.Size=Vector3.new(1,1, 1)
  2226. part4.CFrame=X.CFrame
  2227. part4.Transparency=0
  2228. part4.BrickColor=BrickColor.new("Hot pink")
  2229. local mesh4 = Instance.new("SpecialMesh",part4)
  2230. mesh4.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2231. mesh4.Scale = Vector3.new(.5,.5,.5)
  2232. local part7 = Instance.new("Part", rarm)
  2233. part7.Material = "Neon"
  2234. part7.Anchored=true
  2235. part7.CanCollide=false
  2236. part7.Locked = true
  2237. part7.TopSurface = "SmoothNoOutlines"
  2238. part7.BottomSurface = "SmoothNoOutlines"
  2239. part7.FormFactor='Custom'
  2240. part7.Size=Vector3.new(1,1, 1)
  2241. part7.CFrame=X.CFrame
  2242. part7.Transparency=0
  2243. part7.BrickColor=BrickColor.new("Really black")
  2244. local mesh7 = Instance.new("SpecialMesh",part7)
  2245. mesh7.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2246. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  2247. --[[X.Touched:connect(function(ht)
  2248. hit = ht.Parent
  2249. if ht and hit:IsA("Model") then
  2250. if hit:FindFirstChild("Humanoid") then
  2251. if hit.Name ~= p.Name then
  2252. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2253. wait(.3)
  2254. end
  2255. end
  2256. elseif ht and hit:IsA("Hat") then
  2257. if hit.Parent.Name ~= p.Name then
  2258. if hit.Parent:FindFirstChild("Humanoid") then
  2259. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2260. wait(.3)
  2261. end
  2262. end
  2263. end
  2264. end)
  2265. part3.Touched:connect(function(ht)
  2266. hit = ht.Parent
  2267. if ht and hit:IsA("Model") then
  2268. if hit:FindFirstChild("Humanoid") then
  2269. if hit.Name ~= p.Name then
  2270. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2271. wait(.3)
  2272. end
  2273. end
  2274. elseif ht and hit:IsA("Hat") then
  2275. if hit.Parent.Name ~= p.Name then
  2276. if hit.Parent:FindFirstChild("Humanoid") then
  2277. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2278. wait(.3)
  2279. end
  2280. end
  2281. end
  2282. end)]]--
  2283. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  2284. if v:FindFirstChild('Humanoid') then
  2285. v.Humanoid:TakeDamage(math.random(60,90))
  2286. v.Humanoid.PlatformStand = true
  2287. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2288. end
  2289. end
  2290.  
  2291. local acos = math.acos
  2292. local sqrt = math.sqrt
  2293. local Vec3 = Vector3.new
  2294. local fromAxisAngle = CFrame.fromAxisAngle
  2295.  
  2296. local function toAxisAngle(CFr)
  2297. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2298. local Angle = math.acos((R00+R11+R22-1)/2)
  2299. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2300. A = A == 0 and 0.00001 or A
  2301. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2302. B = B == 0 and 0.00001 or B
  2303. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2304. C = C == 0 and 0.00001 or C
  2305. local x = (R21-R12)/sqrt(A)
  2306. local y = (R02-R20)/sqrt(B)
  2307. local z = (R10-R01)/sqrt(C)
  2308. return Vec3(x,y,z),Angle
  2309. end
  2310.  
  2311. function ApplyTrig(Num,Func)
  2312. local Min,Max = Func(0),Func(1)
  2313. local i = Func(Num)
  2314. return (i-Min)/(Max-Min)
  2315. end
  2316.  
  2317. function LerpCFrame(CFrame1,CFrame2,Num)
  2318. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2319. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2320. end
  2321.  
  2322. function Crater(Torso,Radius)
  2323. Spawn(function()
  2324. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2325. local Ignore = {}
  2326. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2327. if v.Character ~= nil then
  2328. Ignore[#Ignore+1] = v.Character
  2329. end
  2330. end
  2331. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2332. if Hit == nil then return end
  2333. local Parts = {}
  2334. for i = 1,360,10 do
  2335. local P = Instance.new("Part",Torso.Parent)
  2336. P.Anchored = true
  2337. P.FormFactor = "Custom"
  2338. P.BrickColor = Hit.BrickColor
  2339. P.Material = Hit.Material
  2340. P.TopSurface = "Smooth"
  2341. P.BottomSurface = "Smooth"
  2342. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2343. 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)))
  2344. 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}
  2345. if math.random(0,5) == 0 then -- rubble
  2346. local P = Instance.new("Part",Torso.Parent)
  2347. P.Anchored = true
  2348. P.FormFactor = "Custom"
  2349. P.BrickColor = Hit.BrickColor
  2350. P.Material = Hit.Material
  2351. P.TopSurface = "Smooth"
  2352. P.BottomSurface = "Smooth"
  2353. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2354. 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)))
  2355. 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}
  2356. end
  2357. end
  2358. for i = 0,1,0.05 do
  2359. for i2,v in pairs(Parts) do
  2360. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2361. end
  2362. wait(0.02)
  2363. end
  2364. for i,v in pairs(Parts) do
  2365. if v[1].Size.X > 2.1 then
  2366. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2367. end
  2368. v[1].Anchored = false
  2369. end
  2370. for i = 0,1,0.05 do
  2371. for i2,v in pairs(Parts) do
  2372. v[1].Transparency = i
  2373. if i == 1 then
  2374. v[1]:Destroy()
  2375. elseif i >= 0.25 then
  2376. v[1].CanCollide = false
  2377. end
  2378. end
  2379. wait(0.02)
  2380. end
  2381. Parts = nil
  2382. end)
  2383. end
  2384.  
  2385. ROW = function(out, trans, s, wt, t, ang, plus)
  2386. for i = 1, 360, 360/t do
  2387. local c = Instance.new("Part", game.Workspace)
  2388. c.FormFactor = 3
  2389. c.TopSurface = 0
  2390. c.BottomSurface = 0
  2391. c.Size = s
  2392. c.Anchored = true
  2393. c.CanCollide = wt
  2394. c.Material=workspace.Base.Material
  2395. c.Transparency = trans
  2396. c.BrickColor = workspace.Base.BrickColor
  2397. 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
  2398. c.Locked=true
  2399. game.Debris:AddItem(c,15)
  2400. end
  2401. end
  2402.  
  2403. Part = function(x,y,z,color,tr,cc,an,parent)
  2404. local p = Instance.new('Part',parent or Weapon)
  2405. p.formFactor = 'Custom'
  2406. p.Size = Vector3.new(x,y,z)
  2407. p.BrickColor = BrickColor.new(color)
  2408. p.CanCollide = cc
  2409. p.Transparency = tr
  2410. p.Anchored = an
  2411. p.TopSurface,p.BottomSurface = 0,0
  2412. p.Locked=true
  2413. p:BreakJoints()
  2414. return p end
  2415.  
  2416. Mesh = function(par,num,x,y,z)
  2417. local msh = _
  2418. if num == 1 then msh = Instance.new("CylinderMesh",par)
  2419. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  2420. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  2421. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  2422. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  2423. end msh.Scale = Vector3.new(x,y,z)
  2424. return msh end
  2425.  
  2426. function explosion(col1,col2,cfr,sz,rng,dmg)
  2427. local a= Part(1,1,1,col1,.5,false,true,workspace)
  2428. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  2429. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  2430. v1,v2,v3=sz.x,sz.y,sz.z
  2431. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  2432. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  2433. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  2434. a.CFrame=cfr
  2435. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2436. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2437.  
  2438. Spawn(function()
  2439. while wait() do
  2440. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  2441. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  2442. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  2443. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  2444. a.Transparency=a.Transparency+0.05
  2445. a2.Transparency=a2.Transparency+0.05
  2446. a3.Transparency=a3.Transparency+0.05
  2447. end
  2448. end)
  2449. end
  2450.  
  2451. Crater(X,20)
  2452. 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)
  2453. z = Instance.new("Sound",X)
  2454. z.SoundId = "rbxassetid://231917744"
  2455. z.Pitch = .5
  2456. z.Volume = 10
  2457. z1 = Instance.new("Sound",X)
  2458. z1.SoundId = "rbxassetid://231917744"
  2459. z1.Pitch = .5
  2460. z1.Volume = 10
  2461. z2 = Instance.new("Sound",X)
  2462. z2.SoundId = "rbxassetid://231917744"
  2463. z2.Pitch = .5
  2464. z2.Volume = 10
  2465. z3 = Instance.new("Sound",X)
  2466. z3.SoundId = "rbxassetid://245537790"
  2467. z3.Pitch = .7
  2468. z3.Volume = 1
  2469. z4 = Instance.new("Sound",X)
  2470. z4.SoundId = "rbxassetid://245537790"
  2471. z4.Pitch = .7
  2472. z4.Volume = 1
  2473. wait(0.1)
  2474. z:Play()
  2475. z1:Play()
  2476. z2:Play()
  2477. z3:Play()
  2478. z4:Play()
  2479.  
  2480. local part=Instance.new('Part',rarm)
  2481. part.Anchored=true
  2482. part.CanCollide=false
  2483. part.Locked = true
  2484. part.FormFactor='Custom'
  2485. part.Size=Vector3.new(1,1,1)
  2486. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2487. part.Transparency=0
  2488. part.BrickColor=BrickColor.new('Really black')
  2489. local mesh=Instance.new('SpecialMesh',part)
  2490. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2491. mesh.Scale=Vector3.new(2,2,2)
  2492. local part2=part:clone()
  2493. part2.Parent = rarm
  2494. part2.BrickColor=BrickColor.new("Toothpaste")
  2495. local part5=part:clone()
  2496. part5.Parent = rarm
  2497. part5.BrickColor=BrickColor.new("Toothpaste")
  2498. local part6=part:clone()
  2499. part6.Parent = rarm
  2500. part6.BrickColor=BrickColor.new("Black")
  2501. local mesh2=mesh:clone()
  2502. mesh2.Parent=part2
  2503. mesh2.Scale=Vector3.new(3, 3, 3)
  2504. local mesh5=mesh:clone()
  2505. mesh5.Parent=part5
  2506. mesh5.Scale=Vector3.new(3, 3, 3)
  2507. local mesh6=mesh:clone()
  2508. mesh6.Parent=part6
  2509. mesh6.Scale=Vector3.new(3, 3, 3)
  2510. local blast = Instance.new("Part", rarm)
  2511. blast.BrickColor = BrickColor.new("Really black")
  2512. blast.Anchored = true
  2513. blast.CanCollide = false
  2514. blast.Locked = true
  2515. blast.Size = Vector3.new(1, 1, 1)
  2516. blast.TopSurface = "Smooth"
  2517. blast.BottomSurface = "Smooth"
  2518. blast.Transparency = 0
  2519. blast.CFrame = HandCF
  2520. local bm = Instance.new("SpecialMesh", blast)
  2521. bm.Scale = Vector3.new(5,1,5)
  2522. bm.MeshId = "rbxassetid://156292343"
  2523. local blast2 = Instance.new("Part", rarm)
  2524. blast2.BrickColor = BrickColor.new("Really black")
  2525. blast2.Anchored = true
  2526. blast2.CanCollide = false
  2527. blast2.Locked = true
  2528. blast2.Size = Vector3.new(1, 1, 1)
  2529. blast2.TopSurface = "Smooth"
  2530. blast2.BottomSurface = "Smooth"
  2531. blast2.Transparency = 0
  2532. blast2.CFrame = HandCF
  2533. local bm2 = Instance.new("SpecialMesh", blast2)
  2534. bm2.Scale = Vector3.new(3,1,3)
  2535. bm2.MeshId = "rbxassetid://156292343"
  2536. local blast3 = Instance.new("Part", rarm)
  2537. blast3.BrickColor = BrickColor.new("Really black")
  2538. blast3.Anchored = true
  2539. blast3.CanCollide = false
  2540. blast3.Locked = true
  2541. blast3.Size = Vector3.new(1, 1, 1)
  2542. blast3.TopSurface = "Smooth"
  2543. blast3.BottomSurface = "Smooth"
  2544. blast3.Transparency = 0
  2545. blast3.CFrame = HandCF
  2546. local bm3 = Instance.new("SpecialMesh", blast3)
  2547. bm3.Scale = Vector3.new(3,1,3)
  2548. bm3.MeshId = "rbxassetid://3270017"
  2549. for i = 1,120 do rs:wait()
  2550. X.Transparency = X.Transparency + (1/120)
  2551. part.Transparency = part.Transparency + (1/120)
  2552. part2.Transparency = part2.Transparency + (1/120)
  2553. part3.Transparency = part3.Transparency + (1/120)
  2554. part4.Transparency = part4.Transparency + (1/120)
  2555. part5.Transparency = part5.Transparency + (1/120)
  2556. part6.Transparency = part6.Transparency + (1/120)
  2557. part7.Transparency = part7.Transparency + (1/120)
  2558. blast.Transparency = blast.Transparency + (1/120)
  2559. blast2.Transparency = blast2.Transparency + (1/120)
  2560. blast3.Transparency = blast3.Transparency + (1/120)
  2561. X.Size = X.Size + Vector3.new(.8,.8,.8)
  2562. --part3.Size = part3.Size + Vector3.new(3,3,3)
  2563. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  2564. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  2565. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  2566. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  2567. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  2568. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  2569. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  2570. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  2571. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  2572. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  2573. X.CFrame = cf
  2574. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2575. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2576. part3.CFrame=X.CFrame
  2577. part4.CFrame=X.CFrame
  2578. part7.CFrame=X.CFrame
  2579. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2580. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2581. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2582. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2583. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2584. rs:wait()
  2585. end
  2586. X:Destroy()
  2587. part:Destroy()
  2588. part2:Destroy()
  2589. part3:Destroy()
  2590. part4:Destroy()
  2591. part5:Destroy()
  2592. part6:Destroy()
  2593. blast:Destroy()
  2594. blast2:Destroy()
  2595. blast3:Destroy()
  2596. z:Destroy()
  2597. z1:Destroy()
  2598. z2:Destroy()
  2599. z3:Destroy()
  2600. z4:Destroy()
  2601. end
  2602. end)
  2603. for i = 1, 20 do
  2604. 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)
  2605. 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)
  2606. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2607. 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)
  2608. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  2609. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  2610. if Debounces.on == false then break end
  2611. rs:wait()
  2612. end
  2613. if Debounces.CanAttack == false then
  2614. Debounces.CanAttack = true
  2615. Debounces.NoIdl = false
  2616. Debounces.on = false
  2617. end
  2618. end
  2619. end
  2620. end)
  2621. ----------------------------------------------------
  2622. mouse.KeyDown:connect(function(key)
  2623. if key == "e" then
  2624. if Debounces.CanAttack == true then
  2625. Debounces.CanAttack = false
  2626. Debounces.on = true
  2627. Debounces.NoIdl = true
  2628. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  2629. z = Instance.new("Sound", rarm)
  2630. z.SoundId = "http://www.roblox.com/asset/?id=161006212"--160867463, 161006212, 206083107
  2631. z.Volume = .6
  2632. z.Pitch = pt[math.random(1,#pt)]
  2633. z.Looped = false
  2634. z:Play()
  2635. Debounces.RPunch = true
  2636. Debounces.LPunch = true
  2637. Debounces.ks = true
  2638. Debounces.ks2 = true
  2639. for i = 1, 3 do
  2640. 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)
  2641. 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)
  2642. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2643. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2644. 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)
  2645. 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)
  2646. if Debounces.on == false then break end
  2647. wait()
  2648. end
  2649. z2 = Instance.new("Sound", larm)
  2650. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2651. z2.Volume = .6
  2652. z2.Pitch = pt[math.random(1,#pt)]
  2653. z2.Looped = false
  2654. z2:Play()
  2655. for i = 1, 3 do
  2656. 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)
  2657. 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)
  2658. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2659. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2660. 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)
  2661. 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)
  2662. if Debounces.on == false then break end
  2663. wait()
  2664. end
  2665. z3 = Instance.new("Sound", rarm)
  2666. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2667. z3.Volume = 0.6
  2668. z3.Pitch = pt[math.random(1,#pt)]
  2669. z3.Looped = false
  2670. z3:Play()
  2671. for i = 1, 3 do
  2672. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2673. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2674. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2675. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2676. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2677. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2678. if Debounces.on == false then break end
  2679. wait()
  2680. end
  2681. z4 = Instance.new("Sound", larm)
  2682. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2683. z4.Volume = .6
  2684. z4.Pitch = pt[math.random(1,#pt)]
  2685. z4.Looped = false
  2686. z4:Play()
  2687. for i = 1, 3 do
  2688. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2689. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2690. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2691. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2692. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2693. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2694. if Debounces.on == false then break end
  2695. wait()
  2696. end
  2697. z5 = Instance.new("Sound", rarm)
  2698. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2699. z5.Volume = .6
  2700. z5.Pitch = pt[math.random(1,#pt)]
  2701. z5.Looped = false
  2702. z5:Play()
  2703. for i = 1, 3 do
  2704. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2705. 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)
  2706. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2707. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2708. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2709. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2710. if Debounces.on == false then break end
  2711. wait()
  2712. end
  2713. z6 = Instance.new("Sound", larm)
  2714. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2715. z6.Volume = .6
  2716. z6.Pitch = pt[math.random(1,#pt)]
  2717. z6.Looped = false
  2718. z6:Play()
  2719. for i = 1, 3 do
  2720. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2721. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2722. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2723. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2724. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2725. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2726. if Debounces.on == false then break end
  2727. wait()
  2728. end
  2729. z7 = Instance.new("Sound", rarm)
  2730. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2731. z7.Volume = .6
  2732. z7.Pitch = pt[math.random(1,#pt)]
  2733. z7.Looped = false
  2734. z7:Play()
  2735. for i = 1, 3 do
  2736. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2737. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2738. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2739. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2740. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2741. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2742. if Debounces.on == false then break end
  2743. wait()
  2744. end
  2745. z8 = Instance.new("Sound", larm)
  2746. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2747. z8.Volume = .6
  2748. z8.Pitch = pt[math.random(1,#pt)]
  2749. z8.Looped = false
  2750. z8:Play()
  2751. for i = 1, 3 do
  2752. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2753. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2754. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2755. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2756. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2757. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2758. if Debounces.on == false then break end
  2759. wait()
  2760. end
  2761. z9 = Instance.new("Sound", rarm)
  2762. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2763. z9.Volume = 0.6
  2764. z9.Pitch = pt[math.random(1,#pt)]
  2765. z9.Looped = false
  2766. z9:Play()
  2767. for i = 1, 3 do
  2768. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2769. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2770. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2771. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2772. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2773. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2774. if Debounces.on == false then break end
  2775. wait()
  2776. end
  2777. z10 = Instance.new("Sound", larm)
  2778. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2779. z10.Volume = .6
  2780. z10.Pitch = pt[math.random(1,#pt)]
  2781. z10.Looped = false
  2782. z10:Play()
  2783. for i = 1, 3 do
  2784. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2785. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2786. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2787. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2788. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2789. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2790. if Debounces.on == false then break end
  2791. wait()
  2792. end
  2793. z11 = Instance.new("Sound", rarm)
  2794. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2795. z11.Volume = .6
  2796. z11.Pitch = pt[math.random(1,#pt)]
  2797. z11.Looped = false
  2798. z11:Play()
  2799. for i = 1, 3 do
  2800. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2801. 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)
  2802. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2803. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2804. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2805. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2806. if Debounces.on == false then break end
  2807. wait()
  2808. end
  2809. z12 = Instance.new("Sound", larm)
  2810. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2811. z12.Volume = .6
  2812. z12.Pitch = pt[math.random(1,#pt)]
  2813. z12.Looped = false
  2814. z12:Play()
  2815. for i = 1, 3 do
  2816. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2817. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2818. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2819. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2820. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2821. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2822. if Debounces.on == false then break end
  2823. wait()
  2824. end
  2825. z13 = Instance.new("Sound", rarm)
  2826. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2827. z13.Volume = 0.6
  2828. z13.Pitch = pt[math.random(1,#pt)]
  2829. z13.Looped = false
  2830. z13:Play()
  2831. for i = 1, 3 do
  2832. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2833. 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)
  2834. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2835. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2836. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2837. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2838. if Debounces.on == false then break end
  2839. wait()
  2840. end
  2841. z14 = Instance.new("Sound", larm)
  2842. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2843. z14.Volume = .6
  2844. z14.Pitch = pt[math.random(1,#pt)]
  2845. z14.Looped = false
  2846. z14:Play()
  2847. for i = 1, 3 do
  2848. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2849. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2850. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2851. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2852. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2853. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2854. if Debounces.on == false then break end
  2855. wait()
  2856. end
  2857. z15 = Instance.new("Sound", rarm)
  2858. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2859. z15.Volume = .6
  2860. z15.Pitch = pt[math.random(1,#pt)]
  2861. z15.Looped = false
  2862. z15:Play()
  2863. for i = 1, 3 do
  2864. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2865. 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)
  2866. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2867. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2868. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2869. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2870. if Debounces.on == false then break end
  2871. wait()
  2872. end
  2873. z16 = Instance.new("Sound", larm)
  2874. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2875. z16.Volume = .6
  2876. z16.Pitch = pt[math.random(1,#pt)]
  2877. z16.Looped = false
  2878. z16:Play()
  2879. for i = 1, 3 do
  2880. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2881. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2882. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2883. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2884. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2885. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2886. if Debounces.on == false then break end
  2887. wait()
  2888. end
  2889. z17 = Instance.new("Sound", rarm)
  2890. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2891. z17.Volume = .6
  2892. z17.Pitch = pt[math.random(1,#pt)]
  2893. z17.Looped = false
  2894. z17:Play()
  2895. for i = 1, 3 do
  2896. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2897. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2898. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2899. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2900. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2901. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2902. if Debounces.on == false then break end
  2903. wait()
  2904. end
  2905. z18 = Instance.new("Sound", larm)
  2906. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2907. z18.Volume = .6
  2908. z18.Pitch = pt[math.random(1,#pt)]
  2909. z18.Looped = false
  2910. z18:Play()
  2911. for i = 1, 3 do
  2912. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2913. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2914. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2915. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2916. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2917. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2918. if Debounces.on == false then break end
  2919. wait()
  2920. end
  2921. z19 = Instance.new("Sound", rarm)
  2922. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2923. z19.Volume = 0.6
  2924. z19.Pitch = pt[math.random(1,#pt)]
  2925. z19.Looped = false
  2926. z19:Play()
  2927. for i = 1, 3 do
  2928. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2929. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2930. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2931. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2932. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2933. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2934. if Debounces.on == false then break end
  2935. wait()
  2936. end
  2937. z20 = Instance.new("Sound", larm)
  2938. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2939. z20.Volume = .6
  2940. z20.Pitch = pt[math.random(1,#pt)]
  2941. z20.Looped = false
  2942. z20:Play()
  2943. for i = 1, 3 do
  2944. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2945. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2946. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2947. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2948. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2949. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2950. if Debounces.on == false then break end
  2951. wait()
  2952. end
  2953. z:Destroy()
  2954. z2:Destroy()
  2955. z3:Destroy()
  2956. z4:Destroy()
  2957. z5:Destroy()
  2958. z6:Destroy()
  2959. z7:Destroy()
  2960. z8:Destroy()
  2961. z9:Destroy()
  2962. z10:Destroy()
  2963. z11:Destroy()
  2964. z12:Destroy()
  2965. z13:Destroy()
  2966. z14:Destroy()
  2967. z15:Destroy()
  2968. z16:Destroy()
  2969. z17:Destroy()
  2970. z18:Destroy()
  2971. z19:Destroy()
  2972. z20:Destroy()
  2973. Debounces.LPunch = false
  2974. Debounces.RPunch = false
  2975. Debounces.ks = false
  2976. Debounces.ks2 = false
  2977. if Debounces.CanAttack == false then
  2978. Debounces.CanAttack = true
  2979. Debounces.on = false
  2980. Debounces.NoIdl = false
  2981. end
  2982. end
  2983. end
  2984. end)
  2985. -------------------------------
  2986. mouse.KeyDown:connect(function(key)
  2987. if key == "t" then
  2988. if Debounces.CanAttack == true then
  2989. Debounces.CanAttack = false
  2990. Debounces.NoIdl = true
  2991. Debounces.on = true
  2992. Debounces.ks = true
  2993. kik = rleg.Touched:connect(function(ht)
  2994. hit = ht.Parent
  2995. if ht and hit:IsA("Model") then
  2996. if hit:FindFirstChild("Humanoid") then
  2997. if hit.Name ~= p.Name then
  2998. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2999. Debounces.Slashed = true]]--
  3000. if Debounces.ks==true then
  3001. z = Instance.new("Sound",hed)
  3002. z.SoundId = "rbxassetid://169380525"
  3003. z.Volume = 1
  3004. z:Play()
  3005. Debounces.ks=false
  3006. end
  3007. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  3008. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  3009. --Debounces.Slashed = false
  3010. --end
  3011. end
  3012. end
  3013. elseif ht and hit:IsA("Hat") then
  3014. if hit.Parent.Name ~= p.Name then
  3015. if hit.Parent:FindFirstChild("Humanoid") then
  3016. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3017. Debounces.Slashed = true]]--
  3018. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  3019. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  3020. --Debounces.Slashed = false
  3021. --end
  3022. end
  3023. end
  3024. end
  3025. end)
  3026. for i = 1,20 do
  3027. 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)
  3028. 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)
  3029. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3030. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  3031. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  3032. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  3033. if Debounces.on == false then break end
  3034. rs:wait()
  3035. end
  3036. kik:disconnect()
  3037. if Debounces.CanAttack == false then
  3038. Debounces.CanAttack = true
  3039. Debounces.NoIdl = false
  3040. Debounces.on = false
  3041. end
  3042. end
  3043. end
  3044. end)
  3045. ----------------------------------------------------
  3046. mouse.KeyDown:connect(function(key)
  3047. if key == "y" then
  3048. if Debounces.CanAttack == true then
  3049. Debounces.CanAttack = false
  3050. Debounces.on = true
  3051. Debounces.NoIdl = true
  3052. for i = 1, 15 do
  3053. 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)
  3054. 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)
  3055. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  3056. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  3057. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3058. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3059. if Debounces.on == false then break end
  3060. rs:wait(2.7)
  3061. end
  3062. x = Instance.new("Sound",char)
  3063. x.SoundId = "rbxassetid://345052019"
  3064. x.Pitch = 0.8
  3065. x.Volume = 1
  3066. x:Play()
  3067. wait(1.5)
  3068. Debounces.on = false
  3069. Debounces.Here = false
  3070. shot = shot + 1
  3071. local rng = Instance.new("Part", larm)
  3072. rng.Anchored = true
  3073. rng.BrickColor = BrickColor.new("Toothpaste")
  3074. rng.CanCollide = false
  3075. rng.FormFactor = 3
  3076. rng.Name = "Ring"
  3077. rng.Size = Vector3.new(1, 1, 1)
  3078. rng.Transparency = 0.35
  3079. rng.TopSurface = 0
  3080. rng.BottomSurface = 0
  3081. rng2 = rng:clone()
  3082. rng3 = rng2:clone()
  3083. rng4 = rng2:clone()
  3084. local rngm = Instance.new("SpecialMesh", rng)
  3085. rngm.MeshId = "http://www.roblox.com/asset?id=156292355"
  3086. rngm.Scale = Vector3.new(10, 10, 1)
  3087. rngm2 = rngm:clone()
  3088. rngm2.Scale = Vector3.new(6, 6, 4)
  3089. rngm3=rngm2:clone()
  3090. rngm3.Parent = rng3
  3091. rngm3.Scale = Vector3.new(9, 9, 2)
  3092. rngm4 = rngm2:clone()
  3093. rngm4.Parent = rng4
  3094. rngm4.Scale = Vector3.new(7, 7, 2)
  3095. local bem = Instance.new("Part", larm)
  3096. bem.Anchored = true
  3097. bem.BrickColor = BrickColor.new("White")
  3098. bem.CanCollide = false
  3099. bem.FormFactor = 3
  3100. bem.Name = "Beam" .. shot
  3101. bem.Size = Vector3.new(1, 1, 1)
  3102. bem.Transparency = 0.35
  3103. bem.TopSurface = 0
  3104. bem.BottomSurface = 0
  3105. local bemm = Instance.new("SpecialMesh", bem)
  3106. bemm.MeshType = 4
  3107. bemm.Scale = Vector3.new(1, 10, 10)
  3108. local out = Instance.new("Part", larm)
  3109. out.Anchored = true
  3110. out.BrickColor = BrickColor.new("White")
  3111. out.CanCollide = false
  3112. out.FormFactor = 3
  3113. out.Name = "Out"
  3114. out.Size = Vector3.new(10,10,10)
  3115. out.Transparency = 0.35
  3116. out.TopSurface = 0
  3117. out.BottomSurface = 0
  3118. local outm = Instance.new("SpecialMesh", out)
  3119. outm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  3120. outm.Scale = Vector3.new(7,7,7)
  3121. local bnd = Instance.new("Part", larm)
  3122. bnd.Anchored = true
  3123. bnd.BrickColor = BrickColor.new("Toothpaste")
  3124. bnd.CanCollide = false
  3125. bnd.FormFactor = 3
  3126. bnd.Name = "Bend"
  3127. bnd.Size = Vector3.new(1, 1, 1)
  3128. bnd.Transparency = 1
  3129. bnd.TopSurface = 0
  3130. bnd.BottomSurface = 0
  3131. local bndm = Instance.new("SpecialMesh", bnd)
  3132. bndm.MeshType = 3
  3133. bndm.Scale = Vector3.new(8, 8, 8)
  3134. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  3135. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  3136. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  3137. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  3138. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  3139. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  3140. Debounces.Shewt = true
  3141. coroutine.wrap(function()
  3142. for i = 1, 20, 0.2 do
  3143. rngm.Scale = Vector3.new(50 + i*5, 50 + i*5, 1)
  3144. rngm3.Scale = Vector3.new(30 + i*25, 30 + i*25, 1)
  3145. rngm4.Scale = Vector3.new(27 + i*30, 27 + i*30, 1)
  3146. rng.Transparency = i/30
  3147. rng3.Transparency = 1/34
  3148. rng4.Transparency = i/36
  3149. wait()
  3150. end
  3151. wait()
  3152. rng:Destroy()
  3153. end)()
  3154. if Debounces.Shewt == true then
  3155. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  3156. hit = ht.Parent
  3157. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  3158. if HasntTouched(hit.Name) == true and deb == false then
  3159. deb = true
  3160. coroutine.wrap(function()
  3161. hit:FindFirstChild("Humanoid").PlatformStand = true
  3162. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200
  3163. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(73,99))
  3164. end)()
  3165. table.insert(Touche, hit.Name)
  3166. deb = false
  3167. end
  3168. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  3169. if HasntTouched(hit.Parent.Name) == true and deb == false then
  3170. deb = true
  3171. coroutine.wrap(function()
  3172. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  3173. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200
  3174. wait(1)
  3175. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  3176. end)()
  3177. table.insert(Touche, hit.Parent.Name)
  3178. deb = false
  3179. for i, v in pairs(Touche) do
  3180. print(v)
  3181. end
  3182. end
  3183. end
  3184. end)
  3185. end
  3186. for i = 0, 260, 8 do
  3187. bem.Size = Vector3.new(i, 10, 10)
  3188. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  3189. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  3190. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  3191. bnd.Size = Vector3.new(1,1,1)
  3192. bndm.Scale = Vector3.new(8,8,8)
  3193. if i % 10 == 0 then
  3194. local newRng = rng2:Clone()
  3195. newRng.Parent = larm
  3196. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  3197. local newRngm = rngm2:clone()
  3198. newRngm.Parent=newRng
  3199. coroutine.wrap(function()
  3200. for i = 1, 10, 0.2 do
  3201. newRngm.Scale = Vector3.new(50 + i*30, 50 + i*30, 3)
  3202. newRng.Transparency = i/10
  3203. wait()
  3204. end
  3205. wait()
  3206. newRng:Destroy()
  3207. end)()
  3208. end
  3209. wait()
  3210. end
  3211. wait()
  3212. Debounces.Shewt = false
  3213. bem:Destroy()
  3214. out:Destroy()
  3215. bnd:Destroy()
  3216. Debounces.Ready = false
  3217. for i, v in pairs(Touche) do
  3218. table.remove(Touche, i)
  3219. end
  3220. wait()
  3221. table.insert(Touche, char.Name)
  3222. Debounces.NoIdl = false
  3223. if Debounces.CanAttack == false then
  3224. Debounces.CanAttack = true
  3225. end
  3226. end
  3227. end
  3228. end)
  3229. ----------------------------------------------------
  3230. Charging = false
  3231. mouse.KeyDown:connect(function(key)
  3232. if key == "r" then
  3233. if Charging == false then
  3234. Charging = true
  3235. if Debounces.CanAttack == true then
  3236. Debounces.CanAttack = false
  3237. Debounces.NoIdl = true
  3238. Debounces.on = true
  3239. for i = 1,20 do
  3240. 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)
  3241. 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)
  3242. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3243. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3244. 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)
  3245. 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)
  3246. if Debounces.on == false then break end
  3247. rs:wait()
  3248. end
  3249. --[[for i = 1,20 do
  3250. 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)
  3251. 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)
  3252. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  3253. 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)
  3254. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  3255. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  3256. if Debounces.on == false then break end
  3257. rs:wait()
  3258. end]]--
  3259. pt=Instance.new('Part',torso)
  3260. pt.Anchored=true
  3261. pt.CanCollide=false
  3262. pt.Locked = true
  3263. pt.FormFactor='Custom'
  3264. pt.Size=Vector3.new(1,1,1)
  3265. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3266. pt.Transparency=.6
  3267. pt.BrickColor=BrickColor.new('White')
  3268. msh=Instance.new('SpecialMesh',pt)
  3269. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3270. msh.Scale=Vector3.new(9.5,9.5,9.5)
  3271. pt2=pt:clone()
  3272. pt2.Parent = torso
  3273. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3274. pt2.BrickColor=BrickColor.new("Toothpaste")
  3275. msh2=msh:clone()
  3276. msh2.Parent=pt2
  3277. msh2.Scale=Vector3.new(9.5,9.5,9.5)
  3278.  
  3279. 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}
  3280.  
  3281. bl = Instance.new("Part", char)
  3282. bl.Locked = true
  3283. bl.Name = "Shell"
  3284. bl.BrickColor = BrickColor.new("Royal purple")
  3285. bl.Anchored = true
  3286. bl.CanCollide = false
  3287. bl.Transparency = 0
  3288. bl.Reflectance = 0
  3289. bl.BottomSurface = 0
  3290. bl.TopSurface = 0
  3291. bl.Shape = 0
  3292. blm = Instance.new("SpecialMesh",bl)
  3293. blm.MeshType = "Sphere"
  3294. blm.Scale = Vector3.new(9.5,9.5,9.5)
  3295. blm.MeshId = "rbxassetid://9982590"
  3296.  
  3297. coroutine.resume(coroutine.create(function()
  3298. for i=1, math.huge, 4 do
  3299. if Charging == true then
  3300. rs:wait()
  3301. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3302. blm.Scale = blm.Scale + Vector3.new(9.5,9.5,9.5)
  3303. bl.Transparency = bl.Transparency + 0.1
  3304. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  3305. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  3306. msh.Scale = msh.Scale + Vector3.new(9.5,0,9.5)
  3307. msh2.Scale = msh2.Scale + Vector3.new(9.5,0,9.5)
  3308. elseif Charging == false then break
  3309. end
  3310. end
  3311. end))
  3312.  
  3313. repeat
  3314. local p = Instance.new('Part',torso)
  3315. p.formFactor = 'Custom'
  3316. p.Size = Vector3.new(1,1,1)
  3317. p.BrickColor = BrickColor.new("Royal purple")
  3318. p.CanCollide = false
  3319. p.Transparency = 0
  3320. p.Anchored = true
  3321. p.Locked=true
  3322. p.Material = ("Neon")
  3323. s = math.random(1,40)/10
  3324. local m = Instance.new("SpecialMesh",p)
  3325. m.MeshId = "http://www.roblox.com/asset/?id=1290033"
  3326. m.Scale = Vector3.new(s,s,s)
  3327. 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())
  3328. --[[coroutine.wrap(function()
  3329. wait(2)
  3330. while Charging == true do
  3331. wait(2)
  3332. GroundWave1()
  3333. wait(2)
  3334. end
  3335. end)()]]--
  3336. Spawn(function()
  3337. while rs:wait() do
  3338. if Charging == true then
  3339. 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)))
  3340. 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)))
  3341. 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))
  3342. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3343. 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)))
  3344. 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)))
  3345. elseif Charging == false then break
  3346. end
  3347. end
  3348. end)
  3349. Spawn(function()
  3350. while rs:wait() do
  3351. if p.Transparency >= 1 then p:Destroy() break end
  3352. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3353. p.Transparency = p.Transparency+0.01
  3354. end
  3355. end)
  3356. wait(.3)
  3357. until Charging == false
  3358. end
  3359. end
  3360. end
  3361. end)
  3362. ----------------------------------------------------
  3363. mouse.KeyUp:connect(function(key)
  3364. if key == "r" then
  3365. if Charging == true then
  3366. Charging = false
  3367. pt:Destroy()
  3368. pt2:Destroy()
  3369. bl:Destroy()
  3370. if Debounces.CanAttack == false then
  3371. Debounces.CanAttack = true
  3372. Debounces.NoIdl = false
  3373. Debounces.on = false
  3374. end
  3375. end
  3376. end
  3377. end)
  3378. ----------------------------------------------------
  3379. mouse.KeyDown:connect(function(key)
  3380. if key == "g" then
  3381. if Debounces.CanAttack == true then
  3382. Debounces.CanAttack = false
  3383. Debounces.NoIdl = true
  3384. Debounces.on = true
  3385. local shell = Instance.new("Part",torso)
  3386. shell.BrickColor = BrickColor.new("Toothpaste")
  3387. shell.Anchored = true
  3388. shell.CanCollide = false
  3389. shell.Locked = true
  3390. shell.TopSurface = "SmoothNoOutlines"
  3391. shell.BottomSurface = "SmoothNoOutlines"
  3392. shell.Size = Vector3.new(1,1,1)
  3393. shellm = Instance.new("SpecialMesh",shell)
  3394. shellm.MeshType = "Sphere"
  3395. shellm.Scale = Vector3.new(1,1,1)
  3396. local shell2 = Instance.new("Part",torso)
  3397. shell2.BrickColor = BrickColor.new("Toothpaste")
  3398. shell2.Anchored = true
  3399. shell2.CanCollide = false
  3400. shell2.Locked = true
  3401. shell2.TopSurface = "SmoothNoOutlines"
  3402. shell2.BottomSurface = "SmoothNoOutlines"
  3403. shell2.Size = Vector3.new(1,1,1)
  3404. shellm2 = Instance.new("SpecialMesh",shell2)
  3405. shellm2.MeshType = "Sphere"
  3406. shellm2.Scale = Vector3.new(1,1,1)
  3407.  
  3408. function FindNearestTorso(Position,Distance,SinglePlayer)
  3409. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3410. local List = {}
  3411. for i,v in pairs(workspace:GetChildren())do
  3412. if v:IsA("Model")then
  3413. if v:findFirstChild("Torso")then
  3414. if v ~= char then
  3415. if(v.Torso.Position -Position).magnitude <= Distance then
  3416. table.insert(List,v)
  3417. end
  3418. end
  3419. end
  3420. end
  3421. end
  3422. return List
  3423. end
  3424.  
  3425. Shell = function()
  3426. local X = Instance.new("Part",char)
  3427. local O = Instance.new("ObjectValue",X)
  3428. O.Name = "creator"
  3429. X.Locked = true
  3430. X.Name = "Shell"
  3431. X.Anchored = false
  3432. X.CanCollide = false
  3433. X.Transparency = 0
  3434. X.Reflectance = 0
  3435. X.BottomSurface = 0
  3436. X.TopSurface = 0
  3437. X.Shape = 0
  3438. local V = Instance.new("ObjectValue",X)
  3439. V.Value = char
  3440. V.Name = "creator"
  3441. X.BrickColor = BrickColor.new("Toothpaste")
  3442. X.Size = Vector3.new(1,1,1)
  3443. --X.Material = "Neon"
  3444. local Z = Instance.new("SpecialMesh",X)
  3445. Z.MeshType = "Sphere"
  3446. Z.Scale = Vector3.new(1,1,1)
  3447. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3448. local bv = Instance.new("BodyVelocity",X)
  3449. bv.maxForce = Vector3.new(99999,99999,99999)
  3450. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3451. bv.velocity = root.CFrame.lookVector*65
  3452. Explode = X.Touched:connect(function(hit)
  3453. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  3454. local cf = X.CFrame
  3455. bv:Destroy()
  3456. X.Anchored = true
  3457. Z:Remove()
  3458. Explode:disconnect()
  3459. X.Size = Vector3.new(3,3,3)
  3460. X.Touched:connect(function(hit) end)
  3461. X.CanCollide = false
  3462. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  3463. if v:FindFirstChild('Humanoid') then
  3464. v.Humanoid:TakeDamage(math.random(6,12))
  3465. end
  3466. end
  3467. for i = 1, (40) do rs:wait()
  3468. X.Transparency = X.Transparency + (1/40)
  3469. X.Size = X.Size + Vector3.new(1,1,1)
  3470. X.CFrame = cf
  3471. end
  3472. X:Destroy()
  3473. end
  3474. end)
  3475. end
  3476. Shell()
  3477. for i = 1, 10 do
  3478. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3479. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3480. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3481. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3482. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  3483. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  3484. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  3485. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  3486. if Debounces.on == false then break end
  3487. rs:wait()
  3488. end
  3489. Shell()
  3490. shell.Transparency = 1
  3491. for i = 1, 10 do
  3492. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3493. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3494. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3495. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3496. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3497. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3498. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3499. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3500. if Debounces.on == false then break end
  3501. rs:wait()
  3502. end
  3503. Shell()
  3504. shell.Transparency = 0
  3505. shell2.Transparency = 1
  3506. for i = 1, 10 do
  3507. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3508. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3509. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3510. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3511. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3512. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3513. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3514. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3515. if Debounces.on == false then break end
  3516. rs:wait()
  3517. end
  3518. Shell()
  3519. shell2.Transparency = 0
  3520. shell.Transparency = 1
  3521. for i = 1, 10 do
  3522. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3523. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3524. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3525. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3526. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3527. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3528. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3529. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3530. if Debounces.on == false then break end
  3531. rs:wait()
  3532. end
  3533. Shell()
  3534. shell.Transparency = 0
  3535. shell2.Transparency = 1
  3536. for i = 1, 10 do
  3537. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3538. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3539. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3540. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3541. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3542. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3543. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3544. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3545. if Debounces.on == false then break end
  3546. rs:wait()
  3547. end
  3548. Shell()
  3549. shell2.Transparency = 0
  3550. shell.Transparency = 1
  3551. for i = 1, 10 do
  3552. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3553. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3554. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3555. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3556. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3557. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3560. if Debounces.on == false then break end
  3561. rs:wait()
  3562. end
  3563. Shell()
  3564. shell.Transparency = 0
  3565. shell2.Transparency = 1
  3566. for i = 1, 10 do
  3567. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3568. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3569. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3570. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  3571. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3572. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3573. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3574. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3575. if Debounces.on == false then break end
  3576. rs:wait()
  3577. end
  3578. Shell()
  3579. shell2.Transparency = 0
  3580. shell.Transparency = 1
  3581. for i = 1, 10 do
  3582. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3583. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3584. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3585. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3586. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3587. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3588. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3589. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3590. if Debounces.on == false then break end
  3591. rs:wait()
  3592. end
  3593. Shell()
  3594. shell.Transparency = 0
  3595. shell2.Transparency = 1
  3596. for i = 1, 10 do
  3597. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3598. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3599. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3600. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3601. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3602. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3603. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3604. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3605. if Debounces.on == false then break end
  3606. rs:wait()
  3607. end
  3608. Shell()
  3609. shell2.Transparency = 0
  3610. shell.Transparency = 1
  3611. for i = 1, 10 do
  3612. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3613. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3614. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3615. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3616. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3617. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3618. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3619. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3620. if Debounces.on == false then break end
  3621. rs:wait()
  3622. end
  3623. Shell()
  3624. shell.Transparency = 0
  3625. shell2.Transparency = 1
  3626. for i = 1, 10 do
  3627. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3628. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3629. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3630. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3631. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3632. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3633. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3634. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3635. if Debounces.on == false then break end
  3636. rs:wait()
  3637. end
  3638. Shell()
  3639. shell2.Transparency = 0
  3640. shell.Transparency = 1
  3641. for i = 1, 10 do
  3642. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3643. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3644. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  3645. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  3646. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  3647. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  3648. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  3649. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  3650. if Debounces.on == false then break end
  3651. rs:wait()
  3652. end
  3653. Shell()
  3654. shell.Transparency = 0
  3655. shell2.Transparency = 1
  3656. for i = 1, 10 do
  3657. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3658. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  3659. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  3660. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  3661. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  3662. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  3663. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  3664. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  3665. if Debounces.on == false then break end
  3666. rs:wait()
  3667. end
  3668. shell.Transparency = 1
  3669. if Debounces.CanAttack == false then
  3670. Debounces.CanAttack = true
  3671. Debounces.NoIdl = false
  3672. Debounces.on = false
  3673. end
  3674. end
  3675. end
  3676. end)
  3677. ----------------------------------------------------
  3678. Search = false
  3679. mouse.KeyDown:connect(function(key)
  3680. if key == "n" then
  3681. if Search == false then
  3682. Search = true
  3683. for i,v in pairs(game.Players:getPlayers()) do
  3684. if v.Name~=char.Name then
  3685. for j,k in pairs(v.Character:GetChildren()) do
  3686. if k:IsA("BasePart") and k.Transparency >= 1 then
  3687. bawx=Instance.new("SelectionBox",cam)
  3688. bawx.Color = BrickColor.new("Royal purple")
  3689. bawx.Transparency = .5
  3690. bawx.Adornee = k
  3691. end
  3692. end
  3693. end
  3694. end
  3695. elseif Search == true then
  3696. Search = false
  3697. for i, v in pairs(cam:GetChildren()) do
  3698. if v:IsA("SelectionBox") then
  3699. v:Destroy()
  3700. end
  3701. end
  3702. end
  3703. end
  3704. end)
  3705. ----------------------------------------------------
  3706. Grab = false
  3707. mouse.KeyDown:connect(function(key)
  3708. if key == "z" then
  3709. Debounces.on = true
  3710. Debounces.NoIdl = true
  3711. Debounces.ks = true
  3712. if Grab == false then
  3713. gp = nil
  3714. for i = 1, 20 do
  3715. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  3716. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  3717. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3718. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3719. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  3720. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  3721. if Debounces.on == false then break end
  3722. rs:wait()
  3723. end
  3724. con1=larm.Touched:connect(function(hit) -- this is grab
  3725. ht = hit.Parent
  3726. hum1=ht:FindFirstChild('Humanoid')
  3727. if hum1 ~= nil then
  3728. if Debounces.ks==true then
  3729. z = Instance.new("Sound",hed)
  3730. z.SoundId = "rbxassetid://169380525"
  3731. z.Volume = 1
  3732. z:Play()
  3733. Debounces.ks=false
  3734. end
  3735. hum1.PlatformStand=true
  3736. gp = ht
  3737. Grab = true
  3738. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  3739. asd.Parent = larm
  3740. asd.Name = "asd"
  3741. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  3742. --[[elseif hum1 == nil then
  3743. con1:disconnect()
  3744. wait() return]]--
  3745. end
  3746. end)
  3747. for i = 1, 20 do
  3748. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  3749. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  3750. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3751. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3752. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3753. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3754. if Debounces.on == false then break end
  3755. rs:wait()
  3756. end
  3757. if hum1 == nil then
  3758. Debounces.on = false
  3759. Debounces.NoIdl = false
  3760. end
  3761. con1:disconnect()
  3762. elseif Grab == true then
  3763. Grab = false
  3764. Punch()
  3765. z = Instance.new("Sound",hed)
  3766. z.SoundId = "rbxassetid://169380525"
  3767. z.Pitch = ptz[math.random(1,#ptz)]
  3768. z.Volume = 1
  3769. z:Play()
  3770. for i = 1, 10 do
  3771. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3772. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3773. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3774. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3775. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3776. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3777. if Debounces.on == false then break end
  3778. rs:wait()
  3779. end
  3780. Punch()
  3781. z = Instance.new("Sound",hed)
  3782. z.SoundId = "rbxassetid://169380525"
  3783. z.Pitch = ptz[math.random(1,#ptz)]
  3784. z.Volume = 1
  3785. z:Play()
  3786. for i = 1, 10 do
  3787. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3788. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3789. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3790. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3791. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3792. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3793. if Debounces.on == false then break end
  3794. rs:wait()
  3795. end
  3796. Punch()
  3797. z = Instance.new("Sound",hed)
  3798. z.SoundId = "rbxassetid://169380525"
  3799. z.Pitch = ptz[math.random(1,#ptz)]
  3800. z.Volume = 1
  3801. z:Play()
  3802. for i = 1, 10 do
  3803. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3804. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3805. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3806. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3807. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3808. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3809. if Debounces.on == false then break end
  3810. rs:wait()
  3811. end
  3812. Punch()
  3813. z = Instance.new("Sound",hed)
  3814. z.SoundId = "rbxassetid://169380525"
  3815. z.Pitch = ptz[math.random(1,#ptz)]
  3816. z.Volume = 1
  3817. z:Play()
  3818. for i = 1, 10 do
  3819. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3820. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3821. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3822. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3823. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3824. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3825. if Debounces.on == false then break end
  3826. rs:wait()
  3827. end
  3828. Punch()
  3829. z = Instance.new("Sound",hed)
  3830. z.SoundId = "rbxassetid://169380525"
  3831. z.Pitch = ptz[math.random(1,#ptz)]
  3832. z.Volume = 1
  3833. z:Play()
  3834. for i = 1, 10 do
  3835. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3836. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3837. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3838. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3839. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3840. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3841. if Debounces.on == false then break end
  3842. rs:wait()
  3843. end
  3844. Punch()
  3845. z = Instance.new("Sound",hed)
  3846. z.SoundId = "rbxassetid://169380525"
  3847. z.Pitch = ptz[math.random(1,#ptz)]
  3848. z.Volume = 1
  3849. z:Play()
  3850. for i = 1, 10 do
  3851. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3852. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3853. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3854. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3855. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3856. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3857. if Debounces.on == false then break end
  3858. rs:wait()
  3859. end
  3860. Punch()
  3861. z = Instance.new("Sound",hed)
  3862. z.SoundId = "rbxassetid://169380525"
  3863. z.Pitch = ptz[math.random(1,#ptz)]
  3864. z.Volume = 1
  3865. z:Play()
  3866. for i = 1, 10 do
  3867. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3868. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3869. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3870. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3871. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3872. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3873. if Debounces.on == false then break end
  3874. rs:wait()
  3875. end
  3876. Punch()
  3877. z = Instance.new("Sound",hed)
  3878. z.SoundId = "rbxassetid://169380525"
  3879. z.Pitch = ptz[math.random(1,#ptz)]
  3880. z.Volume = 1
  3881. z:Play()
  3882. for i = 1, 10 do
  3883. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3884. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3885. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3886. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3887. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3888. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3889. if Debounces.on == false then break end
  3890. rs:wait()
  3891. end
  3892. Punch()
  3893. z = Instance.new("Sound",hed)
  3894. z.SoundId = "rbxassetid://169380525"
  3895. z.Pitch = ptz[math.random(1,#ptz)]
  3896. z.Volume = 1
  3897. z:Play()
  3898. for i = 1, 10 do
  3899. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3900. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3901. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3902. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3903. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3904. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3905. if Debounces.on == false then break end
  3906. rs:wait()
  3907. end
  3908. Punch()
  3909. z = Instance.new("Sound",hed)
  3910. z.SoundId = "rbxassetid://169380525"
  3911. z.Pitch = ptz[math.random(1,#ptz)]
  3912. z.Volume = 1
  3913. z:Play()
  3914. for i = 1, 10 do
  3915. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3916. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3917. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3918. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3919. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3920. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3921. if Debounces.on == false then break end
  3922. rs:wait()
  3923. end
  3924. Punch()
  3925. z = Instance.new("Sound",hed)
  3926. z.SoundId = "rbxassetid://169380525"
  3927. z.Pitch = ptz[math.random(1,#ptz)]
  3928. z.Volume = 1
  3929. z:Play()
  3930. for i = 1, 10 do
  3931. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3932. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3933. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3934. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3935. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3936. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3937. if Debounces.on == false then break end
  3938. rs:wait()
  3939. end
  3940. Punch()
  3941. z = Instance.new("Sound",hed)
  3942. z.SoundId = "rbxassetid://169380525"
  3943. z.Pitch = ptz[math.random(1,#ptz)]
  3944. z.Volume = 1
  3945. z:Play()
  3946. for i = 1, 10 do
  3947. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3948. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3949. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3950. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3951. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3952. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3953. if Debounces.on == false then break end
  3954. rs:wait()
  3955. end
  3956. con1:disconnect()
  3957. Debounces.on = false
  3958. Debounces.NoIdl = false
  3959. if gp ~= nil then
  3960. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3961. for i,v in pairs(larm:GetChildren()) do
  3962. if v.Name == "asd" and v:IsA("Weld") then
  3963. v:Remove()
  3964. end
  3965. end
  3966. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3967. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3968. bv.P = 125000
  3969. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3970. hum1=nil
  3971. ht=nil
  3972. Debounces.on = false
  3973. Debounces.NoIdl = false
  3974. elseif ht == nil then wait()
  3975. Grab = false
  3976. Debounces.on = false
  3977. Debounces.NoIdl = false
  3978. end
  3979. end
  3980. end
  3981. end)
  3982. ----------------------------------------------------
  3983. mouse.KeyDown:connect(function(key)
  3984. if string.byte(key) == 48 then
  3985. char.Humanoid.WalkSpeed = 60
  3986. end
  3987. end)
  3988. mouse.KeyUp:connect(function(key)
  3989. if string.byte(key) == 48 then
  3990. char.Humanoid.WalkSpeed = 16
  3991. end
  3992. end)
  3993. -------------------------------
  3994. local animpose = "Idle"
  3995. local lastanimpose = "Idle"
  3996. local sine = 0
  3997. local change = 1
  3998. local val = 0
  3999. local ffing = false
  4000. -------------------------------
  4001. game:GetService("RunService").RenderStepped:connect(function()
  4002. --[[if char.Humanoid.Jump == true then
  4003. jump = true
  4004. else
  4005. jump = false
  4006. end]]
  4007. char.Humanoid.FreeFalling:connect(function(f)
  4008. if f then
  4009. ffing = true
  4010. else
  4011. ffing = false
  4012. end
  4013. end)
  4014. sine = sine + change
  4015. if jumpn == true then
  4016. animpose = "Jumping"
  4017. elseif ffing == true then
  4018. animpose = "Freefalling"
  4019. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  4020. animpose = "Idle"
  4021. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  4022. animpose = "Walking"
  4023. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  4024. animpose = "Running"
  4025. end
  4026. if animpose ~= lastanimpose then
  4027. sine = 0
  4028. if Debounces.NoIdl == false then
  4029. if animpose == "Idle" then
  4030. for i = 1, 2 do
  4031. 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)
  4032. 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)
  4033. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  4034. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4035. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  4036. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  4037. end
  4038. elseif animpose == "Walking" then
  4039. for i = 1, 2 do
  4040. 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)
  4041. 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)
  4042. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4043. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4044. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4045. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4046. end
  4047. elseif animpose == "Running" then
  4048. for i = 1, 2 do
  4049. 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)
  4050. 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)
  4051. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  4052. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  4053. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  4054. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  4055. wait()
  4056. end
  4057. end
  4058. else
  4059. end
  4060. end
  4061. lastanimpose = animpose
  4062. if Debounces.NoIdl == false then
  4063. if animpose == "Idle" then
  4064. change = 0.5
  4065. 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)
  4066. 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)
  4067. 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)
  4068. 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)
  4069. 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)
  4070. 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)
  4071. elseif animpose == "Walking" then
  4072. change = 1
  4073. 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)
  4074. 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)
  4075. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4076. 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)
  4077. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4078. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4079. elseif animpose == "Running" then
  4080. change = 1
  4081. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  4082. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  4083. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  4084. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  4085. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  4086. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  4087. elseif stanceToggle == "Floating" then
  4088. 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)
  4089. 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)
  4090. hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  4091. 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)
  4092. 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)
  4093. 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)
  4094. end
  4095. end
  4096. end)
  4097. hum.MaxHealth = 9001
  4098. wait(3)
  4099. hum.Health = 9001
  4100. -----------------------------------------------------------------------------
  4101.  
  4102. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  4103. --[[Part0 = Vector3 (Start pos)
  4104. Part1 = Vector3 (End pos)
  4105. Times = number (Amount of lightning parts)
  4106. Offset = number (Offset)
  4107. Color = color (brickcolor value)
  4108. Thickness = number (thickness)
  4109. Trans = number (transparency)
  4110. ]]--
  4111. local magz = (Part0 - Part1).magnitude
  4112. local curpos = Part0
  4113. local trz = {-Offset,Offset}
  4114. for i=1,Times do
  4115. local li = Instance.new("Part", torso)
  4116. li.Name = "Lightning"
  4117. li.TopSurface =0
  4118. li.Material = "Neon"
  4119. li.BottomSurface = 0
  4120. li.Anchored = true
  4121. li.Locked = true
  4122. li.Transparency = Trans or 0.4
  4123. li.BrickColor = BrickColor.new(Color)
  4124. li.formFactor = "Custom"
  4125. li.CanCollide = false
  4126. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  4127. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4128. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  4129. if Times == i then
  4130. local magz2 = (curpos - Part1).magnitude
  4131. li.Size = Vector3.new(Thickness,Thickness,magz2)
  4132. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  4133. else
  4134. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  4135. end
  4136. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  4137. game.Debris:AddItem(li,.1)
  4138. end
  4139. end
  4140.  
  4141. BodyParts = {} -- Parts to emit lightning effects from
  4142. for _, v in pairs(char:GetChildren()) do
  4143. if v:IsA("Part") then
  4144. table.insert(BodyParts, v)
  4145. end
  4146. end
  4147.  
  4148. Bounding = {} -- Calculate the bounding boxes
  4149. for _, v in pairs(BodyParts) do
  4150. local temp = {X=nil, Y=nil, Z=nil}
  4151. temp.X = v.Size.X/2 * 15
  4152. temp.Y = v.Size.Y/2 * 15
  4153. temp.Z = v.Size.Z/2 * 15
  4154. Bounding[v.Name] = temp
  4155. --table.insert(Bounding, v.Name, temp)
  4156. end
  4157.  
  4158. while wait(0) do -- Emit the Lightning effects randomly, (math.random(1,10)/10) if you want original
  4159. local Body1 = BodyParts[math.random(#BodyParts)]
  4160. local Body2 = BodyParts[math.random(#BodyParts)]
  4161. local Pos1 = Vector3.new(
  4162. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  4163. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  4164. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  4165. )
  4166. local Pos2 = Vector3.new(
  4167. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  4168. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  4169. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  4170. )
  4171. local SPos1 = Body1.Position + Pos1
  4172. local SPos2 = Body2.Position + Pos2
  4173. Lightning(SPos1, SPos2, 4, 3, "Royal purple", .3, .56)
  4174. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement