AlxeBoii

script for non fe games, probably gonna be used a lot in vsb

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