copra50

agent wesker

Aug 21st, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.00 KB | None | 0 0
  1. wait(0.2)
  2. local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse()
  3. local Torso = Character:FindFirstChild("Torso")
  4. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  5. local Humanoid = Character:FindFirstChild("Humanoid")
  6. local Head = Character:FindFirstChild("Head")
  7. local Right_Arm = Character:FindFirstChild("Right Arm")
  8. local Left_Arm = Character:FindFirstChild("Left Arm")
  9. local Right_Leg = Character:FindFirstChild("Right Leg")
  10. local Left_Leg = Character:FindFirstChild("Left Leg")
  11. local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
  12. local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
  13. local Right_Hip = Torso:FindFirstChild("Right Hip")
  14. local Left_Hip = Torso:FindFirstChild("Left Hip")
  15. local Neck = Torso:FindFirstChild("Neck")
  16. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  17. local rootJoint = rootPart:FindFirstChild("RootJoint")
  18. local CurrentIdle = "Idling1"
  19. local Degree = 0.0175438596491228
  20. local canremove = false
  21. local debounce = false
  22. local UIService = game:GetService("UserInputService")
  23. _G.SongName = math.random(1, 9025232)
  24. sin = math.sin
  25. Right_Leg.FormFactor = "Custom"
  26. Left_Leg.FormFactor = "Custom"
  27. rootPart.Archivable = true
  28. rootJoint.Archivable = true
  29. c_new = CFrame.new
  30. c_angles = CFrame.Angles
  31. i_new = Instance.new
  32. Humanoid:ClearAllChildren()
  33. local isAttacking = false
  34. local isSprinting = false
  35. local Animations = false
  36. local Angle = 0
  37. local Axis = 0
  38. local angleSpeed = 1
  39. local axisSpeed = angleSpeed
  40. local currentAnim
  41. local levetatingheight = 3
  42. local WalkType = "Ground"
  43. local RateP = 20
  44. function CreateParticle(parent)
  45. local Particle = Instance.new("ParticleEmitter", parent)
  46. Particle.Enabled = true
  47. Particle.Transparency = NumberSequence.new({
  48. NumberSequenceKeypoint.new(0, 1),
  49. NumberSequenceKeypoint.new(0.3, 0.95),
  50. NumberSequenceKeypoint.new(1, 1)
  51. })
  52. Particle.LightEmission = -3
  53. Particle.Rate = RateP
  54. Particle.ZOffset = 1
  55. Particle.Lifetime = NumberRange.new(0.5)
  56. Particle.Speed = NumberRange.new(1)
  57. Particle.Size = NumberSequence.new({
  58. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  59. NumberSequenceKeypoint.new(1, 1, 0.1)
  60. })
  61. Particle.Rotation = NumberRange.new(-180, 180)
  62. Particle.RotSpeed = NumberRange.new(-180, 180)
  63. Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
  64. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  65. Particle.VelocitySpread = 360
  66. Particle.LockedToPart = false
  67. end
  68. CreateParticle(Torso)
  69. CreateParticle(Right_Arm)
  70. CreateParticle(Left_Arm)
  71. CreateParticle(Right_Leg)
  72. CreateParticle(Left_Leg)
  73. function CreateParticle2(parent)
  74. local Particle = Instance.new("ParticleEmitter", parent)
  75. Particle.Enabled = true
  76. Particle.Transparency = NumberSequence.new({
  77. NumberSequenceKeypoint.new(0, 1),
  78. NumberSequenceKeypoint.new(0.3, 0.95),
  79. NumberSequenceKeypoint.new(1, 1)
  80. })
  81. Particle.LightEmission = -3
  82. Particle.Rate = RateP
  83. Particle.ZOffset = 1
  84. Particle.Lifetime = NumberRange.new(0.5)
  85. Particle.Speed = NumberRange.new(1)
  86. Particle.Size = NumberSequence.new({
  87. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  88. NumberSequenceKeypoint.new(1, 1, 0.1)
  89. })
  90. Particle.Rotation = NumberRange.new(-180, 180)
  91. Particle.RotSpeed = NumberRange.new(-180, 180)
  92. Particle.Texture = "http://www.roblox.com/asset/?id=303195022"
  93. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  94. Particle.VelocitySpread = 360
  95. Particle.LockedToPart = false
  96. end
  97. CreateParticle2(Torso)
  98. CreateParticle2(Right_Arm)
  99. CreateParticle2(Left_Arm)
  100. CreateParticle2(Right_Leg)
  101. CreateParticle2(Left_Leg)
  102. function CreateParticle3(parent)
  103. local Particle = Instance.new("ParticleEmitter", parent)
  104. Particle.Enabled = true
  105. Particle.Transparency = NumberSequence.new({
  106. NumberSequenceKeypoint.new(0, 1),
  107. NumberSequenceKeypoint.new(0.3, 0.95),
  108. NumberSequenceKeypoint.new(1, 1)
  109. })
  110. Particle.LightEmission = -3
  111. Particle.Rate = RateP
  112. Particle.ZOffset = 1
  113. Particle.Lifetime = NumberRange.new(0.5)
  114. Particle.Speed = NumberRange.new(1)
  115. Particle.Size = NumberSequence.new({
  116. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  117. NumberSequenceKeypoint.new(1, 1, 0.1)
  118. })
  119. Particle.Rotation = NumberRange.new(-180, 180)
  120. Particle.RotSpeed = NumberRange.new(-180, 180)
  121. Particle.Texture = "http://www.roblox.com/asset/?id=303195000"
  122. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  123. Particle.VelocitySpread = 360
  124. Particle.LockedToPart = false
  125. end
  126. CreateParticle3(Torso)
  127. CreateParticle3(Right_Arm)
  128. CreateParticle3(Left_Arm)
  129. CreateParticle3(Right_Leg)
  130. CreateParticle3(Left_Leg)
  131. function CreateParticle4(parent)
  132. local Particle = Instance.new("ParticleEmitter", parent)
  133. Particle.Enabled = true
  134. Particle.Transparency = NumberSequence.new({
  135. NumberSequenceKeypoint.new(0, 1),
  136. NumberSequenceKeypoint.new(0.3, 0.95),
  137. NumberSequenceKeypoint.new(1, 1)
  138. })
  139. Particle.LightEmission = -3
  140. Particle.Rate = RateP
  141. Particle.ZOffset = 1
  142. Particle.Lifetime = NumberRange.new(0.5)
  143. Particle.Speed = NumberRange.new(1)
  144. Particle.Size = NumberSequence.new({
  145. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  146. NumberSequenceKeypoint.new(1, 1, 0.1)
  147. })
  148. Particle.Rotation = NumberRange.new(-180, 180)
  149. Particle.RotSpeed = NumberRange.new(-180, 180)
  150. Particle.Texture = "http://www.roblox.com/asset/?id=303194917"
  151. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  152. Particle.VelocitySpread = 360
  153. Particle.LockedToPart = false
  154. end
  155. CreateParticle4(Torso)
  156. CreateParticle4(Right_Arm)
  157. CreateParticle4(Left_Arm)
  158. CreateParticle4(Right_Leg)
  159. CreateParticle4(Left_Leg)
  160. function Sound(parent, loop, vol, id)
  161. local s = Instance.new("Sound", parent)
  162. s.Looped = loop
  163. s.Volume = vol
  164. s.MaxDistance = 200
  165. s.EmitterSize = 20
  166. s.SoundId = "rbxassetid://" .. tostring(id)
  167. s:Play()
  168. if loop == false then
  169. wait(s.TimeLength)
  170. s:Destroy()
  171. end
  172. end
  173. Theme = Instance.new("Sound")
  174. Theme.Parent = Character
  175. Theme.SoundId = ""
  176. Theme.Volume = 0
  177. Theme.Looped = true
  178. Theme.Pitch = 1
  179. Theme:Play()
  180. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  181. wld = Instance.new("Weld", wp1)
  182. wld.Part0 = wp0
  183. wld.Part1 = wp1
  184. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  185. return wld
  186. end
  187. function noOutline(part)
  188. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  189. end
  190. local Part = function(Name, Color, Material, Transparency, Shape, Size, CFrame, CanCollide, Anchored, parent)
  191. local partie = i_new("Part", parent)
  192. partie.Name = Name
  193. partie.BrickColor = BrickColor.new(Color)
  194. partie.Material = Material
  195. partie.Shape = Shape
  196. partie.Transparency = Transparency
  197. partie.Size = Size
  198. partie.CFrame = CFrame
  199. partie.CanCollide = CanCollide
  200. partie.Anchored = Anchored
  201. return partie
  202. end
  203. function swait(num)
  204. if num == 0 or num == nil then
  205. game:GetService("RunService").Stepped:wait(0)
  206. else
  207. for i = 0, num do
  208. game:GetService("RunService").Stepped:wait(0)
  209. end
  210. end
  211. end
  212. coroutine.wrap(function()
  213. while true do
  214. Humanoid.MaxHealth = "inf"
  215. Humanoid.Health = "inf"
  216. wait(0.01)
  217. end
  218. end)()
  219. coroutine.wrap(function()
  220. while true do
  221. Humanoid.MaxHealth = "inf"
  222. Humanoid.Health = "inf"
  223. wait()
  224. end
  225. end)()
  226. coroutine.wrap(function()
  227. while true do
  228. Humanoid.MaxHealth = "inf"
  229. Humanoid.Health = "inf"
  230. swait()
  231. end
  232. end)()
  233. coroutine.wrap(function()
  234. while true do
  235. Humanoid.MaxHealth = "inf"
  236. Humanoid.Health = "inf"
  237. swait(1)
  238. end
  239. end)()
  240. Player.Character.Archivable = true
  241. Instance.new("ForceField", Player.Character).Visible = false
  242. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  243. local mesh = i_new(Mesh)
  244. mesh.Parent = part
  245. if Mesh == "SpecialMesh" then
  246. mesh.MeshType = meshtype
  247. mesh.MeshId = meshid
  248. end
  249. mesh.Offset = offset
  250. mesh.Scale = scale
  251. return mesh
  252. end
  253. local Hair = Instance.new("Part", Head)
  254. Hair.Name = "Hair"
  255. Hair.Shape = Enum.PartType.Ball
  256. Hair.CanCollide = false
  257. Hair.BrickColor = BrickColor.new("Medium stone grey")
  258. Hair.Transparency = 0
  259. Hair.Material = "Grass"
  260. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  261. Hair.TopSurface = Enum.SurfaceType.Smooth
  262. Hair.BottomSurface = Enum.SurfaceType.Smooth
  263. local Weld = Instance.new("Weld", Hair)
  264. Weld.Part0 = Head
  265. Weld.Part1 = Hair
  266. Weld.C1 = CFrame.new(0, -0.5, 0)
  267. HoodMesh = Instance.new("FileMesh", Hair)
  268. HoodMesh.MeshId = "http://www.roblox.com/asset/?id=74879498"
  269. HoodMesh.TextureId = "http://www.roblox.com/asset/?id=75977308"
  270. HoodMesh.Scale = Vector3.new(1.05, 1.1, 1.1)
  271. local Shades = Instance.new("Part", Head)
  272. Shades.Name = "Shades"
  273. Shades.Shape = Enum.PartType.Ball
  274. Shades.CanCollide = false
  275. Shades.BrickColor = BrickColor.new("Medium stone grey")
  276. Shades.Transparency = 0
  277. Shades.Material = "Grass"
  278. Shades.Size = Vector3.new(0.1, 0.1, 0.1)
  279. Shades.TopSurface = Enum.SurfaceType.Smooth
  280. Shades.BottomSurface = Enum.SurfaceType.Smooth
  281. local Weld = Instance.new("Weld", Shades)
  282. Weld.Part0 = Head
  283. Weld.Part1 = Shades
  284. Weld.C1 = CFrame.new(0, -0.2, 0.15)
  285. ShadesMesh = Instance.new("FileMesh", Shades)
  286. ShadesMesh.MeshId = "http://www.roblox.com/asset/?id=51177557"
  287. ShadesMesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  288. ShadesMesh.Scale = Vector3.new(1, 1, 1)
  289. local GunModel = Instance.new("Part", game.Workspace.CurrentCamera)
  290. GunModel.Name = "Pistol"
  291. GunModel.Shape = Enum.PartType.Ball
  292. GunModel.CanCollide = false
  293. GunModel.BrickColor = BrickColor.new("Medium stone grey")
  294. GunModel.Transparency = 1
  295. GunModel.Material = "Grass"
  296. GunModel.Size = Vector3.new(0.01, 0.01, 0.01)
  297. GunModel.TopSurface = Enum.SurfaceType.Smooth
  298. GunModel.BottomSurface = Enum.SurfaceType.Smooth
  299. local Weld = Instance.new("Weld", GunModel)
  300. Weld.Part0 = Right_Arm
  301. Weld.Part1 = GunModel
  302. Weld.C1 = CFrame.new(0, -0.3, -1.4) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  303. GunModelMesh = Instance.new("FileMesh", GunModel)
  304. GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=441587064"
  305. GunModelMesh.TextureId = "http://www.roblox.com/asset/?id=441587082"
  306. GunModelMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
  307. BE = Instance.new("Part", GunModel)
  308. BE.Anchored = false
  309. BE.CanCollide = false
  310. BE.Transparency = 1
  311. BE.Size = Vector3.new(0.1, 0.1, 0.1)
  312. Eweld = Instance.new("Weld", BE)
  313. Eweld.Part0 = BE
  314. Eweld.Part1 = GunModel
  315. Eweld.C0 = CFrame.new(0, -0.3, -1)
  316. BEX = Instance.new("Part", GunModel)
  317. BEX.Anchored = false
  318. BEX.CanCollide = false
  319. BEX.Transparency = 1
  320. BEX.Size = Vector3.new(0.1, 0.1, 0.1)
  321. EXweld = Instance.new("Weld", BEX)
  322. EXweld.Part0 = BEX
  323. EXweld.Part1 = GunModel
  324. EXweld.C0 = CFrame.new(0, -0.3, 0.05)
  325. local Effects = Instance.new("Folder", Character)
  326. Effects.Name = "Effects"
  327. Debris = game:GetService("Debris")
  328. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  329. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  330. end
  331. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  332. local DIRECTION = CFrame.new(StartPos, EndPos).lookVector
  333. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  334. end
  335. function MakeForm(PART, TYPE)
  336. if TYPE == "Cyl" then
  337. local MSH = Instance.new("CylinderMesh", PART)
  338. elseif TYPE == "Ball" then
  339. local MSH = Instance.new("SpecialMesh", PART)
  340. MSH.MeshType = "Sphere"
  341. elseif TYPE == "Wedge" then
  342. local MSH = Instance.new("SpecialMesh", PART)
  343. MSH.MeshType = "Wedge"
  344. end
  345. end
  346. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  347. local NEWPART = Instance.new("Part")
  348. NEWPART.formFactor = FORMFACTOR
  349. NEWPART.Reflectance = REFLECTANCE
  350. NEWPART.Transparency = TRANSPARENCY
  351. NEWPART.CanCollide = false
  352. NEWPART.Locked = true
  353. NEWPART.Anchored = true
  354. if ANCHOR == false then
  355. NEWPART.Anchored = false
  356. end
  357. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  358. NEWPART.Name = NAME
  359. NEWPART.Size = SIZE
  360. NEWPART.Position = Torso.Position
  361. NEWPART.Material = MATERIAL
  362. NEWPART:BreakJoints()
  363. NEWPART.Parent = PARENT
  364. return NEWPART
  365. end
  366. Blood = Instance.new("ParticleEmitter")
  367. Blood.Parent = nil
  368. Blood.Rate = 20
  369. Blood.Speed = NumberRange.new(7)
  370. Blood.VelocitySpread = 40
  371. Blood.Lifetime = NumberRange.new(0.1, 1)
  372. Blood.Texture = "rbxassetid://291880914"
  373. Blood.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  374. Blood.Acceleration = Vector3.new(0, -50, 0)
  375. Blood.Size = NumberSequence.new({
  376. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  377. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  378. })
  379. Blood.RotSpeed = NumberRange.new(-180, 180)
  380. Blood.Rotation = NumberRange.new(-360, 360)
  381. Blood.Transparency = NumberSequence.new({
  382. NumberSequenceKeypoint.new(0, 1),
  383. NumberSequenceKeypoint.new(0.2, 0),
  384. NumberSequenceKeypoint.new(0.8, 0),
  385. NumberSequenceKeypoint.new(1, 1)
  386. })
  387. local B = Instance.new("Sound")
  388. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  389. local NEWSOUND
  390. coroutine.resume(coroutine.create(function()
  391. NEWSOUND = B:Clone()
  392. NEWSOUND.Parent = PARENT
  393. NEWSOUND.Volume = VOLUME
  394. NEWSOUND.Pitch = PITCH
  395. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  396. NEWSOUND:play()
  397. if DOESLOOP == true then
  398. NEWSOUND.Looped = true
  399. else
  400. repeat
  401. wait(1)
  402. until NEWSOUND.Playing == false
  403. NEWSOUND:remove()
  404. end
  405. end))
  406. return NEWSOUND
  407. end
  408. function getbloody(victim, amount)
  409. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  410. PART.CFrame = victim.CFrame
  411. local HITPLAYERSOUNDS = {
  412. "883201004",
  413. "883201111",
  414. "883201193",
  415. "883201270"
  416. }
  417. Debris:AddItem(PART, 5)
  418. CreateSound(HITPLAYERSOUNDS[math.random(1, #HITPLAYERSOUNDS)], PART, 1, math.random(8, 12) / 10)
  419. CreateSound(HITPLAYERSOUNDS[math.random(1, #HITPLAYERSOUNDS)], PART, 1, math.random(8, 12) / 10)
  420. CreateSound(HITPLAYERSOUNDS[math.random(1, #HITPLAYERSOUNDS)], PART, 1, math.random(8, 12) / 10)
  421. local prtcl = Blood:Clone()
  422. prtcl.Parent = PART
  423. prtcl:Emit(amount * 10)
  424. end
  425. function SpawnTrail(FROM, TO, BIG)
  426. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Trail", Vector3.new(0, 0, 0))
  427. MakeForm(TRAIL, "Cyl")
  428. local DIST = (FROM - TO).Magnitude
  429. if BIG == true then
  430. TRAIL.Size = Vector3.new(0.5, DIST, 0.5)
  431. else
  432. TRAIL.Size = Vector3.new(0.25, DIST, 0.25)
  433. end
  434. TRAIL.CFrame = CFrame.new(FROM, TO) * CFrame.new(0, 0, -DIST / 2) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(0))
  435. coroutine.resume(coroutine.create(function()
  436. for i = 1, 5 do
  437. swait()
  438. TRAIL.Transparency = TRAIL.Transparency + 0.1
  439. end
  440. TRAIL:remove()
  441. end))
  442. end
  443. function Kill(Char)
  444. local NewCharacter = Instance.new("Model", Effects)
  445. NewCharacter.Name = "Ow im ded ;-;"
  446. for _, c in pairs(Char:GetDescendants()) do
  447. if c:IsA("BasePart") and c.Transparency == 0 then
  448. if c.Parent == Char then
  449. getbloody(c, 5)
  450. end
  451. c:BreakJoints()
  452. c.Material = "Glass"
  453. c.Color = Color3.new(0.5, 0, 0)
  454. c.CanCollide = true
  455. c.Transparency = 0.3
  456. if c:FindFirstChildOfClass("SpecialMesh") then
  457. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  458. end
  459. if c.Name == "Head" then
  460. c:ClearAllChildren()
  461. c.Size = Vector3.new(c.Size.Y, c.Size.Y, c.Size.Y)
  462. end
  463. if c.ClassName == "MeshPart" then
  464. c.TextureID = ""
  465. end
  466. if c:FindFirstChildOfClass("BodyPosition") then
  467. c:FindFirstChildOfClass("BodyPosition"):remove()
  468. end
  469. if c:FindFirstChildOfClass("ParticleEmitter") then
  470. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  471. end
  472. c.Parent = NewCharacter
  473. c.Name = "DeadPart"
  474. c.Velocity = Vector3.new(math.random(-45, 45), math.random(-45, 45), math.random(-45, 45)) / 15
  475. c.RotVelocity = Vector3.new(math.random(-45, 45), math.random(-15, 85), math.random(-45, 45))
  476. end
  477. end
  478. Char:remove()
  479. Debris:AddItem(NewCharacter, 5)
  480. end
  481. function BulletDetection(FROM, TO, BRUTAL)
  482. local AIMHIT, AIMPOS, NORMAL = CastProperRay(FROM, TO, 2000, Character)
  483. coroutine.resume(coroutine.create(function()
  484. if AIMHIT ~= nil and AIMHIT.Parent ~= Character and (AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
  485. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  486. if BRUTAL == true then
  487. Kill(AIMHIT.Parent)
  488. else
  489. getbloody(AIMHIT, 15)
  490. AIMHIT.Parent:BreakJoints()
  491. if AIMHIT.Name == "Head" or AIMHIT:IsA("Hat") or AIMHIT.Name == "Torso" or AIMHIT.Name == "HumanoidRootPart" or AIMHIT.Name == "Right Arm" or AIMHIT.Name == "Left Arm" or AIMHIT.Name == "Right Leg" or AIMHIT.Name
  492.  
  493. == "Left Leg" or AIMHIT.Name == "UpperTorso" or AIMHIT.Name == "UpperTorso" or AIMHIT.Name == "LowerTorso" or AIMHIT.Name == "RightUpperArm" or AIMHIT.Name == "RightLowerArm" or AIMHIT.Name == "RightHand" or AIMHIT.Name == "LeftUpperArm" or AIMHIT.Name
  494.  
  495. == "LeftLowerArm" or AIMHIT.Name == "LeftHand" or AIMHIT.Name == "RightUpperLeg" or AIMHIT.Name == "RightLowerLeg" or AIMHIT.Name == "RightFoot" or AIMHIT.Name == "LeftUpperLeg" or AIMHIT.Name == "LeftLowerLeg" or AIMHIT.Name == "LeftFoot" then
  496. AIMHIT.Name = "Dead"
  497. AIMHIT:remove()
  498. end
  499. end
  500. elseif BRUTAL == true then
  501. Kill(AIMHIT.Parent.Parent)
  502. else
  503. AIMHIT.Parent.Parent:BreakJoints()
  504. end
  505. end
  506. end))
  507. SpawnTrail(FROM, AIMPOS)
  508. return AIMHIT, AIMPOS, NORMAL
  509. end
  510. function round(num)
  511. local a, b = math.modf(num)
  512. if num % 1 ~= 0 then
  513. return math.floor(num) + math.floor(b * 10 + 0.5) / 10
  514. else
  515. return math.floor(num)
  516. end
  517. end
  518. function basicDamage(vhum, damage, colour)
  519. if not (vhum and vhum.Parent:findFirstChild("Humanoid")) or vhum.Health <= 0 then
  520. return
  521. end
  522. vhum.Health = vhum.Health - damage
  523. local damagepart = Instance.new("Part", Effects)
  524. damagepart.Transparency = 1
  525. damagepart.Anchored = true
  526. damagepart.CanCollide = false
  527. damagepart.Size = Vector3.new(0, 0, 0)
  528. damagepart.Name = "DamagePart"
  529. damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
  530. local g = Instance.new("BillboardGui", damagepart)
  531. g.Enabled = true
  532. g.Adornee = damagepart
  533. g.Size = UDim2.new(5, 0, 5, 0)
  534. g.ExtentsOffset = Vector3.new(0, 0, 0)
  535. g.StudsOffset = Vector3.new(0, 0, 0)
  536. local t = Instance.new("TextLabel", g)
  537. t.BackgroundTransparency = 1
  538. t.Font = "ArialBold"
  539. t.TextSize = 24
  540. t.Text = "" .. round(damage)
  541. if round(damage) % 1 == 0 then
  542. t.Text = "" .. round(damage) .. ""
  543. end
  544. t.Size = UDim2.new(1, 0, 1, 0)
  545. t.TextStrokeTransparency = 0
  546. t.TextTransparency = 0
  547. t.Font = "Arcade"
  548. t.TextScaled = true
  549. t.TextWrapped = true
  550. t.TextXAlignment = "Center"
  551. t.TextYAlignment = "Center"
  552. t.TextColor3 = colour
  553. coroutine.resume(coroutine.create(function()
  554. for i = 1, 50 do
  555. game:GetService("RunService").Heartbeat:wait()
  556. local sinewave = math.sin(i / 500) * 4
  557. damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
  558. t.TextTransparency = t.TextTransparency + 0.02
  559. t.TextStrokeTransparency = t.TextTransparency + 0.02
  560. end
  561. damagepart:Destroy()
  562. end), t)
  563. end
  564. function Trace()
  565. local ch = Character:GetChildren()
  566. for i = 1, #ch do
  567. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  568. do
  569. local trace = Instance.new("Part", game.Workspace)
  570. trace.Size = ch[i].Size
  571. trace.Material = "Neon"
  572. trace.BrickColor = BrickColor.new("Really black")
  573. trace.Transparency = 0.3
  574. trace.CanCollide = false
  575. trace.Anchored = true
  576. trace.CFrame = ch[i].CFrame
  577. if ch[i].Name == "Head" then
  578. mehs = Instance.new("CylinderMesh", trace)
  579. mehs.Scale = Vector3.new(1.25, 1.25, 1.25)
  580. end
  581. tracedisappear = coroutine.wrap(function()
  582. for i = 1, 7 do
  583. wait()
  584. trace.Transparency = trace.Transparency + 0.1
  585. end
  586. trace:Destroy()
  587. end)
  588. tracedisappear()
  589. end
  590. end
  591. end
  592. end
  593. t = Instance.new("Part", Character)
  594. t.Size = Vector3.new(0.01, 0.01, 0.01)
  595. t.Anchored = false
  596. t.CanCollide = false
  597. t.Name = "Attatchment for Trail"
  598. t.Transparency = 1
  599. tweld = Instance.new("Weld", t)
  600. tweld.Part0 = t
  601. tweld.Part1 = Torso
  602. tweld.C0 = CFrame.new(0, 2.5, 0)
  603. attch = Instance.new("Attachment", Head)
  604. attch2 = Instance.new("Attachment", t)
  605. trail = Instance.new("Trail", Character.HumanoidRootPart)
  606. trail.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0), Color3.fromRGB(0, 0, 0))
  607. trail.TextureLength = 4
  608. trail.TextureMode = "Stretch"
  609. trail.Lifetime = 0.2
  610. trail.MaxLength = 0
  611. trail.MinLength = 0
  612. trail.WidthScale = NumberSequence.new({
  613. NumberSequenceKeypoint.new(0, 1, 0),
  614. NumberSequenceKeypoint.new(1, 0, 0)
  615. })
  616. trail.Transparency = NumberSequence.new({
  617. NumberSequenceKeypoint.new(0, 0),
  618. NumberSequenceKeypoint.new(1, 1)
  619. })
  620. trail.Texture = "http://www.robox.com/asset/?id=182554047"
  621. trail.FaceCamera = true
  622. trail.Attachment0 = attch
  623. trail.Attachment1 = attch2
  624. trail.Enabled = false
  625. mouse = Player:GetMouse()
  626. local s = ""
  627. dashing = false
  628. coroutine.wrap(function()
  629. while wait() do
  630. if dashing == true then
  631. Trace()
  632. else
  633. end
  634. end
  635. end)()
  636. local isDashing = true
  637. mouse.KeyDown:connect(function(key)
  638. key = string.lower(key)
  639. if key == "w" or key == "\017" and dashing == false then
  640. s = s .. "w"
  641. delay(0.2, function()
  642. if s ~= "ww" then
  643. s = ""
  644. end
  645. end)
  646. if s == "ww" then
  647. s = ""
  648. if attack == true then
  649. return
  650. end
  651. dashing = true
  652. Animations = true
  653. for i = 1, 10 do
  654. rootPart.Velocity = rootPart.CFrame.lookVector * 200
  655. angleSpeed = 1
  656. axisSpeed = 1
  657. change = 0.5
  658. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-30), math.rad(0), math.rad(0)), 0.15)
  659. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-30), math.rad(0), math.rad(0)), 0.15)
  660. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  661. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.4) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  662. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-45), math.rad(0), math.rad(0)), 0.15)
  663. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  664. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  665. if v:FindFirstChild("HumanoidRootPart") then
  666. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(5, 10)
  667. end
  668. end
  669. swait()
  670. end
  671. dashing = false
  672. Animations = false
  673. delay(0, function()
  674. end)
  675. end
  676. end
  677. end)
  678. mouse.KeyDown:connect(function(key)
  679. key = string.lower(key)
  680. if key == "q" or key == "\017" and dashing == false then
  681. s = s .. "q"
  682. delay(0.2, function()
  683. if s ~= "qq" then
  684. s = ""
  685. end
  686. end)
  687. if s == "qq" then
  688. s = ""
  689. if attack == true then
  690. return
  691. end
  692. if transformed == true then
  693. return
  694. end
  695. dashing = true
  696. S = Instance.new("Sound")
  697. S.Parent = rootPart
  698. S.SoundId = "rbxassetid://2767090"
  699. S.Volume = 10
  700. S.Looped = false
  701. S.Pitch = 0.8
  702. S:Play()
  703. for i = 1, 5 do
  704. rootPart.Velocity = rootPart.CFrame.rightVector * -200
  705. angleSpeed = 1
  706. axisSpeed = 1
  707. change = 0.5
  708. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(80)), 0.15)
  709. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, -0.2) * c_angles(math.rad(80), math.rad(0), math.rad(45)), 0.15)
  710. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(20)), 0.15)
  711. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, -0.3) * c_angles(math.rad(25), math.rad(0), math.rad(30)), 0.15)
  712. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.15)
  713. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(-10)), 0.15)
  714. swait()
  715. end
  716. dashing = false
  717. Animations = false
  718. delay(0, function()
  719. end)
  720. end
  721. end
  722. end)
  723. mouse.KeyDown:connect(function(key)
  724. key = string.lower(key)
  725. if key == "e" or key == "\017" and dashing == false then
  726. s = s .. "e"
  727. delay(0.2, function()
  728. if s ~= "ee" then
  729. s = ""
  730. end
  731. end)
  732. if s == "ee" then
  733. s = ""
  734. if attack == true then
  735. return
  736. end
  737. if transformed == true then
  738. return
  739. end
  740. dashing = true
  741. S = Instance.new("Sound")
  742. S.Parent = rootPart
  743. S.SoundId = "rbxassetid://2767090"
  744. S.Volume = 10
  745. S.Looped = false
  746. S.Pitch = 0.8
  747. S:Play()
  748. for i = 1, 5 do
  749. rootPart.Velocity = rootPart.CFrame.rightVector * 200
  750. angleSpeed = 1
  751. axisSpeed = 1
  752. change = 0.5
  753. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, -0.2) * c_angles(math.rad(80), math.rad(0), math.rad(-45)), 0.15)
  754. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-80)), 0.15)
  755. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(25), math.rad(0), math.rad(-30)), 0.15)
  756. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, -0.3) * c_angles(math.rad(-25), math.rad(0), math.rad(-20)), 0.15)
  757. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(20)), 0.15)
  758. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.15)
  759. swait()
  760. end
  761. dashing = false
  762. Animations = false
  763. delay(0, function()
  764. end)
  765. end
  766. end
  767. end)
  768. attack = false
  769. attack2 = false
  770. Grabbed = false
  771. g = Instance.new("Part", Character)
  772. g.Size = Vector3.new(0.01, 0.01, 0.01)
  773. g.Anchored = false
  774. g.CanCollide = false
  775. g.Name = "Grab"
  776. g.Transparency = 1
  777. gweld = Instance.new("Weld", g)
  778. gweld.Part0 = g
  779. gweld.Part1 = Right_Arm
  780. gweld.C0 = CFrame.new(0, 1.25, 0)
  781. function FindNearestTorso(Position, Distance, SinglePlayer)
  782. if SinglePlayer then
  783. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  784. end
  785. local List = {}
  786. for i, v in pairs(workspace:GetChildren()) do
  787. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  788. table.insert(List, v)
  789. end
  790. end
  791. return List
  792. end
  793. quote = 1
  794. function Throw(mouse)
  795. gweld.C0 = CFrame.new(0, 1.25, 0)
  796. local hit = mouse.Target
  797. if hit ~= nil then
  798. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  799. local torsy
  800. if hit.Parent:FindFirstChild("Torso") ~= nil then
  801. torsy = hit.Parent.Torso
  802. end
  803. if 0 >= hit.Parent:FindFirstChild("Humanoid").Health then
  804. return
  805. end
  806. for i, v in pairs(hit.Parent:children()) do
  807. if v:IsA("Part") and not v.Name == "HumanoidRootPart" then
  808. return
  809. end
  810. end
  811. attack = true
  812. attack2 = true
  813. Animations = true
  814. Head.face.Texture = "rbxassetid://1895706696"
  815. local GYRO = Instance.new("BodyGyro", rootPart)
  816. GYRO.D = 100
  817. GYRO.P = 2000
  818. S = Instance.new("Sound")
  819. S.Parent = Character.Torso
  820. S.SoundId = "rbxassetid://391961525"
  821. S.Volume = 10
  822. S.Looped = false
  823. S.Pitch = 1
  824. S:Play()
  825. local LEye = Part("LEye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  826. Mesh = Instance.new("SpecialMesh", LEye)
  827. Mesh.MeshType = "Sphere"
  828. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  829. Mesh.Offset = Vector3.new(-0.2, 0.2, -0.6)
  830. newWeld(Head, LEye, 0, 0, 0)
  831. local LEGlow = Instance.new("SurfaceLight")
  832. LEGlow.Color = Color3.fromRGB(255, 0, 0)
  833. LEGlow.Range = 6
  834. LEGlow.Brightness = 10
  835. LEGlow.Parent = LEye
  836. local REye = Part("REye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  837. Mesh = Instance.new("SpecialMesh", REye)
  838. Mesh.MeshType = "Sphere"
  839. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  840. Mesh.Offset = Vector3.new(0.2, 0.2, -0.6)
  841. newWeld(Head, REye, 0, 0, 0)
  842. local REGlow = Instance.new("SurfaceLight")
  843. REGlow.Color = Color3.fromRGB(255, 0, 0)
  844. REGlow.Range = 6
  845. REGlow.Brightness = 10
  846. REGlow.Parent = REye
  847. GYRO.MaxTorque = Vector3.new(0, 4000000, 0)
  848. GYRO.CFrame = CFrame.new(rootPart.Position, hit.Parent:findFirstChild("HumanoidRootPart").Position)
  849. for i = 0, 0.3, 0.01 do
  850. angleSpeed = 1
  851. axisSpeed = 1
  852. change = 0.5
  853. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.15)
  854. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  855. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2),
  856.  
  857. 0.15)
  858. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2),
  859.  
  860. 0.15)
  861. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  862. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.05 + math.sin(sine / 15) / 10) * c_angles(math.rad(-5) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  863. swait()
  864. end
  865. LEye:Destroy()
  866. REye:Destroy()
  867. Shades.Transparency = 1
  868. local Decoy = Instance.new("Part", Right_Arm)
  869. Decoy.Name = "Decoy"
  870. Decoy.Shape = Enum.PartType.Block
  871. Decoy.CanCollide = false
  872. Decoy.BrickColor = BrickColor.new("Medium stone grey")
  873. Decoy.Transparency = 0
  874. Decoy.Material = "Grass"
  875. Decoy.Size = Vector3.new(1, 0.35, 1)
  876. Decoy.TopSurface = Enum.SurfaceType.Smooth
  877. Decoy.BottomSurface = Enum.SurfaceType.Smooth
  878. local DecoyWeld = Instance.new("Weld", Decoy)
  879. DecoyWeld.Part0 = Right_Arm
  880. DecoyWeld.Part1 = Decoy
  881. DecoyWeld.C1 = CFrame.new(0, 0, 1.2) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(0), 0)
  882. local DecoyMesh = Instance.new("FileMesh", Decoy)
  883. DecoyMesh.MeshId = "http://www.roblox.com/asset/?id=51177557"
  884. DecoyMesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  885. DecoyMesh.Scale = Vector3.new(1, 1, 1)
  886. S = Instance.new("Sound")
  887. S.Parent = Character.Torso
  888. S.SoundId = "rbxassetid://1146552988"
  889. S.Volume = 10
  890. S.Looped = false
  891. S.Pitch = 1
  892. S:Play()
  893. for i = 0, 0.3, 0.01 do
  894. angleSpeed = 1
  895. axisSpeed = 5
  896. change = 0.5
  897. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, 0) * c_angles(math.rad(140), math.rad(0), math.rad(-30)), 0.15)
  898. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  899. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  900. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  901. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  902. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  903. swait()
  904. end
  905. wait(0.25)
  906. Head.face.Texture = "rbxassetid://1895698679"
  907. DecoyWeld:Destroy()
  908. local Decoyed = Instance.new("BodyPosition", Decoy)
  909. Decoyed.D = 100
  910. Decoyed.P = 2000
  911. Decoyed.MaxForce = Vector3.new(4000000, 4000000, 4000000)
  912. Decoyed.Position = hit.Parent:findFirstChild("Head").Position
  913. for i = 0, 0.1, 0.01 do
  914. angleSpeed = 1
  915. axisSpeed = 1
  916. change = 0.5
  917. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.4) * c_angles(math.rad(90), math.rad(0), math.rad(0)), 0.15)
  918. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  919. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  920. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  921. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  922. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  923. swait()
  924. end
  925. hit.Parent:findFirstChild("HumanoidRootPart").Anchored = true
  926. local DecoyWeld2 = Instance.new("Weld", Decoy)
  927. DecoyWeld2.Part0 = hit.Parent:findFirstChild("Head")
  928. DecoyWeld2.Part1 = Decoy
  929. DecoyWeld2.C1 = CFrame.new(0, -0.2, 0.15)
  930. wait(0.5)
  931. GYRO:Destroy()
  932. Decoyed:Destroy()
  933. Decoy.CanCollide = true
  934. Trace()
  935. Head.face.Texture = "rbxassetid://1895670162"
  936. rootPart.CFrame = hit.Parent:findFirstChild("HumanoidRootPart").CFrame
  937. rootPart.CFrame = rootPart.CFrame + hit.Parent:findFirstChild("HumanoidRootPart").CFrame.lookVector * 2
  938. rootPart.CFrame = rootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
  939. local grab
  940. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  941. if v:FindFirstChild("HumanoidRootPart") then
  942. Grabbed = true
  943. S = Instance.new("Sound")
  944. S.Parent = Character.Torso
  945. S.SoundId = "rbxassetid://260430060"
  946. S.Volume = 10
  947. S.Looped = false
  948. S.Pitch = 1
  949. S:Play()
  950. grab = v
  951. end
  952. end
  953. for i = 0, 1, 0.05 do
  954. swait()
  955. if Grabbed == true then
  956. grab.Humanoid.PlatformStand = true
  957. grab.HumanoidRootPart.Anchored = true
  958. grab.HumanoidRootPart.CFrame = g.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(150))
  959. end
  960. angleSpeed = 1
  961. axisSpeed = 1
  962. change = 0.5
  963. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(140), math.rad(0), math.rad(30)), 0.15)
  964. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  965. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  966. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  967. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  968. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(-45), math.rad(20)), 0.15)
  969. end
  970. S = Instance.new("Sound")
  971. S.Parent = Character.Torso
  972. quote = math.random(1, 3)
  973. if quote == 1 then
  974. S.SoundId = "rbxassetid://1146553663"
  975. elseif quote == 2 then
  976. S.SoundId = "rbxassetid://1278017490"
  977. elseif quote == 3 then
  978. S.SoundId = "rbxassetid://0"
  979. end
  980. S.Volume = 10
  981. S.Looped = false
  982. S.Pitch = 1
  983. S:Play()
  984. q = Instance.new("ParticleEmitter", grab.HumanoidRootPart)
  985. q.Rate = 500
  986. q.Speed = NumberRange.new(7)
  987. q.VelocitySpread = 40
  988. q.Lifetime = NumberRange.new(0.1, 1)
  989. q.Texture = "rbxassetid://291880914"
  990. q.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  991. q.Acceleration = Vector3.new(0, -50, 0)
  992. q.Size = NumberSequence.new({
  993. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  994. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  995. })
  996. q.RotSpeed = NumberRange.new(-180, 180)
  997. q.Rotation = NumberRange.new(-360, 360)
  998. q.Transparency = NumberSequence.new({
  999. NumberSequenceKeypoint.new(0, 1),
  1000. NumberSequenceKeypoint.new(0.2, 0),
  1001. NumberSequenceKeypoint.new(0.8, 0),
  1002. NumberSequenceKeypoint.new(1, 1)
  1003. })
  1004. S = Instance.new("Sound")
  1005. S.Parent = Character.Torso
  1006. S.SoundId = "rbxassetid://206082327"
  1007. S.Volume = 10
  1008. S.Looped = false
  1009. S.Pitch = 0.8
  1010. S:Play()
  1011. grab.HumanoidRootPart.Anchored = false
  1012. wait(0.2)
  1013. local Decoy = Instance.new("Part", Right_Arm)
  1014. Decoy.Name = "Decoy"
  1015. Decoy.Shape = Enum.PartType.Block
  1016. Decoy.CanCollide = false
  1017. Decoy.BrickColor = BrickColor.new("Medium stone grey")
  1018. Decoy.Transparency = 0
  1019. Decoy.Material = "Grass"
  1020. Decoy.Size = Vector3.new(1, 0.35, 1)
  1021. Decoy.TopSurface = Enum.SurfaceType.Smooth
  1022. Decoy.BottomSurface = Enum.SurfaceType.Smooth
  1023. local DecoyWeld = Instance.new("Weld", Decoy)
  1024. DecoyWeld.Part0 = Right_Arm
  1025. DecoyWeld.Part1 = Decoy
  1026. DecoyWeld.C1 = CFrame.new(0, 0, 1.2) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(0), 0)
  1027. local DecoyMesh = Instance.new("FileMesh", Decoy)
  1028. DecoyMesh.MeshId = "http://www.roblox.com/asset/?id=51177557"
  1029. DecoyMesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  1030. DecoyMesh.Scale = Vector3.new(1, 1, 1)
  1031. for i = 0, 0.1, 0.01 do
  1032. angleSpeed = 1
  1033. axisSpeed = 5
  1034. change = 0.5
  1035. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, 0) * c_angles(math.rad(140), math.rad(0), math.rad(-30)), 0.15)
  1036. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  1037. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1038. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1039. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1040. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1041. swait()
  1042. end
  1043. Decoy:Destroy()
  1044. Head.face.Texture = "rbxassetid://1895706696"
  1045. wait()
  1046. local LEye = Part("LEye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  1047. Mesh = Instance.new("SpecialMesh", LEye)
  1048. Mesh.MeshType = "Sphere"
  1049. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  1050. Mesh.Offset = Vector3.new(-0.2, 0.2, -0.6)
  1051. newWeld(Head, LEye, 0, 0, 0)
  1052. local LEGlow = Instance.new("SurfaceLight")
  1053. LEGlow.Color = Color3.fromRGB(255, 0, 0)
  1054. LEGlow.Range = 6
  1055. LEGlow.Brightness = 10
  1056. LEGlow.Parent = LEye
  1057. local REye = Part("REye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  1058. Mesh = Instance.new("SpecialMesh", REye)
  1059. Mesh.MeshType = "Sphere"
  1060. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  1061. Mesh.Offset = Vector3.new(0.2, 0.2, -0.6)
  1062. newWeld(Head, REye, 0, 0, 0)
  1063. local REGlow = Instance.new("SurfaceLight")
  1064. REGlow.Color = Color3.fromRGB(255, 0, 0)
  1065. REGlow.Range = 6
  1066. REGlow.Brightness = 10
  1067. REGlow.Parent = REye
  1068. Shades.Transparency = 0
  1069. attack2 = false
  1070. Animations = false
  1071. grab.Humanoid.MaxHealth = 0
  1072. grab.Humanoid.Health = 0
  1073. Right_Arm:findFirstChild("Decoy"):Destroy()
  1074. wait(0.5)
  1075. for i = 1, 10 do
  1076. LEye.Transparency = LEye.Transparency + 0.1
  1077. REye.Transparency = REye.Transparency + 0.1
  1078. LEGlow.Brightness = LEGlow.Brightness - 1
  1079. REGlow.Brightness = REGlow.Brightness - 1
  1080. wait()
  1081. end
  1082. Head.face.Texture = "rbxassetid://315622231"
  1083. LEye:Destroy()
  1084. REye:Destroy()
  1085. attack = false
  1086. else
  1087. rootPart.Anchored = false
  1088. attack = false
  1089. Animations = false
  1090. end
  1091. else
  1092. rootPart.Anchored = false
  1093. attack = false
  1094. Animations = false
  1095. return
  1096. end
  1097. end
  1098. function Squeeze()
  1099. gweld.C0 = CFrame.new(0, 3.6, 0)
  1100. local hit = mouse.Target
  1101. if hit ~= nil then
  1102. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1103. local torsy
  1104. if hit.Parent:FindFirstChild("Torso") ~= nil then
  1105. torsy = hit.Parent.Torso
  1106. end
  1107. if 0 >= hit.Parent:FindFirstChild("Humanoid").Health then
  1108. return
  1109. end
  1110. for i, v in pairs(hit.Parent:children()) do
  1111. if v:IsA("Part") and not v.Name == "HumanoidRootPart" then
  1112. return
  1113. end
  1114. end
  1115. attack = true
  1116. attack2 = true
  1117. Animations = true
  1118. Head.face.Texture = "rbxassetid://1895706696"
  1119. local GYRO = Instance.new("BodyGyro", rootPart)
  1120. GYRO.D = 175
  1121. GYRO.P = 20000
  1122. GYRO.MaxTorque = Vector3.new(0, 4000000, 0)
  1123. GYRO.CFrame = CFrame.new(rootPart.Position, hit.Parent:findFirstChild("HumanoidRootPart").Position)
  1124. hit.Parent:findFirstChild("HumanoidRootPart").Anchored = true
  1125. GYRO:Destroy()
  1126. Trace()
  1127. Head.face.Texture = "rbxassetid://1895670162"
  1128. rootPart.CFrame = hit.Parent:findFirstChild("HumanoidRootPart").CFrame
  1129. rootPart.CFrame = rootPart.CFrame + hit.Parent:findFirstChild("HumanoidRootPart").CFrame.lookVector * 6
  1130. rootPart.CFrame = rootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
  1131. local grab
  1132. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  1133. if v:FindFirstChild("HumanoidRootPart") then
  1134. Grabbed = true
  1135. S = Instance.new("Sound")
  1136. S.Parent = Character.Torso
  1137. S.SoundId = "rbxassetid://260430060"
  1138. S.Volume = 10
  1139. S.Looped = false
  1140. S.Pitch = 1
  1141. S:Play()
  1142. grab = v
  1143. end
  1144. end
  1145. S = Instance.new("Sound")
  1146. S.Parent = Character.Torso
  1147. quote = math.random(1, 3)
  1148. if quote == 1 then
  1149. S.SoundId = "rbxassetid://626909112"
  1150. elseif quote == 2 then
  1151. S.SoundId = "rbxassetid://179760759"
  1152. elseif quote == 3 then
  1153. S.SoundId = "rbxassetid://573395427"
  1154. end
  1155. S.Volume = 10
  1156. S.Looped = false
  1157. S.Pitch = 0.2
  1158. S:Play()
  1159. for i = 0, 3, 0.05 do
  1160. swait()
  1161. if Grabbed == true then
  1162. grab.Humanoid.PlatformStand = true
  1163. grab.HumanoidRootPart.Anchored = true
  1164. grab.HumanoidRootPart.CFrame = g.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(150))
  1165. end
  1166. angleSpeed = 1
  1167. axisSpeed = 1
  1168. change = 0.5
  1169. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5 + math.sin(sine / 0.1) / 4, 0.5, 0 + math.sin(sine / 0.1) / 4) * c_angles(math.rad(140), math.rad(0), math.rad(30)), 0.15)
  1170. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  1171. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  1172. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  1173. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  1174. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(-40), math.rad(0)), 0.15)
  1175. end
  1176. grab.Torso:Destroy()
  1177. q = Instance.new("ParticleEmitter", grab.HumanoidRootPart)
  1178. q.Rate = 1000
  1179. q.Speed = NumberRange.new(7)
  1180. q.VelocitySpread = 40
  1181. q.Lifetime = NumberRange.new(0.1, 1)
  1182. q.Texture = "rbxassetid://291880914"
  1183. q.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  1184. q.Acceleration = Vector3.new(0, -50, 0)
  1185. q.Size = NumberSequence.new({
  1186. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  1187. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  1188. })
  1189. q.RotSpeed = NumberRange.new(-180, 180)
  1190. q.Rotation = NumberRange.new(-360, 360)
  1191. q.Transparency = NumberSequence.new({
  1192. NumberSequenceKeypoint.new(0, 1),
  1193. NumberSequenceKeypoint.new(0.2, 0),
  1194. NumberSequenceKeypoint.new(0.8, 0),
  1195. NumberSequenceKeypoint.new(1, 1)
  1196. })
  1197. S = Instance.new("Sound")
  1198. S.Parent = Character.Torso
  1199. S.SoundId = "rbxassetid://206082327"
  1200. S.Volume = 10
  1201. S.Looped = false
  1202. S.Pitch = 0.8
  1203. S:Play()
  1204. grab.HumanoidRootPart.Anchored = false
  1205. Head.face.Texture = "rbxassetid://1895706696"
  1206. attack2 = false
  1207. Animations = false
  1208. grab.Humanoid.MaxHealth = 0
  1209. grab.Humanoid.Health = 0
  1210. wait(0.5)
  1211. attack = false
  1212. else
  1213. rootPart.Anchored = false
  1214. attack = false
  1215. Animations = false
  1216. end
  1217. else
  1218. rootPart.Anchored = false
  1219. attack = false
  1220. Animations = false
  1221. return
  1222. end
  1223. end
  1224. function Rock()
  1225. gweld.C0 = CFrame.new(0, 7, 0)
  1226. local hit = mouse.Target
  1227. if hit ~= nil then
  1228. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1229. do
  1230. local torsy
  1231. if hit.Parent:FindFirstChild("Torso") ~= nil then
  1232. torsy = hit.Parent.Torso
  1233. end
  1234. if 0 >= hit.Parent:FindFirstChild("Humanoid").Health then
  1235. return
  1236. end
  1237. for i, v in pairs(hit.Parent:children()) do
  1238. if v:IsA("Part") and not v.Name == "HumanoidRootPart" then
  1239. return
  1240. end
  1241. end
  1242. attack = true
  1243. attack2 = true
  1244. Animations = true
  1245. Head.face.Texture = "rbxassetid://1895706696"
  1246. local GYRO = Instance.new("BodyGyro", rootPart)
  1247. GYRO.D = 175
  1248. GYRO.P = 20000
  1249. GYRO.MaxTorque = Vector3.new(0, 4000000, 0)
  1250. GYRO.CFrame = CFrame.new(rootPart.Position, hit.Parent:findFirstChild("HumanoidRootPart").Position)
  1251. hit.Parent:findFirstChild("HumanoidRootPart").Anchored = true
  1252. local Rock = Instance.new("Part", g)
  1253. Rock.Name = "Rock"
  1254. Rock.Shape = Enum.PartType.Block
  1255. Rock.CanCollide = false
  1256. Rock.BrickColor = BrickColor.new("Medium stone grey")
  1257. Rock.Transparency = 0
  1258. Rock.Material = "Grass"
  1259. Rock.Size = Vector3.new(0.1, 0.1, 0.1)
  1260. Rock.CustomPhysicalProperties = PhysicalProperties.new(2.691, 0.4, 0.2, 1, 1)
  1261. Rock.TopSurface = Enum.SurfaceType.Smooth
  1262. Rock.BottomSurface = Enum.SurfaceType.Smooth
  1263. local RockWeld = Instance.new("Weld", Rock)
  1264. RockWeld.Part0 = g
  1265. RockWeld.Part1 = Rock
  1266. RockWeld.C1 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(0), 0)
  1267. local RockMesh = Instance.new("FileMesh", Rock)
  1268. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1269. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  1270. RockMesh.Scale = Vector3.new(3, 3, 3)
  1271. for i = 0, 0.2, 0.01 do
  1272. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
  1273. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  1274. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1275. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1276. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1277. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1278. end
  1279. for i = 0, 0.2, 0.01 do
  1280. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(20)), 0.1)
  1281. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  1282. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  1283. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  1284. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  1285. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  1286. swait()
  1287. end
  1288. Head.face.Texture = "rbxassetid://1895670162"
  1289. S = Instance.new("Sound")
  1290. S.Parent = Character.Torso
  1291. S.SoundId = "rbxassetid://1278006076"
  1292. S.Volume = 10
  1293. S.Looped = false
  1294. S.Pitch = 1
  1295. S:Play()
  1296. for i = 0, 0.05, 0.01 do
  1297. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(20)), 0.15)
  1298. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  1299. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1300. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1301. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1302. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  1303. swait()
  1304. end
  1305. local Rocked = Instance.new("BodyPosition", Rock)
  1306. Rocked.D = 100
  1307. Rocked.P = 2000
  1308. Rocked.MaxForce = Vector3.new(4000000, 4000000, 4000000)
  1309. Rocked.Position = hit.Parent:findFirstChild("HumanoidRootPart").Position
  1310. RockWeld:Destroy()
  1311. for i = 0, 0.01, 0.01 do
  1312. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0, -0.5) * c_angles(math.rad(25), math.rad(0), math.rad(20)), 0.15)
  1313. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  1314. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1315. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1316. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1317. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  1318. swait()
  1319. end
  1320. Spawn(function()
  1321. wait(10)
  1322. for i = 1, 10 do
  1323. Rock.Transparency = Rock.Transparency + 0.1
  1324. swait()
  1325. end
  1326. Rock:Destroy()
  1327. end)
  1328. wait(0.1)
  1329. GYRO:Destroy()
  1330. Rocked:Destroy()
  1331. Trace()
  1332. Head.face.Texture = "rbxassetid://1895670162"
  1333. local grab
  1334. for i, v in pairs(FindNearestTorso(Rock.CFrame.p, 15)) do
  1335. if v:FindFirstChild("HumanoidRootPart") then
  1336. Grabbed = true
  1337. S = Instance.new("Sound")
  1338. S.Parent = Character.Torso
  1339. S.SoundId = "rbxassetid://260430060"
  1340. S.Volume = 10
  1341. S.Looped = false
  1342. S.Pitch = 1
  1343. S:Play()
  1344. grab = v
  1345. Rock.Size = Vector3.new(3, 3, 3)
  1346. Rock.CanCollide = true
  1347. else
  1348. rootPart.Anchored = false
  1349. attack = false
  1350. Animations = false
  1351. return
  1352. end
  1353. end
  1354. if 0 >= grab:FindFirstChild("Humanoid").Health then
  1355. rootPart.Anchored = false
  1356. attack = false
  1357. Animations = false
  1358. return
  1359. end
  1360. S = Instance.new("Sound")
  1361. S.Parent = Character.Torso
  1362. quote = math.random(1, 3)
  1363. if quote == 1 then
  1364. S.SoundId = "rbxassetid://626909112"
  1365. elseif quote == 2 then
  1366. S.SoundId = "rbxassetid://179760759"
  1367. elseif quote == 3 then
  1368. S.SoundId = "rbxassetid://573395427"
  1369. end
  1370. S.Volume = 10
  1371. S.Looped = false
  1372. S.Pitch = 1
  1373. S:Play()
  1374. grab:FindFirstChild("Head").Size = Vector3.new(2, 1, 0)
  1375. grab:FindFirstChild("Torso").Size = Vector3.new(2, 2, 0)
  1376. grab:FindFirstChild("Right Arm").Size = Vector3.new(1, 2, 0)
  1377. grab:FindFirstChild("Left Arm").Size = Vector3.new(1, 2, 0)
  1378. grab:FindFirstChild("Right Leg").Size = Vector3.new(1, 2, 0)
  1379. grab:FindFirstChild("Left Leg").Size = Vector3.new(1, 2, 0)
  1380. q = Instance.new("ParticleEmitter", grab:FindFirstChild("HumanoidRootPart"))
  1381. q.Rate = 1000
  1382. q.Speed = NumberRange.new(7)
  1383. q.VelocitySpread = 40
  1384. q.Lifetime = NumberRange.new(0.1, 1)
  1385. q.Texture = "rbxassetid://291880914"
  1386. q.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  1387. q.Acceleration = Vector3.new(0, -50, 0)
  1388. q.Size = NumberSequence.new({
  1389. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  1390. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  1391. })
  1392. q.RotSpeed = NumberRange.new(-180, 180)
  1393. q.Rotation = NumberRange.new(-360, 360)
  1394. q.Transparency = NumberSequence.new({
  1395. NumberSequenceKeypoint.new(0, 1),
  1396. NumberSequenceKeypoint.new(0.2, 0),
  1397. NumberSequenceKeypoint.new(0.8, 0),
  1398. NumberSequenceKeypoint.new(1, 1)
  1399. })
  1400. S = Instance.new("Sound")
  1401. S.Parent = Character.Torso
  1402. S.SoundId = "rbxassetid://206082327"
  1403. S.Volume = 10
  1404. S.Looped = false
  1405. S.Pitch = 0.8
  1406. S:Play()
  1407. grab:FindFirstChild("HumanoidRootPart").Anchored = false
  1408. Head.face.Texture = "rbxassetid://1895706696"
  1409. attack2 = false
  1410. Animations = false
  1411. grab:FindFirstChild("Humanoid").MaxHealth = 0
  1412. grab:FindFirstChild("Humanoid").Health = 0
  1413. wait(0.5)
  1414. rootPart.Anchored = false
  1415. attack = false
  1416. end
  1417. else
  1418. rootPart.Anchored = false
  1419. attack = false
  1420. Animations = false
  1421. end
  1422. else
  1423. rootPart.Anchored = false
  1424. attack = false
  1425. Animations = false
  1426. return
  1427. end
  1428. end
  1429. mouse.KeyUp:connect(function(key)
  1430. if key == "r" and attack == false and crouching == false then
  1431. if transformed == false then
  1432. Throw(mouse)
  1433. elseif transformed == true then
  1434. Squeeze(mouse)
  1435. end
  1436. end
  1437. end)
  1438. GunPoint = Instance.new("BodyGyro")
  1439. GunPoint.Parent = nil
  1440. GunPoint.D = 175
  1441. GunPoint.P = 20000
  1442. GunPoint.MaxTorque = Vector3.new(0, 4000000, 0)
  1443. Fire = Instance.new("ParticleEmitter", BE)
  1444. Fire.Name = "Light"
  1445. Fire.VelocitySpread = 0
  1446. Fire.Lifetime = NumberRange.new(0.1)
  1447. Fire.Speed = NumberRange.new(0)
  1448. Fire.Size = NumberSequence.new({
  1449. NumberSequenceKeypoint.new(0, 1, 0),
  1450. NumberSequenceKeypoint.new(1, 0, 0)
  1451. })
  1452. Fire.Transparency = NumberSequence.new({
  1453. NumberSequenceKeypoint.new(0, 0),
  1454. NumberSequenceKeypoint.new(1, 0)
  1455. })
  1456. Fire.LightEmission = 0.8
  1457. Fire.LockedToPart = true
  1458. Fire.Rotation = NumberRange.new(-360, 360)
  1459. Fire.RotSpeed = NumberRange.new(-360, 360)
  1460. Fire.Texture = "http://www.roblox.com/asset/?id=248625108"
  1461. Fire.Color = ColorSequence.new(Color3.fromRGB(255, 105, 19), Color3.fromRGB(255, 255, 127))
  1462. Fire.Rate = 300
  1463. Fire.Enabled = false
  1464. local Scale = game.Players.LocalPlayer.Character.Torso.Size.X / 2 * (game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1) * 0.8
  1465. AnimFSpd = 0.2
  1466. local gun = false
  1467. local shoot = false
  1468. local putback = false
  1469. function Gunfire()
  1470. attack = true
  1471. attack2 = true
  1472. Animations = true
  1473. wait()
  1474. gun = true
  1475. S = Instance.new("Sound")
  1476. S.Parent = BE
  1477. S.SoundId = "rbxassetid://1684717155"
  1478. S.Volume = 6
  1479. S.Looped = false
  1480. S.Pitch = 1
  1481. S:Play()
  1482. GunModel.Transparency = 0
  1483. GunPoint.Parent = rootPart
  1484. while gun == true do
  1485. swait()
  1486. if currentAnim == "Idling" then
  1487. for i = 0, 0.01, 0.01 do
  1488. angleSpeed = 1
  1489. axisSpeed = 1
  1490. change = 0.5
  1491. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  1492. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(80)), AnimFSpd)
  1493. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), AnimFSpd)
  1494. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  1495. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  1496. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(80) + math.sin(rootPart.RotVelocity.Y / 30) / 2, math.rad(0)), AnimFSpd)
  1497. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), AnimFSpd)
  1498. end
  1499. elseif currentAnim == "Falling" then
  1500. for i = 0, 0.01, 0.01 do
  1501. angleSpeed = 1
  1502. axisSpeed = 1
  1503. change = 0.5
  1504. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  1505. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), 0.15)
  1506. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.5, 0.5, -0.5) * c_angles(math.rad(100), math.rad(0), math.rad(45)), 0.15)
  1507. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  1508. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  1509. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  1510. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  1511. end
  1512. end
  1513. if putback == true then
  1514. S = Instance.new("Sound")
  1515. S.Parent = BE
  1516. S.SoundId = "rbxassetid://294710932"
  1517. S.Volume = 10
  1518. S.Looped = false
  1519. S.Pitch = 1
  1520. S:Play()
  1521. putback = false
  1522. shoot = false
  1523. gun = false
  1524. GunPoint.Parent = nil
  1525. Animations = false
  1526. GunModel.Transparency = 1
  1527. attack2 = false
  1528. attack = false
  1529. end
  1530. if shoot == true then
  1531. S = Instance.new("Sound")
  1532. S.Parent = BE
  1533. S.SoundId = "rbxassetid://1045539607"
  1534. S.Volume = 10
  1535. S.Looped = false
  1536. S.Pitch = 1
  1537. S:Play()
  1538. Fire.Enabled = true
  1539. BulletDetection(BE.Position, Mouse.Hit.Position, false)
  1540. swait(1)
  1541. Fire.Enabled = false
  1542. do
  1543. local Shell = Instance.new("Part", game.Workspace)
  1544. Shell.FormFactor = "Custom"
  1545. Shell.BrickColor = BrickColor.new("Bright yellow")
  1546. Shell.Material = "Metal"
  1547. Shell.CanCollide = true
  1548. Shell.CustomPhysicalProperties = PhysicalProperties.new(0.2, 3, 1, 1, 1)
  1549. Shell.Size = Vector3.new(0.15, 0.3, 0.15) * Scale
  1550. Shell.CFrame = BEX.CFrame * CFrame.new(0.5, 0.5, 0) * CFrame.Angles(math.rad(-90), 0, 0)
  1551. Shell.Velocity = ((BEX.CFrame * CFrame.new(-5, 0, math.random(-2, 2))).p - BEX.CFrame.p) * 5 * Scale
  1552. local Mesh = Instance.new("CylinderMesh", Shell)
  1553. Mesh.Scale = Vector3.new(0.15, 0.3, 0.15) * Scale / Shell.Size
  1554. Spawn(function()
  1555. wait(0.1)
  1556. for i = 1, 10 do
  1557. Shell.Transparency = Shell.Transparency + 0.1
  1558. swait()
  1559. end
  1560. Shell:Destroy()
  1561. end)
  1562. if currentAnim == "Idling" then
  1563. for i = 0, 0.05, 0.01 do
  1564. angleSpeed = 1
  1565. axisSpeed = 1
  1566. change = 0.5
  1567. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  1568. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(10), math.rad(85)), AnimFSpd)
  1569. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(35)), AnimFSpd)
  1570. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(-5), math.rad(0)), AnimFSpd)
  1571. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(-5), math.rad(0)), AnimFSpd)
  1572. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(85), math.rad(0)), AnimFSpd)
  1573. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(-85), math.rad(20)), AnimFSpd)
  1574. swait()
  1575. end
  1576. for i = 0, 0.05, 0.01 do
  1577. angleSpeed = 1
  1578. axisSpeed = 1
  1579. change = 0.5
  1580. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  1581. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(80)), AnimFSpd)
  1582. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), AnimFSpd)
  1583. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  1584. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  1585. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(80), math.rad(0)), AnimFSpd)
  1586. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), AnimFSpd)
  1587. swait()
  1588. end
  1589. elseif currentAnim == "Falling" then
  1590. for i = 0, 0.05, 0.01 do
  1591. angleSpeed = 1
  1592. axisSpeed = 1
  1593. change = 0.5
  1594. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  1595. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, 0) * c_angles(math.rad(105), math.rad(0), math.rad(0)), AnimFSpd)
  1596. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.5, 0.5, -0.5) * c_angles(math.rad(105), math.rad(0), math.rad(45)), AnimFSpd)
  1597. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  1598. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), AnimFSpd)
  1599. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  1600. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(0), math.rad(0)), AnimFSpd)
  1601. end
  1602. for i = 0, 0.05, 0.01 do
  1603. angleSpeed = 1
  1604. axisSpeed = 1
  1605. change = 0.5
  1606. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  1607. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), AnimFSpd)
  1608. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.5, 0.5, -0.5) * c_angles(math.rad(100), math.rad(0), math.rad(45)), AnimFSpd)
  1609. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  1610. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), AnimFSpd)
  1611. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  1612. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), AnimFSpd)
  1613. swait()
  1614. end
  1615. end
  1616. shoot = false
  1617. end
  1618. end
  1619. end
  1620. GunModel.Transparency = 1
  1621. GunPoint.Parent = nil
  1622. Animations = false
  1623. attack2 = false
  1624. attack = false
  1625. end
  1626. mouse.KeyUp:connect(function(key)
  1627. if key == "f" and attack == false and crouching == false then
  1628. if transformed == false and transformed2 == false then
  1629. Gunfire()
  1630. elseif transformed == true and transformed2 == true then
  1631. Rock(mouse)
  1632. end
  1633. end
  1634. end)
  1635. mouse.KeyUp:connect(function(key)
  1636. if key == "f" and gun == true and crouching == false then
  1637. putback = true
  1638. end
  1639. end)
  1640. function UpperCut()
  1641. attack = true
  1642. attack2 = true
  1643. Animations = true
  1644. crouching = false
  1645. local rng2 = Instance.new("Part", game.Workspace)
  1646. rng2.Anchored = true
  1647. rng2.BrickColor = BrickColor.new("Really black")
  1648. rng2.CanCollide = false
  1649. rng2.FormFactor = 3
  1650. rng2.Name = "Ring"
  1651. rng2.Size = Vector3.new(1, 1, 1)
  1652. rng2.Transparency = 0.35
  1653. rng2.TopSurface = 0
  1654. rng2.BottomSurface = 0
  1655. rng2.CFrame = rng2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(180))
  1656. rng2.Position = rootPart.Position - Vector3.new(0, -6, 1)
  1657. local rngm2 = Instance.new("SpecialMesh", rng2)
  1658. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1659. rngm2.Scale = Vector3.new(3, 0, 3)
  1660. Spawn(function()
  1661. for i = 1, 60, 2 do
  1662. rngm2.Scale = Vector3.new(3 + i * 0.3, 10 - i * 0.1, 3 + i * 0.3)
  1663. rng2.Transparency = i / 30
  1664. wait()
  1665. end
  1666. wait()
  1667. rng2:Destroy()
  1668. end)
  1669. S = Instance.new("Sound")
  1670. S.Parent = rootPart
  1671. S.SoundId = "rbxassetid://2767090"
  1672. S.Volume = 10
  1673. S.Looped = false
  1674. S.Pitch = 0.8
  1675. S:Play()
  1676. S = Instance.new("Sound")
  1677. S.Parent = Character.Torso
  1678. S.SoundId = "rbxassetid://1146552988"
  1679. S.Volume = 10
  1680. S.Looped = false
  1681. S.Pitch = 1
  1682. S.TimePosition = 0.4
  1683. S:Play()
  1684. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 14)) do
  1685. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  1686. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(10, 15)
  1687. v:FindFirstChild("Humanoid").PlatformStand = false
  1688. v:FindFirstChild("HumanoidRootPart").Velocity = v:FindFirstChild("HumanoidRootPart").CFrame.upVector * 165
  1689. else
  1690. end
  1691. end
  1692. if transformed == false then
  1693. for i = 0, 0.05, 0.01 do
  1694. angleSpeed = 1
  1695. axisSpeed = 1
  1696. change = 0.5
  1697. Trace()
  1698. rootPart.CFrame = rootPart.CFrame * CFrame.new(0, 2, 0)
  1699. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), 0.4)
  1700. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-20)), 0.4)
  1701. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  1702. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1703. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1704. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1705. swait()
  1706. end
  1707. for i = 0, 0.2, 0.01 do
  1708. angleSpeed = 1
  1709. axisSpeed = 1
  1710. change = 0.5
  1711. Trace()
  1712. rootPart.Velocity = rootPart.CFrame.upVector * 100
  1713. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(170), math.rad(0), math.rad(0)), 0.4)
  1714. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-20)), 0.4)
  1715. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  1716. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1717. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1718. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1719. swait()
  1720. end
  1721. elseif transformed == true then
  1722. for i = 0, 0.05, 0.01 do
  1723. angleSpeed = 1
  1724. axisSpeed = 1
  1725. change = 0.5
  1726. rootPart.CFrame = rootPart.CFrame * CFrame.new(0, 2, 0)
  1727. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1728. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), 0.4)
  1729. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  1730. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1731. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1732. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1733. swait()
  1734. end
  1735. for i = 0, 0.2, 0.01 do
  1736. angleSpeed = 1
  1737. axisSpeed = 1
  1738. change = 0.5
  1739. rootPart.Velocity = rootPart.CFrame.upVector * 100
  1740. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1741. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(170), math.rad(0), math.rad(0)), 0.4)
  1742. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  1743. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1744. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1745. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1746. swait()
  1747. end
  1748. end
  1749. Animations = false
  1750. attack2 = false
  1751. attack = false
  1752. end
  1753. crouching = false
  1754. mouse.KeyDown:connect(function(key)
  1755. if key == "c" and attack == false and crouching == false then
  1756. crouching = true
  1757. Animations = true
  1758. Trace()
  1759. while crouching == true do
  1760. if transformed == false then
  1761. angleSpeed = 1
  1762. axisSpeed = 1
  1763. change = 0.5
  1764. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(45)), 0.9)
  1765. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.2 + -math.sin(sine / 15) / 10, -1) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.9)
  1766. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.9)
  1767. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.9)
  1768. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.9)
  1769. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.9)
  1770. swait()
  1771. elseif transformed == true then
  1772. angleSpeed = 1
  1773. axisSpeed = 1
  1774. change = 0.5
  1775. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.2 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.9)
  1776. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + -math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(-45)), 0.9)
  1777. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.9)
  1778. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.9)
  1779. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.9)
  1780. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.9)
  1781. swait()
  1782. end
  1783. end
  1784. end
  1785. end)
  1786. mouse.KeyUp:connect(function(key)
  1787. if key == "c" and attack == false then
  1788. crouching = false
  1789. Animations = false
  1790. end
  1791. end)
  1792. function Laugh()
  1793. attack = true
  1794. attack2 = true
  1795. Animations = true
  1796. S = Instance.new("Sound")
  1797. S.Parent = rootPart
  1798. S.SoundId = "rbxassetid://1278007556"
  1799. S.Volume = 10
  1800. S.Looped = false
  1801. S.Pitch = 1
  1802. S:Play()
  1803. Head.face.Texture = "rbxassetid://853964940"
  1804. for i = 0, 0.2, 0.01 do
  1805. angleSpeed = 1
  1806. axisSpeed = 1
  1807. change = 0.5
  1808. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(5)), 0.15)
  1809. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  1810. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  1811. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  1812. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  1813. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-20) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  1814. swait()
  1815. end
  1816. Head.face.Texture = "rbxassetid://144873321"
  1817. for i = 0, 0.7, 0.01 do
  1818. angleSpeed = 1
  1819. axisSpeed = 1
  1820. change = 5
  1821. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(5)), 0.15)
  1822. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  1823. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  1824. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  1825. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  1826. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0 + math.sin(sine / 15) / 10) * c_angles(math.rad(15) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  1827. swait()
  1828. end
  1829. Head.face.Texture = "rbxassetid://315622231"
  1830. Animations = false
  1831. attack2 = false
  1832. attack = false
  1833. end
  1834. mouse.KeyDown:connect(function(key)
  1835. if key == "y" and attack == false and transformed == false then
  1836. Laugh()
  1837. end
  1838. end)
  1839. transformed = false
  1840. transformed2 = false
  1841. transforming = false
  1842. function Uroboros()
  1843. attack = true
  1844. attack2 = true
  1845. Animations = true
  1846. transforming = true
  1847. Theme.SoundId = "rbxassetid://856054316"
  1848. Theme.TimePosition = 0.8
  1849. Theme:Play()
  1850. for i = 0, 0.5, 0.01 do
  1851. angleSpeed = 1
  1852. axisSpeed = 1
  1853. change = 0.5
  1854. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.2 + math.sin(sine / 15) / 10, -1) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.15)
  1855. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + -math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(-45)), 0.15)
  1856. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.15)
  1857. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.15)
  1858. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.15)
  1859. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.15)
  1860. swait()
  1861. end
  1862. faceinfect = Instance.new("Decal", Head)
  1863. faceinfect.Name = "Uroboros"
  1864. faceinfect.Face = "Front"
  1865. faceinfect.Texture = "rbxassetid://1920646704"
  1866. local rng2 = Instance.new("Part", Character)
  1867. rng2.Anchored = true
  1868. rng2.BrickColor = BrickColor.new("Really black")
  1869. rng2.CanCollide = false
  1870. rng2.FormFactor = 3
  1871. rng2.Name = "Shockwave"
  1872. rng2.Size = Vector3.new(1, 1, 1)
  1873. rng2.Transparency = 0.35
  1874. rng2.TopSurface = 0
  1875. rng2.BottomSurface = 0
  1876. rng2.CFrame = rootPart.CFrame
  1877. local rngm2 = Instance.new("SpecialMesh", rng2)
  1878. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1879. rngm2.Scale = Vector3.new(1, 0, 1)
  1880. rngm2.Offset = Vector3.new(0, 0, -2)
  1881. Spawn(function()
  1882. for i = 1, 60, 2 do
  1883. rngm2.Scale = Vector3.new(1 + i * 0.3, 5 - i * 0.1, 1 + i * 0.3)
  1884. rng2.Transparency = i / 30
  1885. rng2.CFrame = rng2.CFrame - Vector3.new(0, 0.2, 0)
  1886. swait()
  1887. end
  1888. wait()
  1889. rng2:Destroy()
  1890. end)
  1891. local rng2 = Instance.new("Part", Character)
  1892. rng2.Anchored = true
  1893. rng2.BrickColor = BrickColor.new("Really black")
  1894. rng2.CanCollide = false
  1895. rng2.FormFactor = 3
  1896. rng2.Name = "Shockwave"
  1897. rng2.Size = Vector3.new(1, 1, 1)
  1898. rng2.Transparency = 0.35
  1899. rng2.TopSurface = 0
  1900. rng2.BottomSurface = 0
  1901. rng2.CFrame = rootPart.CFrame
  1902. local rngm2 = Instance.new("SpecialMesh", rng2)
  1903. rngm2.Scale = Vector3.new(1, 0, 1)
  1904. rngm2.Offset = Vector3.new(0, 0.5, -1)
  1905. rngm2.MeshType = "Sphere"
  1906. Spawn(function()
  1907. for i = 1, 60, 2 do
  1908. rngm2.Scale = Vector3.new(5 + i * 0.3, 5 + i * 0.3, 5 + i * 0.3)
  1909. rng2.Transparency = i / 60
  1910. swait()
  1911. end
  1912. wait()
  1913. rng2:Destroy()
  1914. end)
  1915. local RArm1 = Instance.new("Part", Right_Arm)
  1916. RArm1.Name = "Blade"
  1917. RArm1.Shape = Enum.PartType.Ball
  1918. RArm1.CanCollide = false
  1919. RArm1.BrickColor = BrickColor.new("Medium stone grey")
  1920. RArm1.Transparency = 0
  1921. RArm1.Material = "Grass"
  1922. RArm1.Size = Vector3.new(0.1, 0.1, 0.1)
  1923. RArm1.TopSurface = Enum.SurfaceType.Smooth
  1924. RArm1.BottomSurface = Enum.SurfaceType.Smooth
  1925. local RArm1Weld = Instance.new("Weld", RArm1)
  1926. RArm1Weld.Part0 = Right_Arm
  1927. RArm1Weld.Part1 = RArm1
  1928. RArm1Weld.C1 = CFrame.new(0.2, -1.3, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90), math.rad(10))
  1929. RArm1Mesh = Instance.new("FileMesh", RArm1)
  1930. RArm1Mesh.MeshId = "http://www.roblox.com/asset/?id=898849476"
  1931. RArm1Mesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  1932. RArm1Mesh.Scale = Vector3.new(0.007, 0.0035, 0.007)
  1933. local RArm2 = Instance.new("Part", Right_Arm)
  1934. RArm2.Name = "Blade"
  1935. RArm2.Shape = Enum.PartType.Ball
  1936. RArm2.CanCollide = false
  1937. RArm2.BrickColor = BrickColor.new("Medium stone grey")
  1938. RArm2.Transparency = 0
  1939. RArm2.Material = "Grass"
  1940. RArm2.Size = Vector3.new(0.1, 0.1, 0.1)
  1941. RArm2.TopSurface = Enum.SurfaceType.Smooth
  1942. RArm2.BottomSurface = Enum.SurfaceType.Smooth
  1943. local RArm2Weld = Instance.new("Weld", RArm2)
  1944. RArm2Weld.Part0 = Right_Arm
  1945. RArm2Weld.Part1 = RArm2
  1946. RArm2Weld.C1 = CFrame.new(-0.2, -1.5, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(-10))
  1947. RArm2Weld = Instance.new("FileMesh", RArm2)
  1948. RArm2Weld.MeshId = "http://www.roblox.com/asset/?id=898849476"
  1949. RArm2Weld.TextureId = "http://www.roblox.com/asset/?id=51177552"
  1950. RArm2Weld.Scale = Vector3.new(0.007, 0.0035, 0.007)
  1951. RArm2Mesh = Instance.new("FileMesh", RArm2)
  1952. RArm2Mesh.MeshId = "http://www.roblox.com/asset/?id=898849476"
  1953. RArm2Mesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  1954. RArm2Mesh.Scale = Vector3.new(0.007, 0.0035, 0.007)
  1955. local RArm3 = Instance.new("Part", Right_Arm)
  1956. RArm3.Name = "Metal"
  1957. RArm3.Shape = Enum.PartType.Ball
  1958. RArm3.CanCollide = false
  1959. RArm3.BrickColor = BrickColor.new("Really black")
  1960. RArm3.Transparency = 0
  1961. RArm3.Material = "DiamondPlate"
  1962. RArm3.Size = Vector3.new(0.1, 0.1, 0.1)
  1963. RArm3.TopSurface = Enum.SurfaceType.Smooth
  1964. RArm3.BottomSurface = Enum.SurfaceType.Smooth
  1965. local RArm3Weld = Instance.new("Weld", RArm3)
  1966. RArm3Weld.Part0 = Right_Arm
  1967. RArm3Weld.Part1 = RArm3
  1968. RArm3Weld.C1 = CFrame.new(0, -0.4, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  1969. RArm3Mesh = Instance.new("FileMesh", RArm3)
  1970. RArm3Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  1971. RArm3Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  1972. local RArm4 = Instance.new("Part", Right_Arm)
  1973. RArm4.Name = "Metal"
  1974. RArm4.Shape = Enum.PartType.Ball
  1975. RArm4.CanCollide = false
  1976. RArm4.BrickColor = BrickColor.new("Really black")
  1977. RArm4.Transparency = 0
  1978. RArm4.Material = "DiamondPlate"
  1979. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  1980. RArm4.TopSurface = Enum.SurfaceType.Smooth
  1981. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  1982. local RArm4Weld = Instance.new("Weld", RArm4)
  1983. RArm4Weld.Part0 = Right_Arm
  1984. RArm4Weld.Part1 = RArm4
  1985. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  1986. RArm4Mesh = Instance.new("FileMesh", RArm4)
  1987. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  1988. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  1989. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  1990. local RArm4 = Instance.new("Part", Right_Arm)
  1991. RArm4.Name = "Metal"
  1992. RArm4.Shape = Enum.PartType.Ball
  1993. RArm4.CanCollide = false
  1994. RArm4.BrickColor = BrickColor.new("Really black")
  1995. RArm4.Transparency = 0
  1996. RArm4.Material = "DiamondPlate"
  1997. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  1998. RArm4.TopSurface = Enum.SurfaceType.Smooth
  1999. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  2000. local RArm4Weld = Instance.new("Weld", RArm4)
  2001. RArm4Weld.Part0 = Right_Arm
  2002. RArm4Weld.Part1 = RArm4
  2003. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(-90), math.rad(0))
  2004. RArm4Mesh = Instance.new("FileMesh", RArm4)
  2005. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2006. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  2007. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  2008. local Tentacle = Instance.new("Part", Right_Arm)
  2009. Tentacle.Name = "Tentacle"
  2010. Tentacle.Shape = Enum.PartType.Ball
  2011. Tentacle.CanCollide = false
  2012. Tentacle.BrickColor = BrickColor.new("Really black")
  2013. Tentacle.Transparency = 0
  2014. Tentacle.Material = "DiamondPlate"
  2015. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2016. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2017. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2018. local TentacleWeld = Instance.new("Weld", Tentacle)
  2019. TentacleWeld.Part0 = Right_Arm
  2020. TentacleWeld.Part1 = Tentacle
  2021. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  2022. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2023. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2024. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2025. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2026. local Tentacle = Instance.new("Part", Right_Arm)
  2027. Tentacle.Name = "Tentacle"
  2028. Tentacle.Shape = Enum.PartType.Ball
  2029. Tentacle.CanCollide = false
  2030. Tentacle.BrickColor = BrickColor.new("Really black")
  2031. Tentacle.Transparency = 0
  2032. Tentacle.Material = "DiamondPlate"
  2033. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2034. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2035. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2036. local TentacleWeld = Instance.new("Weld", Tentacle)
  2037. TentacleWeld.Part0 = Right_Arm
  2038. TentacleWeld.Part1 = Tentacle
  2039. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(180))
  2040. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2041. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2042. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2043. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2044. local Tentacle = Instance.new("Part", Right_Arm)
  2045. Tentacle.Name = "Blade"
  2046. Tentacle.Shape = Enum.PartType.Ball
  2047. Tentacle.CanCollide = false
  2048. Tentacle.BrickColor = BrickColor.new("Really black")
  2049. Tentacle.Transparency = 0
  2050. Tentacle.Material = "DiamondPlate"
  2051. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2052. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2053. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2054. local TentacleWeld = Instance.new("Weld", Tentacle)
  2055. TentacleWeld.Part0 = Right_Arm
  2056. TentacleWeld.Part1 = Tentacle
  2057. TentacleWeld.C1 = CFrame.new(0, 0, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(100), math.rad(180))
  2058. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2059. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2060. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2061. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2062. local Tentacle = Instance.new("Part", Right_Arm)
  2063. Tentacle.Name = "Blade"
  2064. Tentacle.Shape = Enum.PartType.Ball
  2065. Tentacle.CanCollide = false
  2066. Tentacle.BrickColor = BrickColor.new("Really black")
  2067. Tentacle.Transparency = 0
  2068. Tentacle.Material = "DiamondPlate"
  2069. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2070. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2071. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2072. local TentacleWeld = Instance.new("Weld", Tentacle)
  2073. TentacleWeld.Part0 = Right_Arm
  2074. TentacleWeld.Part1 = Tentacle
  2075. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(-45), math.rad(180))
  2076. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2077. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2078. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2079. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2080. local Tors = Instance.new("Part", Character)
  2081. Tors.Name = "Toor"
  2082. Tors.CanCollide = false
  2083. Tors.BrickColor = BrickColor.new("Really black")
  2084. Tors.Transparency = 0
  2085. Tors.Material = "Metal"
  2086. Tors.Size = Vector3.new(0.1, 0.1, 0.1)
  2087. Tors.TopSurface = Enum.SurfaceType.Smooth
  2088. Tors.BottomSurface = Enum.SurfaceType.Smooth
  2089. local TorsWeld = Instance.new("Weld", Tors)
  2090. TorsWeld.Part0 = Torso
  2091. TorsWeld.Part1 = Tors
  2092. TorsWeld.C1 = CFrame.new(0, 0.44, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(180))
  2093. TMesh = Instance.new("SpecialMesh", Tors)
  2094. TMesh.Scale = Vector3.new(11.6, 11.6, 11.6)
  2095. TMesh.TextureId = "rbxassetid://74620702"
  2096. TMesh.MeshType = "Wedge"
  2097. local Tentacle = Instance.new("Part", Torso)
  2098. Tentacle.Name = "Blade"
  2099. Tentacle.Shape = Enum.PartType.Ball
  2100. Tentacle.CanCollide = false
  2101. Tentacle.BrickColor = BrickColor.new("Really black")
  2102. Tentacle.Transparency = 0
  2103. Tentacle.Material = "DiamondPlate"
  2104. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2105. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2106. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2107. local TentacleWeld = Instance.new("Weld", Tentacle)
  2108. TentacleWeld.Part0 = Torso
  2109. TentacleWeld.Part1 = Tentacle
  2110. TentacleWeld.C1 = CFrame.new(0.5, 0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90))
  2111. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2112. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2113. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2114. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2115. local Tentacle = Instance.new("Part", Torso)
  2116. Tentacle.Name = "Blade"
  2117. Tentacle.Shape = Enum.PartType.Ball
  2118. Tentacle.CanCollide = false
  2119. Tentacle.BrickColor = BrickColor.new("Really black")
  2120. Tentacle.Transparency = 0
  2121. Tentacle.Material = "DiamondPlate"
  2122. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2123. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2124. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2125. local TentacleWeld = Instance.new("Weld", Tentacle)
  2126. TentacleWeld.Part0 = Torso
  2127. TentacleWeld.Part1 = Tentacle
  2128. TentacleWeld.C1 = CFrame.new(0.5, 0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(45))
  2129. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2130. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2131. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2132. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2133. local Tentacle = Instance.new("Part", Torso)
  2134. Tentacle.Name = "Blade"
  2135. Tentacle.Shape = Enum.PartType.Ball
  2136. Tentacle.CanCollide = false
  2137. Tentacle.BrickColor = BrickColor.new("Really black")
  2138. Tentacle.Transparency = 0
  2139. Tentacle.Material = "DiamondPlate"
  2140. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2141. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2142. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2143. local TentacleWeld = Instance.new("Weld", Tentacle)
  2144. TentacleWeld.Part0 = Torso
  2145. TentacleWeld.Part1 = Tentacle
  2146. TentacleWeld.C1 = CFrame.new(0.6, 0.5, -0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(150))
  2147. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2148. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2149. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2150. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2151. local Tentacle = Instance.new("Part", Torso)
  2152. Tentacle.Name = "Blade"
  2153. Tentacle.Shape = Enum.PartType.Ball
  2154. Tentacle.CanCollide = false
  2155. Tentacle.BrickColor = BrickColor.new("Really black")
  2156. Tentacle.Transparency = 0
  2157. Tentacle.Material = "DiamondPlate"
  2158. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2159. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2160. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2161. local TentacleWeld = Instance.new("Weld", Tentacle)
  2162. TentacleWeld.Part0 = Torso
  2163. TentacleWeld.Part1 = Tentacle
  2164. TentacleWeld.C1 = CFrame.new(-0.8, 0.5, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(-90))
  2165. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2166. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2167. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2168. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2169. local Tentacle = Instance.new("Part", Torso)
  2170. Tentacle.Name = "Blade"
  2171. Tentacle.Shape = Enum.PartType.Ball
  2172. Tentacle.CanCollide = false
  2173. Tentacle.BrickColor = BrickColor.new("Really black")
  2174. Tentacle.Transparency = 0
  2175. Tentacle.Material = "DiamondPlate"
  2176. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2177. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2178. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2179. local TentacleWeld = Instance.new("Weld", Tentacle)
  2180. TentacleWeld.Part0 = Torso
  2181. TentacleWeld.Part1 = Tentacle
  2182. TentacleWeld.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  2183. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2184. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2185. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2186. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2187. local Tentacle = Instance.new("Part", Torso)
  2188. Tentacle.Name = "Blade"
  2189. Tentacle.Shape = Enum.PartType.Ball
  2190. Tentacle.CanCollide = false
  2191. Tentacle.BrickColor = BrickColor.new("Really black")
  2192. Tentacle.Transparency = 0
  2193. Tentacle.Material = "DiamondPlate"
  2194. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2195. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2196. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2197. local TentacleWeld = Instance.new("Weld", Tentacle)
  2198. TentacleWeld.Part0 = Torso
  2199. TentacleWeld.Part1 = Tentacle
  2200. TentacleWeld.C1 = CFrame.new(0.5, 0.5, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(60))
  2201. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2202. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2203. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2204. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2205. local Tentacle = Instance.new("Part", Torso)
  2206. Tentacle.Name = "Blade"
  2207. Tentacle.Shape = Enum.PartType.Ball
  2208. Tentacle.CanCollide = false
  2209. Tentacle.BrickColor = BrickColor.new("Really black")
  2210. Tentacle.Transparency = 0
  2211. Tentacle.Material = "DiamondPlate"
  2212. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2213. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2214. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2215. local TentacleWeld = Instance.new("Weld", Tentacle)
  2216. TentacleWeld.Part0 = Torso
  2217. TentacleWeld.Part1 = Tentacle
  2218. TentacleWeld.C1 = CFrame.new(0.5, -0.5, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(65))
  2219. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2220. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2221. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2222. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2223. local Tentacle = Instance.new("Part", Torso)
  2224. Tentacle.Name = "Blade"
  2225. Tentacle.Shape = Enum.PartType.Ball
  2226. Tentacle.CanCollide = false
  2227. Tentacle.BrickColor = BrickColor.new("Really black")
  2228. Tentacle.Transparency = 0
  2229. Tentacle.Material = "DiamondPlate"
  2230. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2231. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2232. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2233. local TentacleWeld = Instance.new("Weld", Tentacle)
  2234. TentacleWeld.Part0 = Torso
  2235. TentacleWeld.Part1 = Tentacle
  2236. TentacleWeld.C1 = CFrame.new(0.5, -0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90))
  2237. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2238. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2239. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2240. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2241. local Tentacle = Instance.new("Part", Torso)
  2242. Tentacle.Name = "Blade"
  2243. Tentacle.Shape = Enum.PartType.Ball
  2244. Tentacle.CanCollide = false
  2245. Tentacle.BrickColor = BrickColor.new("Really black")
  2246. Tentacle.Transparency = 0
  2247. Tentacle.Material = "DiamondPlate"
  2248. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2249. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2250. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2251. local TentacleWeld = Instance.new("Weld", Tentacle)
  2252. TentacleWeld.Part0 = Torso
  2253. TentacleWeld.Part1 = Tentacle
  2254. TentacleWeld.C1 = CFrame.new(0.5, -0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(45))
  2255. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2256. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2257. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2258. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2259. local Tentacle = Instance.new("Part", Torso)
  2260. Tentacle.Name = "Blade"
  2261. Tentacle.Shape = Enum.PartType.Ball
  2262. Tentacle.CanCollide = false
  2263. Tentacle.BrickColor = BrickColor.new("Really black")
  2264. Tentacle.Transparency = 0
  2265. Tentacle.Material = "DiamondPlate"
  2266. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2267. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2268. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2269. local TentacleWeld = Instance.new("Weld", Tentacle)
  2270. TentacleWeld.Part0 = Torso
  2271. TentacleWeld.Part1 = Tentacle
  2272. TentacleWeld.C1 = CFrame.new(0.6, -0.5, -0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(150))
  2273. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2274. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2275. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2276. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2277. local Tentacle = Instance.new("Part", Torso)
  2278. Tentacle.Name = "Blade"
  2279. Tentacle.Shape = Enum.PartType.Ball
  2280. Tentacle.CanCollide = false
  2281. Tentacle.BrickColor = BrickColor.new("Really black")
  2282. Tentacle.Transparency = 0
  2283. Tentacle.Material = "DiamondPlate"
  2284. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2285. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2286. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2287. local TentacleWeld = Instance.new("Weld", Tentacle)
  2288. TentacleWeld.Part0 = Torso
  2289. TentacleWeld.Part1 = Tentacle
  2290. TentacleWeld.C1 = CFrame.new(0, -0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  2291. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2292. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2293. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2294. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  2295. local Tentacle = Instance.new("Part", Torso)
  2296. Tentacle.Name = "Blade"
  2297. Tentacle.Shape = Enum.PartType.Ball
  2298. Tentacle.CanCollide = false
  2299. Tentacle.BrickColor = BrickColor.new("Really black")
  2300. Tentacle.Transparency = 0
  2301. Tentacle.Material = "DiamondPlate"
  2302. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2303. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2304. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2305. local TentacleWeld = Instance.new("Weld", Tentacle)
  2306. TentacleWeld.Part0 = Torso
  2307. TentacleWeld.Part1 = Tentacle
  2308. TentacleWeld.C1 = CFrame.new(1.5, -0.35, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-85), math.rad(-20), math.rad(120))
  2309. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2310. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2311. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2312. TentacleMesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  2313. local Heart = Instance.new("Part", Character)
  2314. Heart.Name = "Heart"
  2315. Heart.Shape = Enum.PartType.Ball
  2316. Heart.CanCollide = false
  2317. Heart.BrickColor = BrickColor.new("Neon orange")
  2318. Heart.Transparency = 0.5
  2319. Heart.Material = "Neon"
  2320. Heart.Size = Vector3.new(0.4, 0.4, 0.4)
  2321. Heart.TopSurface = Enum.SurfaceType.Smooth
  2322. Heart.BottomSurface = Enum.SurfaceType.Smooth
  2323. local Weld = Instance.new("Weld", Heart)
  2324. Weld.Part0 = Torso
  2325. Weld.Part1 = Heart
  2326. Weld.C1 = CFrame.new(0.1, -0.5, 0.45)
  2327. local HeartGlow = Instance.new("SurfaceLight")
  2328. HeartGlow.Color = Color3.fromRGB(213, 115, 61)
  2329. HeartGlow.Range = 6
  2330. HeartGlow.Brightness = 10
  2331. HeartGlow.Parent = Heart
  2332. local Heart = Instance.new("Part", Character)
  2333. Heart.Name = "Heart"
  2334. Heart.Shape = Enum.PartType.Ball
  2335. Heart.CanCollide = false
  2336. Heart.BrickColor = BrickColor.new("Really red")
  2337. Heart.Transparency = 0
  2338. Heart.Material = "Granite"
  2339. Heart.Size = Vector3.new(0.35, 0.35, 0.35)
  2340. Heart.TopSurface = Enum.SurfaceType.Smooth
  2341. Heart.BottomSurface = Enum.SurfaceType.Smooth
  2342. local Weld = Instance.new("Weld", Heart)
  2343. Weld.Part0 = Torso
  2344. Weld.Part1 = Heart
  2345. Weld.C1 = CFrame.new(0.1, -0.5, 0.45)
  2346. local Heart = Instance.new("Part", Character)
  2347. Heart.Name = "Heart"
  2348. Heart.Shape = Enum.PartType.Ball
  2349. Heart.CanCollide = false
  2350. Heart.BrickColor = BrickColor.new("Neon orange")
  2351. Heart.Transparency = 0.5
  2352. Heart.Material = "Neon"
  2353. Heart.Size = Vector3.new(0.4, 0.4, 0.4)
  2354. Heart.TopSurface = Enum.SurfaceType.Smooth
  2355. Heart.BottomSurface = Enum.SurfaceType.Smooth
  2356. local Weld = Instance.new("Weld", Heart)
  2357. Weld.Part0 = Torso
  2358. Weld.Part1 = Heart
  2359. Weld.C1 = CFrame.new(0.1, -0.5, -0.45)
  2360. local HeartGlow = Instance.new("SurfaceLight")
  2361. HeartGlow.Color = Color3.fromRGB(213, 115, 61)
  2362. HeartGlow.Range = 6
  2363. HeartGlow.Brightness = 10
  2364. HeartGlow.Parent = Heart
  2365. local Heart = Instance.new("Part", Character)
  2366. Heart.Name = "Heart"
  2367. Heart.Shape = Enum.PartType.Ball
  2368. Heart.CanCollide = false
  2369. Heart.BrickColor = BrickColor.new("Really red")
  2370. Heart.Transparency = 0
  2371. Heart.Material = "Granite"
  2372. Heart.Size = Vector3.new(0.35, 0.35, 0.35)
  2373. Heart.TopSurface = Enum.SurfaceType.Smooth
  2374. Heart.BottomSurface = Enum.SurfaceType.Smooth
  2375. local Weld = Instance.new("Weld", Heart)
  2376. Weld.Part0 = Torso
  2377. Weld.Part1 = Heart
  2378. Weld.C1 = CFrame.new(0.1, -0.5, -0.45)
  2379. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  2380. Head.face.Texture = "rbxassetid://1895706696"
  2381. ShadesMesh.MeshId = "rbxassetid://0"
  2382. shirt.ShirtTemplate = "rbxassetid://1266142884"
  2383. for i, v in pairs(Torso:GetChildren()) do
  2384. if v:IsA("ParticleEmitter") then
  2385. v:Destroy()
  2386. end
  2387. end
  2388. for i, v in pairs(Left_Arm:GetChildren()) do
  2389. if v:IsA("ParticleEmitter") then
  2390. v:Destroy()
  2391. end
  2392. end
  2393. S = Instance.new("Sound", rootPart)
  2394. S.Volume = 8
  2395. S.SoundId = "rbxassetid://658228911"
  2396. S:Play()
  2397. for i = 0, 0.1, 0.01 do
  2398. angleSpeed = 1
  2399. axisSpeed = 1
  2400. change = 0.5
  2401. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.2 + math.sin(sine / 15) / 10, -1) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.9)
  2402. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + -math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(-45)), 0.9)
  2403. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.9)
  2404. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.9)
  2405. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.9)
  2406. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.9)
  2407. swait()
  2408. end
  2409. for i = 0, 0.2, 0.01 do
  2410. angleSpeed = 1
  2411. axisSpeed = 1
  2412. change = 1
  2413. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(45)), 0.15)
  2414. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-30), math.rad(0), math.rad(-45)), 0.15)
  2415. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -1, 0) * c_angles(math.rad(45), math.rad(5), math.rad(0)), 0.15)
  2416. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -1, 0) * c_angles(math.rad(45), math.rad(-5), math.rad(0)), 0.15)
  2417. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-45), math.rad(0), math.rad(0)), 0.15)
  2418. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  2419. swait()
  2420. end
  2421. Animations = false
  2422. transforming = false
  2423. attack2 = false
  2424. attack = false
  2425. transformed = true
  2426. end
  2427. function ThirdForm()
  2428. attack = true
  2429. attack2 = true
  2430. transforming = true
  2431. transformed2 = true
  2432. Animations = true
  2433. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  2434. S = Instance.new("Sound", rootPart)
  2435. S.Volume = 8
  2436. S.SoundId = "rbxassetid://658228911"
  2437. S:Play()
  2438. local rng2 = Instance.new("Part", Character)
  2439. rng2.Anchored = true
  2440. rng2.BrickColor = BrickColor.new("Really black")
  2441. rng2.CanCollide = false
  2442. rng2.FormFactor = 3
  2443. rng2.Name = "Shockwave"
  2444. rng2.Size = Vector3.new(1, 1, 1)
  2445. rng2.Transparency = 0.35
  2446. rng2.TopSurface = 0
  2447. rng2.BottomSurface = 0
  2448. rng2.CFrame = rootPart.CFrame
  2449. local rngm2 = Instance.new("SpecialMesh", rng2)
  2450. rngm2.Scale = Vector3.new(1, 0, 1)
  2451. rngm2.Offset = Vector3.new(0, 0.5, -1)
  2452. rngm2.MeshType = "Sphere"
  2453. Spawn(function()
  2454. for i = 1, 60, 2 do
  2455. rngm2.Scale = Vector3.new(5 + i * 0.3, 5 + i * 0.3, 5 + i * 0.3)
  2456. rng2.Transparency = i / 60
  2457. swait()
  2458. end
  2459. wait()
  2460. rng2:Destroy()
  2461. end)
  2462. Theme.SoundId = "rbxassetid://1277996008"
  2463. Theme.TimePosition = 0.8
  2464. Theme:Play()
  2465. local RArm3 = Instance.new("Part", Left_Arm)
  2466. RArm3.Name = "Metal"
  2467. RArm3.Shape = Enum.PartType.Ball
  2468. RArm3.CanCollide = false
  2469. RArm3.BrickColor = BrickColor.new("Really black")
  2470. RArm3.Transparency = 0
  2471. RArm3.Material = "DiamondPlate"
  2472. RArm3.Size = Vector3.new(0.1, 0.1, 0.1)
  2473. RArm3.TopSurface = Enum.SurfaceType.Smooth
  2474. RArm3.BottomSurface = Enum.SurfaceType.Smooth
  2475. local RArm3Weld = Instance.new("Weld", RArm3)
  2476. RArm3Weld.Part0 = Left_Arm
  2477. RArm3Weld.Part1 = RArm3
  2478. RArm3Weld.C1 = CFrame.new(0, -0.4, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  2479. RArm3Mesh = Instance.new("FileMesh", RArm3)
  2480. RArm3Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  2481. RArm3Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  2482. local RArm4 = Instance.new("Part", Left_Arm)
  2483. RArm4.Name = "Metal"
  2484. RArm4.Shape = Enum.PartType.Ball
  2485. RArm4.CanCollide = false
  2486. RArm4.BrickColor = BrickColor.new("Really black")
  2487. RArm4.Transparency = 0
  2488. RArm4.Material = "DiamondPlate"
  2489. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  2490. RArm4.TopSurface = Enum.SurfaceType.Smooth
  2491. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  2492. local RArm4Weld = Instance.new("Weld", RArm4)
  2493. RArm4Weld.Part0 = Left_Arm
  2494. RArm4Weld.Part1 = RArm4
  2495. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  2496. RArm4Mesh = Instance.new("FileMesh", RArm4)
  2497. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  2498. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2499. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  2500. local RArm4 = Instance.new("Part", Left_Arm)
  2501. RArm4.Name = "Metal"
  2502. RArm4.Shape = Enum.PartType.Ball
  2503. RArm4.CanCollide = false
  2504. RArm4.BrickColor = BrickColor.new("Really black")
  2505. RArm4.Transparency = 0
  2506. RArm4.Material = "DiamondPlate"
  2507. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  2508. RArm4.TopSurface = Enum.SurfaceType.Smooth
  2509. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  2510. local RArm4Weld = Instance.new("Weld", RArm4)
  2511. RArm4Weld.Part0 = Left_Arm
  2512. RArm4Weld.Part1 = RArm4
  2513. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(-90), math.rad(0))
  2514. RArm4Mesh = Instance.new("FileMesh", RArm4)
  2515. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2516. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  2517. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  2518. local Tentacle = Instance.new("Part", Left_Arm)
  2519. Tentacle.Name = "Tentacle"
  2520. Tentacle.Shape = Enum.PartType.Ball
  2521. Tentacle.CanCollide = false
  2522. Tentacle.BrickColor = BrickColor.new("Really black")
  2523. Tentacle.Transparency = 0
  2524. Tentacle.Material = "DiamondPlate"
  2525. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2526. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2527. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2528. local TentacleWeld = Instance.new("Weld", Tentacle)
  2529. TentacleWeld.Part0 = Left_Arm
  2530. TentacleWeld.Part1 = Tentacle
  2531. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  2532. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2533. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2534. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2535. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2536. local Tentacle = Instance.new("Part", Left_Arm)
  2537. Tentacle.Name = "Tentacle"
  2538. Tentacle.Shape = Enum.PartType.Ball
  2539. Tentacle.CanCollide = false
  2540. Tentacle.BrickColor = BrickColor.new("Really black")
  2541. Tentacle.Transparency = 0
  2542. Tentacle.Material = "DiamondPlate"
  2543. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2544. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2545. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2546. local TentacleWeld = Instance.new("Weld", Tentacle)
  2547. TentacleWeld.Part0 = Left_Arm
  2548. TentacleWeld.Part1 = Tentacle
  2549. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(180))
  2550. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2551. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2552. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2553. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2554. local Tentacle = Instance.new("Part", Left_Arm)
  2555. Tentacle.Name = "Blade"
  2556. Tentacle.Shape = Enum.PartType.Ball
  2557. Tentacle.CanCollide = false
  2558. Tentacle.BrickColor = BrickColor.new("Really black")
  2559. Tentacle.Transparency = 0
  2560. Tentacle.Material = "DiamondPlate"
  2561. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2562. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2563. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2564. local TentacleWeld = Instance.new("Weld", Tentacle)
  2565. TentacleWeld.Part0 = Left_Arm
  2566. TentacleWeld.Part1 = Tentacle
  2567. TentacleWeld.C1 = CFrame.new(0, 0, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(100), math.rad(180))
  2568. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2569. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2570. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2571. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2572. local Tentacle = Instance.new("Part", Left_Arm)
  2573. Tentacle.Name = "Blade"
  2574. Tentacle.Shape = Enum.PartType.Ball
  2575. Tentacle.CanCollide = false
  2576. Tentacle.BrickColor = BrickColor.new("Really black")
  2577. Tentacle.Transparency = 0
  2578. Tentacle.Material = "DiamondPlate"
  2579. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  2580. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  2581. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  2582. local TentacleWeld = Instance.new("Weld", Tentacle)
  2583. TentacleWeld.Part0 = Left_Arm
  2584. TentacleWeld.Part1 = Tentacle
  2585. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(-45), math.rad(180))
  2586. TentacleMesh = Instance.new("FileMesh", Tentacle)
  2587. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  2588. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  2589. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  2590. local Tors = Instance.new("Part", Character)
  2591. Tors.Name = "Toor"
  2592. Tors.CanCollide = false
  2593. Tors.BrickColor = BrickColor.new("Really black")
  2594. Tors.Transparency = 0
  2595. Tors.Material = "Metal"
  2596. Tors.Size = Vector3.new(0.1, 0.1, 0.1)
  2597. Tors.TopSurface = Enum.SurfaceType.Smooth
  2598. Tors.BottomSurface = Enum.SurfaceType.Smooth
  2599. local TorsWeld = Instance.new("Weld", Tors)
  2600. TorsWeld.Part0 = Torso
  2601. TorsWeld.Part1 = Tors
  2602. TorsWeld.C1 = CFrame.new(0, 0.44, -0.44) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90))
  2603. TMesh = Instance.new("SpecialMesh", Tors)
  2604. TMesh.Scale = Vector3.new(11.6, 11.6, 11.6)
  2605. TMesh.TextureId = "rbxassetid://74620702"
  2606. TMesh.MeshType = "Wedge"
  2607. for i = 0, 0.3, 0.01 do
  2608. angleSpeed = 1
  2609. axisSpeed = 1
  2610. change = 0.5
  2611. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(50) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  2612. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(-35), math.rad(-120)), 0.15)
  2613. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  2614. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  2615. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2616. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(45), math.rad(0)), 0.15)
  2617. swait()
  2618. end
  2619. Animations = false
  2620. transforming = false
  2621. attack2 = false
  2622. attack = false
  2623. transformed2 = true
  2624. end
  2625. mouse.KeyDown:connect(function(key)
  2626. if key == "p" and attack == false then
  2627. if transformed == false and transformed2 == false then
  2628. Uroboros()
  2629. elseif transformed == true and transformed2 == false then
  2630. ThirdForm()
  2631. end
  2632. end
  2633. end)
  2634. tp = true
  2635. Player:GetMouse().KeyDown:connect(function(k)
  2636. if k == "t" and tp == true then
  2637. tp = false
  2638. S = Instance.new("Sound")
  2639. S.Parent = rootPart
  2640. S.SoundId = "rbxassetid://2767090"
  2641. S.Volume = 10
  2642. S.Looped = false
  2643. S.Pitch = 0.8
  2644. S:Play()
  2645. Trace()
  2646. Character.Head.face.Parent = game.Lighting
  2647. Character.HumanoidRootPart.CFrame = Player:GetMouse().Hit * CFrame.new(0, 3.5, 0)
  2648. game.Lighting.face.Parent = Character.Head
  2649. tp = true
  2650. end
  2651. end)
  2652. talk = math.random(1, 5)
  2653. function CobraPunch()
  2654. attack = true
  2655. Animations = true
  2656. talk = math.random(1, 5)
  2657. if talk == 5 then
  2658. Head.face.Texture = "rbxassetid://1895698679"
  2659. Qe = Instance.new("Sound")
  2660. Qe.Parent = Character.Torso
  2661. Qe.SoundId = "rbxassetid://1146553450"
  2662. Qe.Volume = 10
  2663. Qe.Looped = false
  2664. Qe.Pitch = 1
  2665. Qe:Play()
  2666. end
  2667. if talk ~= 5 then
  2668. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  2669. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  2670. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(10, 15)
  2671. S = Instance.new("Sound")
  2672. S.Parent = Character.Torso
  2673. S.SoundId = "rbxassetid://1063050323"
  2674. S.Volume = 8
  2675. S.Looped = false
  2676. S.Pitch = 1
  2677. S:Play()
  2678. else
  2679. end
  2680. end
  2681. end
  2682. for i = 0, 0.3, 0.01 do
  2683. angleSpeed = 1
  2684. axisSpeed = 1
  2685. change = 0.5
  2686. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, -0.5) * c_angles(math.rad(90), math.rad(0), math.rad(-80)), 0.15)
  2687. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(-80)), 0.15)
  2688. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(0), math.rad(-5)), 0.15)
  2689. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(0), math.rad(5)), 0.15)
  2690. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), 0.15)
  2691. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-10), math.rad(80), math.rad(0)), 0.15)
  2692. swait()
  2693. end
  2694. if talk == 5 then
  2695. wait(0.5)
  2696. Head.face.Texture = "rbxassetid://1895670162"
  2697. dashing = true
  2698. rootPart.Velocity = rootPart.CFrame.lookVector * 150
  2699. else
  2700. rootPart.Velocity = rootPart.CFrame.lookVector * 100
  2701. end
  2702. if talk == 5 then
  2703. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  2704. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  2705. v:FindFirstChild("Humanoid").Health = 0
  2706. S = Instance.new("Sound")
  2707. S.Parent = Character.Torso
  2708. S.SoundId = "rbxassetid://1063050323"
  2709. S.Volume = 8
  2710. S.Looped = false
  2711. S.Pitch = 1
  2712. S:Play()
  2713. else
  2714. end
  2715. end
  2716. else
  2717. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  2718. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  2719. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(20, 25)
  2720. S = Instance.new("Sound")
  2721. S.Parent = Character.Torso
  2722. S.SoundId = "rbxassetid://1063050323"
  2723. S.Volume = 8
  2724. S.Looped = false
  2725. S.Pitch = 1
  2726. S:Play()
  2727. else
  2728. end
  2729. end
  2730. end
  2731. for i = 0, 0.2, 0.01 do
  2732. angleSpeed = 1
  2733. axisSpeed = 1
  2734. change = 0.5
  2735. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(80)), 0.15)
  2736. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.5) * c_angles(math.rad(90), math.rad(0), math.rad(80)), 0.15)
  2737. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.15)
  2738. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(0), math.rad(-10)), 0.15)
  2739. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(80), math.rad(0)), 0.15)
  2740. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), 0.15)
  2741. swait()
  2742. end
  2743. if talk == 5 then
  2744. wait(0.05)
  2745. dashing = false
  2746. wait(0.5)
  2747. Qe:Destroy()
  2748. Head.face.Texture = "rbxassetid://315622231"
  2749. end
  2750. Animations = false
  2751. attack = false
  2752. end
  2753. function attackone()
  2754. attack = true
  2755. Animations = true
  2756. Head.face.Texture = "rbxassetid://1895698679"
  2757. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  2758. if v:FindFirstChild("HumanoidRootPart") then
  2759. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  2760. S = Instance.new("Sound")
  2761. S.Parent = Character.Torso
  2762. S.SoundId = "rbxassetid://1063050323"
  2763. S.Volume = 2
  2764. S.Looped = false
  2765. S.Pitch = 1
  2766. S:Play()
  2767. end
  2768. end
  2769. S = Instance.new("Sound")
  2770. S.Parent = Character.Torso
  2771. s2 = math.random(1, 4)
  2772. if s2 == 1 then
  2773. S.SoundId = "rbxassetid://1146556706"
  2774. elseif s2 == 2 then
  2775. S.SoundId = "rbxassetid://1146556975"
  2776. elseif s2 == 3 or s2 == 4 then
  2777. S.SoundId = "rbxassetid://0"
  2778. end
  2779. S.Volume = 10
  2780. S.Looped = false
  2781. S.Pitch = 1
  2782. S:Play()
  2783. for i = 0, 0.08, 0.01 do
  2784. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(120), math.rad(0), math.rad(20)), 0.15)
  2785. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  2786. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.15)
  2787. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.15)
  2788. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  2789. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  2790. swait()
  2791. end
  2792. for i = 0, 0.08, 0.01 do
  2793. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, -0.8) * c_angles(math.rad(90), math.rad(0), math.rad(-20)), 0.5)
  2794. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.5)
  2795. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.5)
  2796. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-30), math.rad(0)), 0.5)
  2797. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.5)
  2798. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.5)
  2799. swait()
  2800. end
  2801. Head.face.Texture = "rbxassetid://315622231"
  2802. Animations = false
  2803. attack = false
  2804. end
  2805. function attacktwo()
  2806. attack = true
  2807. Animations = true
  2808. Head.face.Texture = "rbxassetid://1895698679"
  2809. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  2810. if v:FindFirstChild("HumanoidRootPart") then
  2811. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  2812. S = Instance.new("Sound")
  2813. S.Parent = Character.Torso
  2814. S.SoundId = "rbxassetid://1063050323"
  2815. S.Volume = 8
  2816. S.Looped = false
  2817. S.Pitch = 1
  2818. S:Play()
  2819. end
  2820. end
  2821. S = Instance.new("Sound")
  2822. S.Parent = Character.Torso
  2823. s2 = math.random(1, 4)
  2824. if s2 == 1 then
  2825. S.SoundId = "rbxassetid://1146556706"
  2826. elseif s2 == 2 then
  2827. S.SoundId = "rbxassetid://1146556975"
  2828. elseif s2 == 3 or s2 == 4 then
  2829. S.SoundId = "rbxassetid://0"
  2830. end
  2831. S.Volume = 10
  2832. S.Looped = false
  2833. S.Pitch = 1
  2834. S:Play()
  2835. for i = 0, 0.08, 0.01 do
  2836. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  2837. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(120), math.rad(0), math.rad(-20)), 0.15)
  2838. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  2839. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.15)
  2840. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  2841. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  2842. swait()
  2843. end
  2844. for i = 0, 0.08, 0.01 do
  2845. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.5)
  2846. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.8) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.5)
  2847. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
  2848. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.5)
  2849. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  2850. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.5)
  2851. swait()
  2852. end
  2853. Head.face.Texture = "rbxassetid://315622231"
  2854. Animations = false
  2855. attack = false
  2856. end
  2857. function attackthree()
  2858. attack = true
  2859. Animations = true
  2860. for i = 0, 0.08, 0.01 do
  2861. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  2862. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  2863. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2864. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(20)), 0.15)
  2865. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.15)
  2866. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2867. swait()
  2868. end
  2869. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  2870. if v:FindFirstChild("HumanoidRootPart") then
  2871. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  2872. S = Instance.new("Sound")
  2873. S.Parent = Character.Torso
  2874. S.SoundId = "rbxassetid://1063050323"
  2875. S.Volume = 8
  2876. S.Looped = false
  2877. S.Pitch = 1
  2878. S:Play()
  2879. end
  2880. end
  2881. for i = 0, 0.06, 0.01 do
  2882. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2883. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2884. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2885. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(110), math.rad(0), math.rad(0)), 0.15)
  2886. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(20), math.rad(0)), 0.15)
  2887. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  2888. swait()
  2889. end
  2890. Animations = false
  2891. attack = false
  2892. end
  2893. function attackfour()
  2894. attack = true
  2895. Animations = true
  2896. for i = 0, 0.08, 0.01 do
  2897. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  2898. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  2899. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.15)
  2900. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2901. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(20), math.rad(0)), 0.15)
  2902. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2903. swait()
  2904. end
  2905. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  2906. if v:FindFirstChild("HumanoidRootPart") then
  2907. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  2908. S = Instance.new("Sound")
  2909. S.Parent = Character.Torso
  2910. S.SoundId = "rbxassetid://1063050323"
  2911. S.Volume = 8
  2912. S.Looped = false
  2913. S.Pitch = 1
  2914. S:Play()
  2915. end
  2916. end
  2917. for i = 0, 0.06, 0.01 do
  2918. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2919. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2920. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(110), math.rad(0), math.rad(0)), 0.15)
  2921. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2922. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(-20), math.rad(0)), 0.15)
  2923. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  2924. swait()
  2925. end
  2926. Animations = false
  2927. attack = false
  2928. end
  2929. function attackfive()
  2930. attack = true
  2931. Animations = true
  2932. Head.face.Texture = "rbxassetid://149227955"
  2933. for i = 0, 0.01, 0.01 do
  2934. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2935. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2936. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2937. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2938. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2939. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2940. end
  2941. for i = 0, 0.08, 0.01 do
  2942. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(0)), 0.15)
  2943. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(0)), 0.15)
  2944. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2945. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2946. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2947. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2948. swait()
  2949. end
  2950. S = Instance.new("Sound")
  2951. S.Parent = Character.Torso
  2952. S.SoundId = "rbxassetid://1278006076"
  2953. S.Volume = 10
  2954. S.Looped = false
  2955. S.Pitch = 1
  2956. S:Play()
  2957. for i = 0, 0.05, 0.01 do
  2958. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(-40)), 0.15)
  2959. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(40)), 0.15)
  2960. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2961. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2962. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2963. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2964. swait()
  2965. end
  2966. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  2967. if v:FindFirstChild("HumanoidRootPart") then
  2968. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25, 35)
  2969. S = Instance.new("Sound")
  2970. S.Parent = Character.Torso
  2971. S.SoundId = "rbxassetid://1063050323"
  2972. S.Volume = 8
  2973. S.Looped = false
  2974. S.Pitch = 1
  2975. S:Play()
  2976. end
  2977. end
  2978. for i = 0, 0.01, 0.01 do
  2979. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(-40)), 0.15)
  2980. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(40)), 0.15)
  2981. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2982. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2983. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2984. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2985. swait()
  2986. end
  2987. for i = 0, 0.04, 0.01 do
  2988. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.2, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(-40)), 0.15)
  2989. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.2, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(40)), 0.15)
  2990. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2991. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2992. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2993. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2994. swait()
  2995. end
  2996. wait(0.1)
  2997. Head.face.Texture = "rbxassetid://315622231"
  2998. Animations = false
  2999. attack = false
  3000. end
  3001. function attackoneA()
  3002. attack = true
  3003. Animations = true
  3004. Head.face.Texture = "rbxassetid://1895698679"
  3005. S = Instance.new("Sound")
  3006. S.Parent = Character.Torso
  3007. s2 = math.random(1, 4)
  3008. if s2 == 1 then
  3009. S.SoundId = "rbxassetid://1146556706"
  3010. elseif s2 == 2 then
  3011. S.SoundId = "rbxassetid://1146556975"
  3012. elseif s2 == 3 or s2 == 4 then
  3013. S.SoundId = "rbxassetid://0"
  3014. end
  3015. S.Volume = 10
  3016. S.Looped = false
  3017. S.Pitch = 1
  3018. S:Play()
  3019. for i = 0, 0.2, 0.01 do
  3020. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(120)), 0.15)
  3021. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  3022. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.15)
  3023. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.15)
  3024. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  3025. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  3026. swait()
  3027. end
  3028. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 6)) do
  3029. if v:FindFirstChild("HumanoidRootPart") then
  3030. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(20, 30)
  3031. S = Instance.new("Sound")
  3032. S.Parent = Character.Torso
  3033. S.SoundId = "rbxassetid://1063050323"
  3034. S.Volume = 2
  3035. S.Looped = false
  3036. S.Pitch = 1
  3037. S:Play()
  3038. end
  3039. end
  3040. for i = 0, 0.2, 0.01 do
  3041. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, -0.8) * c_angles(math.rad(75), math.rad(0), math.rad(-50)), 0.15)
  3042. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.15)
  3043. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  3044. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-30), math.rad(0)), 0.15)
  3045. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  3046. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  3047. swait()
  3048. end
  3049. Head.face.Texture = "rbxassetid://1895706696"
  3050. Animations = false
  3051. attack = false
  3052. end
  3053. function attacktwoA()
  3054. attack = true
  3055. Animations = true
  3056. Head.face.Texture = "rbxassetid://1895698679"
  3057. S = Instance.new("Sound")
  3058. S.Parent = Character.Torso
  3059. s2 = math.random(1, 4)
  3060. if s2 == 1 then
  3061. S.SoundId = "rbxassetid://1146556706"
  3062. elseif s2 == 2 then
  3063. S.SoundId = "rbxassetid://1146556975"
  3064. elseif s2 == 3 or s2 == 4 then
  3065. S.SoundId = "rbxassetid://0"
  3066. end
  3067. S.Volume = 10
  3068. S.Looped = false
  3069. S.Pitch = 1
  3070. S:Play()
  3071. for i = 0, 0.08, 0.01 do
  3072. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  3073. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(120), math.rad(0), math.rad(-20)), 0.15)
  3074. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  3075. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.15)
  3076. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  3077. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  3078. swait()
  3079. end
  3080. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  3081. if v:FindFirstChild("HumanoidRootPart") then
  3082. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  3083. S = Instance.new("Sound")
  3084. S.Parent = Character.Torso
  3085. S.SoundId = "rbxassetid://1063050323"
  3086. S.Volume = 8
  3087. S.Looped = false
  3088. S.Pitch = 1
  3089. S:Play()
  3090. end
  3091. end
  3092. for i = 0, 0.08, 0.01 do
  3093. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.5)
  3094. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.8) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.5)
  3095. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
  3096. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.5)
  3097. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  3098. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.5)
  3099. swait()
  3100. end
  3101. Head.face.Texture = "rbxassetid://1895706696"
  3102. Animations = false
  3103. attack = false
  3104. end
  3105. function attacktwoB()
  3106. attack = true
  3107. Animations = true
  3108. Head.face.Texture = "rbxassetid://1895698679"
  3109. S = Instance.new("Sound")
  3110. S.Parent = Character.Torso
  3111. s2 = math.random(1, 4)
  3112. if s2 == 1 then
  3113. S.SoundId = "rbxassetid://1146556706"
  3114. elseif s2 == 2 then
  3115. S.SoundId = "rbxassetid://1146556975"
  3116. elseif s2 == 3 or s2 == 4 then
  3117. S.SoundId = "rbxassetid://0"
  3118. end
  3119. S.Volume = 10
  3120. S.Looped = false
  3121. S.Pitch = 1
  3122. S:Play()
  3123. for i = 0, 0.2, 0.01 do
  3124. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.15)
  3125. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(-120)), 0.15)
  3126. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  3127. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.15)
  3128. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  3129. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  3130. swait()
  3131. end
  3132. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 6)) do
  3133. if v:FindFirstChild("HumanoidRootPart") then
  3134. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(20, 30)
  3135. S = Instance.new("Sound")
  3136. S.Parent = Character.Torso
  3137. S.SoundId = "rbxassetid://1063050323"
  3138. S.Volume = 8
  3139. S.Looped = false
  3140. S.Pitch = 1
  3141. S:Play()
  3142. end
  3143. end
  3144. for i = 0, 0.2, 0.01 do
  3145. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(50)), 0.15)
  3146. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.8) * c_angles(math.rad(75), math.rad(0), math.rad(20)), 0.15)
  3147. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.15)
  3148. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.15)
  3149. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-30), math.rad(0)), 0.15)
  3150. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  3151. swait()
  3152. end
  3153. Head.face.Texture = "rbxassetid://1895706696"
  3154. Animations = false
  3155. attack = false
  3156. end
  3157. function attackthreeB()
  3158. attack = true
  3159. Animations = true
  3160. Head.face.Texture = "rbxassetid://1895698679"
  3161. for i = 0, 0.2, 0.01 do
  3162. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
  3163. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-20)), 0.15)
  3164. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3165. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3166. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3167. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3168. end
  3169. for i = 0, 0.2, 0.01 do
  3170. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(20)), 0.1)
  3171. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(180), math.rad(0), math.rad(-20)), 0.15)
  3172. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3173. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3174. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3175. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3176. swait()
  3177. end
  3178. Head.face.Texture = "rbxassetid://1895670162"
  3179. S = Instance.new("Sound")
  3180. S.Parent = Character.Torso
  3181. S.SoundId = "rbxassetid://1278006076"
  3182. S.Volume = 10
  3183. S.Looped = false
  3184. S.Pitch = 1
  3185. S:Play()
  3186. for i = 0, 0.05, 0.01 do
  3187. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(20)), 0.15)
  3188. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(200), math.rad(0), math.rad(-20)), 0.15)
  3189. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3190. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3191. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3192. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3193. swait()
  3194. end
  3195. local rng2 = Instance.new("Part", Character)
  3196. rng2.Anchored = true
  3197. rng2.BrickColor = BrickColor.new("Really black")
  3198. rng2.CanCollide = false
  3199. rng2.FormFactor = 3
  3200. rng2.Name = "Shockwave"
  3201. rng2.Size = Vector3.new(1, 1, 1)
  3202. rng2.Transparency = 0.35
  3203. rng2.TopSurface = 0
  3204. rng2.BottomSurface = 0
  3205. rng2.CFrame = rootPart.CFrame
  3206. local rngm2 = Instance.new("SpecialMesh", rng2)
  3207. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3208. rngm2.Scale = Vector3.new(1, 0, 1)
  3209. rngm2.Offset = Vector3.new(0, 0, -5)
  3210. Spawn(function()
  3211. for i = 1, 60, 2 do
  3212. rngm2.Scale = Vector3.new(1 + i * 0.8, 5 - i * 0.1, 1 + i * 0.8)
  3213. rng2.Transparency = i / 30
  3214. rng2.CFrame = rng2.CFrame - Vector3.new(0, 0.2, 0)
  3215. swait()
  3216. end
  3217. wait()
  3218. rng2:Destroy()
  3219. end)
  3220. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  3221. if v:FindFirstChild("HumanoidRootPart") then
  3222. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(100, 150)
  3223. S = Instance.new("Sound")
  3224. S.Parent = Character.Torso
  3225. S.SoundId = "rbxassetid://1063050323"
  3226. S.Volume = 8
  3227. S.Looped = false
  3228. S.Pitch = 1
  3229. S:Play()
  3230. end
  3231. end
  3232. S = Instance.new("Sound")
  3233. S.Parent = Character.Torso
  3234. S.SoundId = "rbxassetid://2248511"
  3235. S.Volume = 10
  3236. S.Looped = false
  3237. S.Pitch = 1
  3238. S:Play()
  3239. for i = 0, 0.01, 0.01 do
  3240. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0, -0.5) * c_angles(math.rad(25), math.rad(0), math.rad(20)), 0.15)
  3241. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(25), math.rad(0), math.rad(-20)), 0.15)
  3242. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3243. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3244. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3245. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3246. swait()
  3247. end
  3248. for i = 0, 0.04, 0.01 do
  3249. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  3250. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.15)
  3251. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3252. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3253. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3254. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3255. swait()
  3256. end
  3257. wait(0.1)
  3258. Head.face.Texture = "rbxassetid://1895706696"
  3259. Animations = false
  3260. attack = false
  3261. end
  3262. function attackthreeA()
  3263. attack = true
  3264. Animations = true
  3265. Head.face.Texture = "rbxassetid://1895698679"
  3266. for i = 0, 0.2, 0.01 do
  3267. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
  3268. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3269. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3270. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3271. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3272. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3273. end
  3274. for i = 0, 0.2, 0.01 do
  3275. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(20)), 0.1)
  3276. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3277. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3278. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3279. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3280. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3281. swait()
  3282. end
  3283. Head.face.Texture = "rbxassetid://1895670162"
  3284. S = Instance.new("Sound")
  3285. S.Parent = Character.Torso
  3286. S.SoundId = "rbxassetid://1278006076"
  3287. S.Volume = 10
  3288. S.Looped = false
  3289. S.Pitch = 1
  3290. S:Play()
  3291. for i = 0, 0.05, 0.01 do
  3292. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(20)), 0.15)
  3293. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3294. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3295. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3296. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3297. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3298. swait()
  3299. end
  3300. local rng2 = Instance.new("Part", Character)
  3301. rng2.Anchored = true
  3302. rng2.BrickColor = BrickColor.new("Really black")
  3303. rng2.CanCollide = false
  3304. rng2.FormFactor = 3
  3305. rng2.Name = "Shockwave"
  3306. rng2.Size = Vector3.new(1, 1, 1)
  3307. rng2.Transparency = 0.35
  3308. rng2.TopSurface = 0
  3309. rng2.BottomSurface = 0
  3310. rng2.CFrame = rootPart.CFrame
  3311. local rngm2 = Instance.new("SpecialMesh", rng2)
  3312. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3313. rngm2.Scale = Vector3.new(1, 0, 1)
  3314. rngm2.Offset = Vector3.new(0.5, 0, -5)
  3315. Spawn(function()
  3316. for i = 1, 60, 2 do
  3317. rngm2.Scale = Vector3.new(1 + i * 0.3, 5 - i * 0.1, 1 + i * 0.3)
  3318. rng2.Transparency = i / 30
  3319. rng2.CFrame = rng2.CFrame - Vector3.new(0, 0.2, 0)
  3320. swait()
  3321. end
  3322. wait()
  3323. rng2:Destroy()
  3324. end)
  3325. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  3326. if v:FindFirstChild("HumanoidRootPart") then
  3327. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(40, 45)
  3328. S = Instance.new("Sound")
  3329. S.Parent = Character.Torso
  3330. S.SoundId = "rbxassetid://1063050323"
  3331. S.Volume = 8
  3332. S.Looped = false
  3333. S.Pitch = 1
  3334. S:Play()
  3335. end
  3336. end
  3337. S = Instance.new("Sound")
  3338. S.Parent = Character.Torso
  3339. S.SoundId = "rbxassetid://1310889008"
  3340. S.Volume = 10
  3341. S.Looped = false
  3342. S.Pitch = 1
  3343. S:Play()
  3344. for i = 0, 0.01, 0.01 do
  3345. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0, -0.5) * c_angles(math.rad(25), math.rad(0), math.rad(20)), 0.15)
  3346. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3347. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3348. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3349. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3350. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3351. swait()
  3352. end
  3353. for i = 0, 0.04, 0.01 do
  3354. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  3355. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3356. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3357. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3358. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3359. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3360. swait()
  3361. end
  3362. wait(0.1)
  3363. Head.face.Texture = "rbxassetid://1895706696"
  3364. Animations = false
  3365. attack = false
  3366. end
  3367. attktype = 1
  3368. mouse.Button1Down:connect(function(key)
  3369. if attack == false and crouching == false then
  3370. if gun == false then
  3371. if transformed == false then
  3372. if attktype == 1 then
  3373. attackone()
  3374. elseif attktype == 2 then
  3375. attacktwo()
  3376. elseif attktype == 3 then
  3377. attackthree()
  3378. elseif attktype == 4 then
  3379. attackfour()
  3380. elseif attktype == 5 then
  3381. attackfive()
  3382. elseif attktype == 6 then
  3383. CobraPunch()
  3384. attktype = 0
  3385. end
  3386. attktype = attktype + 1
  3387. elseif transformed == true then
  3388. if attktype == 1 then
  3389. attackoneA()
  3390. elseif attktype == 2 then
  3391. if transformed2 == false then
  3392. attacktwoA()
  3393. elseif transformed2 == true then
  3394. attacktwoB()
  3395. end
  3396. elseif attktype == 3 then
  3397. if transformed2 == false then
  3398. attackthreeA()
  3399. elseif transformed2 == true then
  3400. attackthreeB()
  3401. end
  3402. attktype = 0
  3403. end
  3404. attktype = attktype + 1
  3405. end
  3406. end
  3407. elseif gun == true then
  3408. shoot = true
  3409. elseif attack == false and crouching == true then
  3410. UpperCut()
  3411. end
  3412. end)
  3413. function findCloseHumanoid(centre, distance)
  3414. local tab = {}
  3415. for _, child in pairs(game.Workspace:GetChildren()) do
  3416. if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
  3417. local vtors = child.Torso
  3418. local mag = math.abs((vtors.Position - centre).magnitude)
  3419. if distance >= mag then
  3420. table.insert(tab, child.Humanoid)
  3421. end
  3422. end
  3423. end
  3424. return tab
  3425. end
  3426. function rayCast(Pos, Dir, Max, Ignore)
  3427. return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3428. end
  3429. function QuaternionFromCFrame(cf)
  3430. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3431. local trace = m00 + m11 + m22
  3432. if trace > 0 then
  3433. local s = math.sqrt(1 + trace)
  3434. local recip = 0.5 / s
  3435. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3436. else
  3437. local i = 0
  3438. if m00 < m11 then
  3439. i = 1
  3440. end
  3441. if m22 > (i == 0 and m00 or m11) then
  3442. i = 2
  3443. end
  3444. if i == 0 then
  3445. local s = math.sqrt(m00 - m11 - m22 + 1)
  3446. local recip = 0.5 / s
  3447. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3448. elseif i == 1 then
  3449. local s = math.sqrt(m11 - m22 - m00 + 1)
  3450. local recip = 0.5 / s
  3451. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3452. elseif i == 2 then
  3453. local s = math.sqrt(m22 - m00 - m11 + 1)
  3454. local recip = 0.5 / s
  3455. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3456. end
  3457. end
  3458. end
  3459. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3460. local xs, ys, zs = x + x, y + y, z + z
  3461. local wx, wy, wz = w * xs, w * ys, w * zs
  3462. local xx = x * xs
  3463. local xy = x * ys
  3464. local xz = x * zs
  3465. local yy = y * ys
  3466. local yz = y * zs
  3467. local zz = z * zs
  3468. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  3469. end
  3470. function QuaternionSlerp(a, b, t)
  3471. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3472. local startInterp, finishInterp
  3473. if cosTheta >= 1.0E-4 then
  3474. if 1 - cosTheta > 1.0E-4 then
  3475. local theta = math.acos(cosTheta)
  3476. local invSinTheta = 1 / math.sin(theta)
  3477. startInterp = math.sin((1 - t) * theta) * invSinTheta
  3478. finishInterp = math.sin(t * theta) * invSinTheta
  3479. else
  3480. startInterp = 1 - t
  3481. finishInterp = t
  3482. end
  3483. elseif 1 + cosTheta > 1.0E-4 then
  3484. local theta = math.acos(-cosTheta)
  3485. local invSinTheta = 1 / math.sin(theta)
  3486. startInterp = math.sin((t - 1) * theta) * invSinTheta
  3487. finishInterp = math.sin(t * theta) * invSinTheta
  3488. else
  3489. startInterp = t - 1
  3490. finishInterp = t
  3491. end
  3492. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  3493. end
  3494. function clerp(a, b, t)
  3495. local qa = {
  3496. QuaternionFromCFrame(a)
  3497. }
  3498. local qb = {
  3499. QuaternionFromCFrame(b)
  3500. }
  3501. local ax, ay, az = a.x, a.y, a.z
  3502. local bx, by, bz = b.x, b.y, b.z
  3503. local _t = 1 - t
  3504. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3505. end
  3506. swait()
  3507. LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
  3508. Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  3509. RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
  3510. Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  3511. LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
  3512. Left_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  3513. RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
  3514. Right_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  3515. Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
  3516. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  3517. Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
  3518. for i, v in pairs(Character:GetChildren()) do
  3519. if v:IsA("Accoutrement") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then
  3520. v:Destroy()
  3521. elseif v:IsA("Part") and v.Name == "Head" then
  3522. v.face.Texture = "rbxassetid://315622231"
  3523. end
  3524. end
  3525. shirt = Instance.new("Shirt", Character)
  3526. pants = Instance.new("Pants", Character)
  3527. shirt.ShirtTemplate = "rbxassetid://155329817"
  3528. pants.PantsTemplate = "rbxassetid://155329869"
  3529. Character["Body Colors"].HeadColor = BrickColor.new("Cashmere")
  3530. Character["Body Colors"].TorsoColor = BrickColor.new("Cashmere")
  3531. Character["Body Colors"].RightArmColor = BrickColor.new("Cashmere")
  3532. Character["Body Colors"].LeftArmColor = BrickColor.new("Cashmere")
  3533. Character["Body Colors"].RightLegColor = BrickColor.new("Cashmere")
  3534. Character["Body Colors"].LeftLegColor = BrickColor.new("Cashmere")
  3535. Humanoid.DisplayDistanceType = "None"
  3536. sine = 0
  3537. change = 1
  3538. sprint = false
  3539. local punches = {
  3540. a = false,
  3541. b = false,
  3542. c = false
  3543. }
  3544. UIService.InputBegan:connect(function(Input, GUIProcessed)
  3545. if not GUIProcessed and Input.UserInputType == Enum.UserInputType.MouseButton1 then
  3546. if punches.a == false then
  3547. punches.a = true
  3548. wait(0.4)
  3549. punches.a = false
  3550. else
  3551. punches.a = true
  3552. if punches.b == false then
  3553. punches.b = true
  3554. wait(0.4)
  3555. punches.b = false
  3556. else
  3557. punches.b = true
  3558. if punches.c == false then
  3559. punches.c = true
  3560. wait(0.4)
  3561. punches.c = false
  3562. else
  3563. punches.c = true
  3564. end
  3565. end
  3566. end
  3567. elseif not GUIProcessed and Input.KeyCode == Enum.KeyCode.LeftShift then
  3568. sprint = true
  3569. end
  3570. end)
  3571. Humanoid.Died:connect(function()
  3572. Theme:Destroy()
  3573. for i, v in pairs(Character:GetChildren()) do
  3574. if v:IsA("Part") or v:IsA("Accessory") then
  3575. v:Destroy()
  3576. end
  3577. end
  3578. end)
  3579. UIService.InputEnded:connect(function(Input, GUIProcessed)
  3580. if not GUIProcessed and Input.KeyCode == Enum.KeyCode.LeftShift then
  3581. sprint = false
  3582. end
  3583. end)
  3584. coroutine.wrap(function()
  3585. while true do
  3586. if sprint == false then
  3587. if attack2 == false and crouching == false then
  3588. Humanoid.WalkSpeed = 8
  3589. Humanoid.JumpPower = 50
  3590. elseif attack2 == true or crouching == true then
  3591. Humanoid.WalkSpeed = 0
  3592. Humanoid.JumpPower = 0
  3593. end
  3594. elseif sprint == true then
  3595. if attack2 == false and crouching == false then
  3596. Humanoid.WalkSpeed = 25
  3597. Humanoid.JumpPower = 100
  3598. elseif attack2 == true or crouching == true then
  3599. Humanoid.WalkSpeed = 0
  3600. Humanoid.JumpPower = 0
  3601. end
  3602. end
  3603. wait()
  3604. end
  3605. end)()
  3606. game:GetService("RunService").RenderStepped:connect(function()
  3607. Angle = Angle % 100 + angleSpeed / 10
  3608. Axis = Axis % 100 + axisSpeed / 10
  3609. walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  3610. jumpVel = Torso.Velocity.Y
  3611. sine = change + sine
  3612. if jumpVel > 1 then
  3613. currentAnim = "Jumping"
  3614. elseif jumpVel < -1 then
  3615. currentAnim = "Falling"
  3616. elseif walkingMagnitude < 2 then
  3617. currentAnim = "Idling"
  3618. elseif isSprinting == true then
  3619. currentAnim = "Sprinting"
  3620. elseif walkingMagnitude > 2 then
  3621. currentAnim = "Walking"
  3622. elseif isAttacking == true then
  3623. currentAnim = "Attacking"
  3624. end
  3625. if currentAnim == "Jumping" and Animations == false then
  3626. angleSpeed = 2
  3627. axisSpeed = 2
  3628. change = 0.5
  3629. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(15), math.rad(0), math.rad(20)), 0.15)
  3630. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-20)), 0.15)
  3631. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  3632. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3633. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3634. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3635. elseif currentAnim == "Falling" and Animations == false then
  3636. if transformed == false then
  3637. angleSpeed = 2
  3638. axisSpeed = 2
  3639. change = 0.5
  3640. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(25)), 0.15)
  3641. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-25)), 0.15)
  3642. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3643. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  3644. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  3645. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3646. elseif transformed == true and transformed2 == false then
  3647. angleSpeed = 2
  3648. axisSpeed = 2
  3649. change = 0.5
  3650. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(80)), 0.15)
  3651. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-25)), 0.15)
  3652. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3653. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  3654. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  3655. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3656. elseif transformed == true and transformed2 == true then
  3657. angleSpeed = 2
  3658. axisSpeed = 2
  3659. change = 0.5
  3660. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(80)), 0.15)
  3661. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-80)), 0.15)
  3662. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3663. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  3664. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  3665. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3666. end
  3667. elseif currentAnim == "Idling" and Animations == false then
  3668. if transformed == false then
  3669. angleSpeed = 1
  3670. axisSpeed = 1
  3671. change = 0.5
  3672. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.15)
  3673. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  3674. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3675. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3676. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  3677. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-20) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  3678. elseif transformed == true and transformed2 == false then
  3679. angleSpeed = 1
  3680. axisSpeed = 1
  3681. change = 0.5
  3682. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(50) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  3683. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3684. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  3685. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  3686. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  3687. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  3688. elseif transformed == true and transformed2 == true then
  3689. angleSpeed = 1
  3690. axisSpeed = 1
  3691. change = 0.5
  3692. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(50) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  3693. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(50) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-50) - math.sin(sine / 15) / 10), 0.15)
  3694. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  3695. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  3696. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  3697. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  3698. end
  3699. elseif currentAnim == "Walking" and Animations == false then
  3700. if transformed == false then
  3701. if sprint == false then
  3702. angleSpeed = 1
  3703. axisSpeed = 1
  3704. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(5)), 0.15)
  3705. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  3706. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.sin(sine / 4) / 3, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3707. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(-math.sin(sine / 4) / 3, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3708. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0), math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  3709. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  3710. else
  3711. angleSpeed = 10
  3712. axisSpeed = 10
  3713. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(10)), 0.15)
  3714. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(-10)), 0.15)
  3715. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  3716. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  3717. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-20) + math.sin(sine / 3) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 15) / 2), 0.15)
  3718. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.sin(rootPart.RotVelocity.Y / 1) / 2, math.rad(0)), 0.15)
  3719. end
  3720. elseif transformed == true and transformed2 == false then
  3721. if sprint == false then
  3722. angleSpeed = 1
  3723. axisSpeed = 1
  3724. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  3725. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  3726. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.sin(sine / 4) / 3, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3727. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(-math.sin(sine / 4) / 3, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3728. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0), math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  3729. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  3730. else
  3731. angleSpeed = 10
  3732. axisSpeed = 10
  3733. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-45) + math.sin(sine / 3) / 10, math.rad(0), math.rad(20) + math.sin(sine / 3) / 10), 0.15)
  3734. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(-10)), 0.15)
  3735. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  3736. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  3737. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-20) + math.sin(sine / 3) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 15) / 2), 0.15)
  3738. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.sin(rootPart.RotVelocity.Y / 1) / 2, math.rad(0)), 0.15)
  3739. end
  3740. elseif transformed == true and transformed2 == true then
  3741. if sprint == false then
  3742. angleSpeed = 1
  3743. axisSpeed = 1
  3744. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  3745. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(20) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-50) - math.sin(sine / 15) / 10), 0.15)
  3746. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.sin(sine / 4) / 3, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3747. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(-math.sin(sine / 4) / 3, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3748. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0), math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  3749. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  3750. else
  3751. angleSpeed = 10
  3752. axisSpeed = 10
  3753. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-45) + math.sin(sine / 3) / 10, math.rad(0), math.rad(20) + math.sin(sine / 3) / 10), 0.15)
  3754. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-45) + math.sin(sine / 3) / 10, math.rad(0), math.rad(-20) - math.sin(sine / 3) / 10), 0.15)
  3755. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  3756. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  3757. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-20) + math.sin(sine / 3) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 15) / 2), 0.15)
  3758. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.sin(rootPart.RotVelocity.Y / 1) / 2, math.rad(0)), 0.15)
  3759. end
  3760. end
  3761. end
  3762. end)
Add Comment
Please, Sign In to add comment