Advertisement
Mitko1223tm

test test test

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