Advertisement
Guest User

.

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