Advertisement
Guest User

Untitled

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