13242

Untitled

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