Hugo1234cool

Untitled

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