Advertisement
Im_Meme

Agent furry fag

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