carlosname

Untitled

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