copra50

agent wesker [no music]

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