Advertisement
MysteriousL

Transformt est4

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