Advertisement
memberhero

Agent FE

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