Dark_EccentricYT

Untitled

Jul 11th, 2018
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.82 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| GUNJOURER BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//=================================\\
  46. --|| USEFUL VALUES
  47. --\\=================================//
  48.  
  49. Animation_Speed = 3
  50. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  51. local Speed = 35
  52. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  53. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  55. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  56. local DAMAGEMULTIPLIER = 1
  57. local ANIM = "Idle"
  58. local ATTACK = false
  59. local EQUIPPED = false
  60. local HOLD = false
  61. local COMBO = 1
  62. local Rooted = false
  63. local SINE = 0
  64. local KEYHOLD = false
  65. local CHANGE = 2 / Animation_Speed
  66. local WALKINGANIM = false
  67. local VALUE1 = false
  68. local VALUE2 = false
  69. local ROBLOXIDLEANIMATION = IT("Animation")
  70. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  71. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  72. --ROBLOXIDLEANIMATION.Parent = Humanoid
  73. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  74. WEAPONGUI.Name = "GUNJOURER_GUI_SHACKLUSTER"
  75. local Effects = IT("Folder", Character)
  76. Effects.Name = "Effects"
  77. local ANIMATOR = Humanoid.Animator
  78. local ANIMATE = Character.Animate
  79. local UNANCHOR = true
  80. local TRIPWIRE = false
  81.  
  82. --//=================================\\
  83. --\\=================================//
  84.  
  85.  
  86. --//=================================\\
  87. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  88. --\\=================================//
  89.  
  90. ArtificialHB = Instance.new("BindableEvent", script)
  91. ArtificialHB.Name = "ArtificialHB"
  92.  
  93. script:WaitForChild("ArtificialHB")
  94.  
  95. frame = Frame_Speed
  96. tf = 0
  97. allowframeloss = false
  98. tossremainder = false
  99. lastframe = tick()
  100. script.ArtificialHB:Fire()
  101.  
  102. game:GetService("RunService").Heartbeat:connect(function(s, p)
  103. tf = tf + s
  104. if tf >= frame then
  105. if allowframeloss then
  106. ArtificialHB:Fire()
  107. lastframe = tick()
  108. else
  109. for i = 1, math.floor(tf / frame) do
  110. ArtificialHB:Fire()
  111. end
  112. lastframe = tick()
  113. end
  114. if tossremainder then
  115. tf = 0
  116. else
  117. tf = tf - frame * math.floor(tf / frame)
  118. end
  119. end
  120. end)
  121.  
  122. --//=================================\\
  123. --\\=================================//
  124.  
  125. --//=================================\\
  126. --|| SOME FUNCTIONS
  127. --\\=================================//
  128.  
  129. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  130. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  131. end
  132.  
  133. function PositiveAngle(NUMBER)
  134. if NUMBER >= 0 then
  135. NUMBER = 0
  136. end
  137. return NUMBER
  138. end
  139.  
  140. function NegativeAngle(NUMBER)
  141. if NUMBER <= 0 then
  142. NUMBER = 0
  143. end
  144. return NUMBER
  145. end
  146.  
  147. function Swait(NUMBER)
  148. if NUMBER == 0 or NUMBER == nil then
  149. ArtificialHB.Event:wait()
  150. else
  151. for i = 1, NUMBER do
  152. ArtificialHB.Event:wait()
  153. end
  154. end
  155. end
  156.  
  157. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  158. local NEWMESH = IT(MESH)
  159. if MESH == "SpecialMesh" then
  160. NEWMESH.MeshType = MESHTYPE
  161. if MESHID ~= "nil" and MESHID ~= "" then
  162. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  163. end
  164. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  165. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  166. end
  167. end
  168. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  169. NEWMESH.Scale = SCALE
  170. NEWMESH.Parent = PARENT
  171. return NEWMESH
  172. end
  173.  
  174. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  175. local NEWPART = IT("Part")
  176. NEWPART.formFactor = FORMFACTOR
  177. NEWPART.Reflectance = REFLECTANCE
  178. NEWPART.Transparency = TRANSPARENCY
  179. NEWPART.CanCollide = false
  180. NEWPART.Locked = true
  181. NEWPART.Anchored = true
  182. if ANCHOR == false then
  183. NEWPART.Anchored = false
  184. end
  185. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  186. NEWPART.Name = NAME
  187. NEWPART.Size = SIZE
  188. NEWPART.Position = Torso.Position
  189. NEWPART.Material = MATERIAL
  190. NEWPART:BreakJoints()
  191. NEWPART.Parent = PARENT
  192. return NEWPART
  193. end
  194.  
  195. local function weldBetween(a, b)
  196. local weldd = Instance.new("ManualWeld")
  197. weldd.Part0 = a
  198. weldd.Part1 = b
  199. weldd.C0 = CFrame.new()
  200. weldd.C1 = b.CFrame:inverse() * a.CFrame
  201. weldd.Parent = a
  202. return weldd
  203. end
  204.  
  205.  
  206. function QuaternionFromCFrame(cf)
  207. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  208. local trace = m00 + m11 + m22
  209. if trace > 0 then
  210. local s = math.sqrt(1 + trace)
  211. local recip = 0.5 / s
  212. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  213. else
  214. local i = 0
  215. if m11 > m00 then
  216. i = 1
  217. end
  218. if m22 > (i == 0 and m00 or m11) then
  219. i = 2
  220. end
  221. if i == 0 then
  222. local s = math.sqrt(m00 - m11 - m22 + 1)
  223. local recip = 0.5 / s
  224. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  225. elseif i == 1 then
  226. local s = math.sqrt(m11 - m22 - m00 + 1)
  227. local recip = 0.5 / s
  228. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  229. elseif i == 2 then
  230. local s = math.sqrt(m22 - m00 - m11 + 1)
  231. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  232. end
  233. end
  234. end
  235.  
  236. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  237. local xs, ys, zs = x + x, y + y, z + z
  238. local wx, wy, wz = w * xs, w * ys, w * zs
  239. local xx = x * xs
  240. local xy = x * ys
  241. local xz = x * zs
  242. local yy = y * ys
  243. local yz = y * zs
  244. local zz = z * zs
  245. 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))
  246. end
  247.  
  248. function QuaternionSlerp(a, b, t)
  249. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  250. local startInterp, finishInterp;
  251. if cosTheta >= 0.0001 then
  252. if (1 - cosTheta) > 0.0001 then
  253. local theta = ACOS(cosTheta)
  254. local invSinTheta = 1 / SIN(theta)
  255. startInterp = SIN((1 - t) * theta) * invSinTheta
  256. finishInterp = SIN(t * theta) * invSinTheta
  257. else
  258. startInterp = 1 - t
  259. finishInterp = t
  260. end
  261. else
  262. if (1 + cosTheta) > 0.0001 then
  263. local theta = ACOS(-cosTheta)
  264. local invSinTheta = 1 / SIN(theta)
  265. startInterp = SIN((t - 1) * theta) * invSinTheta
  266. finishInterp = SIN(t * theta) * invSinTheta
  267. else
  268. startInterp = t - 1
  269. finishInterp = t
  270. end
  271. end
  272. 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
  273. end
  274.  
  275. function Clerp(a, b, t)
  276. local qa = {QuaternionFromCFrame(a)}
  277. local qb = {QuaternionFromCFrame(b)}
  278. local ax, ay, az = a.x, a.y, a.z
  279. local bx, by, bz = b.x, b.y, b.z
  280. local _t = 1 - t
  281. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  282. end
  283.  
  284. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  285. local frame = IT("Frame")
  286. frame.BackgroundTransparency = TRANSPARENCY
  287. frame.BorderSizePixel = BORDERSIZEPIXEL
  288. frame.Position = POSITION
  289. frame.Size = SIZE
  290. frame.BackgroundColor3 = COLOR
  291. frame.BorderColor3 = BORDERCOLOR
  292. frame.Name = NAME
  293. frame.Parent = PARENT
  294. return frame
  295. end
  296.  
  297. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  298. local label = IT("TextLabel")
  299. label.BackgroundTransparency = 1
  300. label.Size = UD2(1, 0, 1, 0)
  301. label.Position = UD2(0, 0, 0, 0)
  302. label.TextColor3 = TEXTCOLOR
  303. label.TextStrokeTransparency = STROKETRANSPARENCY
  304. label.TextTransparency = TRANSPARENCY
  305. label.FontSize = TEXTFONTSIZE
  306. label.Font = TEXTFONT
  307. label.BorderSizePixel = BORDERSIZEPIXEL
  308. label.TextScaled = false
  309. label.Text = TEXT
  310. label.Name = NAME
  311. label.Parent = PARENT
  312. return label
  313. end
  314.  
  315. function NoOutlines(PART)
  316. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  317. end
  318.  
  319. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  320. local NEWWELD = IT(TYPE)
  321. NEWWELD.Part0 = PART0
  322. NEWWELD.Part1 = PART1
  323. NEWWELD.C0 = C0
  324. NEWWELD.C1 = C1
  325. NEWWELD.Parent = PARENT
  326. return NEWWELD
  327. end
  328.  
  329. local S = IT("Sound")
  330. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  331. local NEWSOUND = nil
  332. coroutine.resume(coroutine.create(function()
  333. NEWSOUND = S:Clone()
  334. NEWSOUND.Parent = PARENT
  335. NEWSOUND.Volume = VOLUME
  336. NEWSOUND.Pitch = PITCH
  337. NEWSOUND.SoundId = "rbxassetid://"..ID
  338. NEWSOUND:play()
  339. if DOESLOOP == true then
  340. NEWSOUND.Looped = true
  341. else
  342. repeat wait(1) until NEWSOUND.Playing == false
  343. NEWSOUND:remove()
  344. end
  345. end))
  346. return NEWSOUND
  347. end
  348.  
  349. function CFrameFromTopBack(at, top, back)
  350. local right = top:Cross(back)
  351. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  352. end
  353.  
  354. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  355. function WACKYEFFECT(Table)
  356. local TYPE = (Table.EffectType or "Sphere")
  357. local SIZE = (Table.Size or VT(1,1,1))
  358. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  359. local TRANSPARENCY = (Table.Transparency or 0)
  360. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  361. local CFRAME = (Table.CFrame or Torso.CFrame)
  362. local MOVEDIRECTION = (Table.MoveToPos or nil)
  363. local ROTATION1 = (Table.RotationX or 0)
  364. local ROTATION2 = (Table.RotationY or 0)
  365. local ROTATION3 = (Table.RotationZ or 0)
  366. local MATERIAL = (Table.Material or "Neon")
  367. local COLOR = (Table.Color or C3(1,1,1))
  368. local TIME = (Table.Time or 45)
  369. local SOUNDID = (Table.SoundID or nil)
  370. local SOUNDPITCH = (Table.SoundPitch or nil)
  371. local SOUNDVOLUME = (Table.SoundVolume or nil)
  372. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  373. local BOOMERANG = (Table.Boomerang or 0)
  374. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  375. coroutine.resume(coroutine.create(function()
  376. local PLAYSSOUND = false
  377. local SOUND = nil
  378. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  379. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  380. PLAYSSOUND = true
  381. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  382. end
  383. EFFECT.Color = COLOR
  384. local MSH = nil
  385. if TYPE == "Sphere" then
  386. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  387. elseif TYPE == "Block" or TYPE == "Box" then
  388. MSH = IT("BlockMesh",EFFECT)
  389. MSH.Scale = SIZE
  390. elseif TYPE == "Wave" then
  391. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  392. elseif TYPE == "Ring" then
  393. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  394. elseif TYPE == "Slash" then
  395. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  396. elseif TYPE == "Round Slash" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  398. elseif TYPE == "Swirl" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  400. elseif TYPE == "Skull" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  402. elseif TYPE == "Crystal" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  404. end
  405. if MSH ~= nil then
  406. local BOOMR1 = 1+BOOMERANG/50
  407. local BOOMR2 = 1+SIZEBOOMERANG/50
  408. local MOVESPEED = nil
  409. if MOVEDIRECTION ~= nil then
  410. if USEBOOMERANGMATH == true then
  411. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  412. else
  413. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  414. end
  415. end
  416. local GROWTH = nil
  417. if USEBOOMERANGMATH == true then
  418. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  419. else
  420. GROWTH = (SIZE - ENDSIZE)
  421. end
  422. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  423. if TYPE == "Block" then
  424. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  425. else
  426. EFFECT.CFrame = CFRAME
  427. end
  428. if USEBOOMERANGMATH == true then
  429. for LOOP = 1, TIME+1 do
  430. Swait()
  431. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  432. if TYPE == "Wave" then
  433. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  434. end
  435. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  436. if TYPE == "Block" then
  437. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  438. else
  439. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  440. end
  441. if MOVEDIRECTION ~= nil then
  442. local ORI = EFFECT.Orientation
  443. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  444. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  445. end
  446. end
  447. else
  448. for LOOP = 1, TIME+1 do
  449. Swait()
  450. MSH.Scale = MSH.Scale - GROWTH/TIME
  451. if TYPE == "Wave" then
  452. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  453. end
  454. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  455. if TYPE == "Block" then
  456. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  457. else
  458. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  459. end
  460. if MOVEDIRECTION ~= nil then
  461. local ORI = EFFECT.Orientation
  462. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  463. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  464. end
  465. end
  466. end
  467. EFFECT.Transparency = 1
  468. if PLAYSSOUND == false then
  469. EFFECT:remove()
  470. else
  471. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  472. EFFECT:remove()
  473. end
  474. else
  475. if PLAYSSOUND == false then
  476. EFFECT:remove()
  477. else
  478. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  479. EFFECT:remove()
  480. end
  481. end
  482. end))
  483. end
  484.  
  485. function MakeForm(PART,TYPE)
  486. if TYPE == "Cyl" then
  487. local MSH = IT("CylinderMesh",PART)
  488. elseif TYPE == "Ball" then
  489. local MSH = IT("SpecialMesh",PART)
  490. MSH.MeshType = "Sphere"
  491. elseif TYPE == "Wedge" then
  492. local MSH = IT("SpecialMesh",PART)
  493. MSH.MeshType = "Wedge"
  494. end
  495. end
  496.  
  497. Debris = game:GetService("Debris")
  498.  
  499. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  500. local DIRECTION = CF(StartPos,EndPos).lookVector
  501. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  502. end
  503.  
  504. function OhnoItsAShotgun()
  505. local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
  506. CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
  507. return SHOOTgun
  508. end
  509.  
  510. function CamShake(SHAKE,TIMER)
  511. coroutine.resume(coroutine.create(function()
  512. local FADER = SHAKE/TIMER
  513. for i = 1, TIMER do
  514. wait()
  515. Humanoid.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
  516. end
  517. Humanoid.CameraOffset = VT(0,0,0)
  518. end))
  519. end
  520.  
  521. --//=================================\\
  522. --|| GUIS AND MISC
  523. --\\=================================//
  524.  
  525. local SKILLTEXTCOLOR = C3(1,1,1)
  526. local SKILLFONT = "SciFi"
  527. local SKILLTEXTSIZE = 4
  528.  
  529. local ATTACKS = {"Conjour - C","Aerial Bombardament - V","Point Blank - B","Tripwire - F","Mend - M"}
  530.  
  531. for i = 1, #ATTACKS do
  532. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  533. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  534. SKILLTEXT.TextXAlignment = "Right"
  535. SKILLTEXT.Rotation = i*3
  536. end
  537.  
  538. local BMUSIC = IT("Sound",RootPart)
  539. local VOLUME = 3
  540. local PITCH = 1
  541. local SONGID = 554435540
  542.  
  543. local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(1-0.20, 0, 0.75, 0), UD2(0.20, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar")
  544. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Shamrock".Color, C3(0, 0, 0),"Health Cover")
  545. local HEALTHTEXT = CreateLabel(HEALTHBAR, Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
  546. Character.Health:remove()
  547. HEALTHBAR.Rotation = (#ATTACKS*3)+3
  548. local WHOAMI = CreateFrame(WEAPONGUI, 1, 1, UD2(1-0.26, 0, 0.69, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Ban")
  549. WHOAMI.Rotation = (#ATTACKS*3)+3
  550. CreateLabel(WHOAMI, "Gunjourer", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
  551.  
  552. Humanoid.MaxHealth = 450
  553. Humanoid.Health = 450
  554.  
  555. Humanoid.Died:Connect(function()
  556. RootPart:remove()
  557. CreateSound(160718677, Head, 4, 1, false)
  558. BMUSIC:remove()
  559. Effects:remove()
  560. WEAPONGUI:remove()
  561. end)
  562. local GRUNTS = {1146556975,1146556706,1278006076}
  563.  
  564. --//=================================\\
  565. --|| DAMAGING
  566. --\\=================================//
  567.  
  568. function ApplyDamage(Humanoid,Damage)
  569. Damage = Damage * DAMAGEMULTIPLIER
  570. if Humanoid.Health < 2000 then
  571. if Humanoid.Health - Damage > 0 then
  572. Humanoid.Health = Humanoid.Health - Damage
  573. else
  574. Humanoid.Parent:BreakJoints()
  575. end
  576. else
  577. Humanoid.Parent:BreakJoints()
  578. end
  579. end
  580.  
  581. function PAW_HAHA(LOC,AIMTO,OUCH)
  582. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
  583. for i = 1, 4 do
  584. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  585. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
  586. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  587. local DISTANCE = (POS - LOC).Magnitude
  588. if HIT then
  589. local HUM = nil
  590. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  591. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  592. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  593. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  594. end
  595. if HUM then
  596. ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
  597. end
  598. end
  599. WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  600. WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  601. end
  602. end
  603.  
  604. --//=================================\\
  605. --|| ATTACK FUNCTIONS AND STUFF
  606. --\\=================================//
  607.  
  608. function Conjour()
  609. local SHOOT = OhnoItsAShotgun()
  610. local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  611. local ORI = 90
  612. SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
  613. local GOODRIDDANCE = false
  614. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  615. coroutine.resume(coroutine.create(function()
  616. repeat
  617. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
  618. Swait()
  619. until GOODRIDDANCE == true
  620. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  621. SHOOT.CanCollide = true
  622. SHOOT.Anchored = false
  623. SHOOT.Parent = workspace
  624. local bv = Instance.new("BodyVelocity",SHOOT)
  625. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  626. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  627. Debris:AddItem(bv,0.1)
  628. wait(5)
  629. for i = 1, 45 do
  630. Swait()
  631. SHOOT.Transparency = SHOOT.Transparency + 1/45
  632. end
  633. SHOOT:remove()
  634. end))
  635. for i = 1, 15 do
  636. Swait()
  637. SHOOT.Transparency = SHOOT.Transparency - 1/15
  638. ORI = ORI - 3
  639. end
  640. for i = 1, 15 do
  641. Swait()
  642. ORI = ORI - 3
  643. end
  644. wait(MRANDOM(2,8)/10)
  645. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
  646. CamShake(4,4)
  647. GOODRIDDANCE = true
  648. end
  649. function Aerial_Bombardament()
  650. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  651. if HITFLOOR then
  652. ATTACK = true
  653. Rooted = true
  654. local bv = Instance.new("BodyVelocity")
  655. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  656. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,-2).p).lookVector*175
  657. bv.Parent = RootPart
  658. local GYRO = IT("BodyGyro",RootPart)
  659. GYRO.D = 2
  660. GYRO.P = 20000
  661. GYRO.MaxTorque = VT(0,4000000,0)
  662. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  663. CreateSound(145486992,Torso,10,0.85,false)
  664. for i=0, 0.05, 0.1 / Animation_Speed do
  665. Swait()
  666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  670. if ANIM == "Fall" or ANIM == "Jump" then
  671. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  672. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  673. else
  674. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  675. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  676. end
  677. end
  678. bv:Remove()
  679. local E = 360/15
  680. for i = 1, 15 do
  681. Swait()
  682. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  683. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  687. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  688. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  689. end
  690. WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(17/255,17/255,17/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  691. for i = 1, 15 do
  692. coroutine.resume(coroutine.create(function()
  693. Conjour()
  694. end))
  695. end
  696. local LANDED = nil
  697. local POS = nil
  698. coroutine.resume(coroutine.create(function()
  699. repeat
  700. Swait()
  701. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  705. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  707. until LANDED ~= nil
  708. end))
  709. repeat
  710. Swait()
  711. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  712. if HITFLOOR then
  713. LANDED = HITFLOOR
  714. POS = HITPOS
  715. end
  716. until LANDED ~= nil
  717. GYRO:remove()
  718. CamShake(6,3)
  719. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  720. ATTACK = false
  721. Rooted = false
  722. end
  723. end
  724. function Point_Blank()
  725. ATTACK = true
  726. Rooted = true
  727. local HIT = nil
  728. local HUMAN = nil
  729. local ROOT = nil
  730. CreateSound(145486992,Torso,10,0.85,false)
  731. for i=0, 0.5, 0.1 / Animation_Speed do
  732. Swait()
  733. if HIT ~= nil then
  734. break
  735. end
  736. for index, CHILD in pairs(workspace:GetDescendants()) do
  737. if CHILD.ClassName == "Model" and CHILD ~= Character then
  738. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  739. if HUM then
  740. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  741. if TORSO and HUM.Health > 0 then
  742. if (TORSO.Position - RootPart.CFrame*CF(0,0,-2).p).Magnitude <= 2 then
  743. ROOT = TORSO
  744. HUMAN = HUM
  745. HIT = CHILD
  746. end
  747. end
  748. end
  749. end
  750. end
  751. RootPart.CFrame = Clerp(RootPart.CFrame, RootPart.CFrame, 0.07) * CF(0,0,-1)
  752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(135), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  756. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  758. end
  759. if HIT then
  760. local bv = Instance.new("BodyVelocity")
  761. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  762. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,2).p).lookVector*75
  763. bv.Parent = RootPart
  764. Debris:AddItem(bv,0.1)
  765. coroutine.resume(coroutine.create(function()
  766. local GUNS = {}
  767. for i = 1, 4 do
  768. local SHOOT = OhnoItsAShotgun()
  769. local CFRAME = CF(ROOT.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
  770. SHOOT.CFrame = CF(CFRAME.p,ROOT.Position)
  771. CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
  772. table.insert(GUNS,SHOOT)
  773. end
  774. for i = 1, 25 do
  775. Swait()
  776. for E = 1, #GUNS do
  777. GUNS[E].Transparency = GUNS[E].Transparency - 1/25
  778. end
  779. end
  780. wait(0.1)
  781. CamShake(8,15)
  782. for E = 1, #GUNS do
  783. local SHOOT = GUNS[E]
  784. coroutine.resume(coroutine.create(function()
  785. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,SHOOT.CFrame*CF(0,0,-15).p,17)
  786. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  787. SHOOT.CanCollide = true
  788. SHOOT.Anchored = false
  789. SHOOT.Parent = workspace
  790. local bv = Instance.new("BodyVelocity",SHOOT)
  791. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  792. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  793. Debris:AddItem(bv,0.1)
  794. wait(5)
  795. for i = 1, 45 do
  796. Swait()
  797. SHOOT.Transparency = SHOOT.Transparency + 1/45
  798. end
  799. end))
  800. wait()
  801. end
  802. end))
  803. CreateSound(GRUNTS[MRANDOM(1,#GRUNTS)], Torso, 6, 1.1, false)
  804. for i=0, 1, 0.1 / Animation_Speed do
  805. Swait()
  806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  810. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  811. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  812. end
  813. end
  814. ATTACK = false
  815. Rooted = false
  816. end
  817. function Tripwire()
  818. ATTACK = true
  819. Rooted = true
  820. TRIPWIRE = true
  821. coroutine.resume(coroutine.create(function()
  822. repeat
  823. Swait()
  824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  828. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  830. until ATTACK == false
  831. end))
  832. local SHOOT = OhnoItsAShotgun()
  833. local CFRAME = CF(-1.5,0,1.5) * ANGLES(RAD(0), RAD(45), RAD(0))
  834. SHOOT.CFrame = Torso.CFrame*CFRAME
  835. coroutine.resume(coroutine.create(function()
  836. repeat
  837. SHOOT.CFrame = Clerp(SHOOT.CFrame,Torso.CFrame*CFRAME,0.1)
  838. Swait()
  839. until HOLD == true
  840. TRIPWIRE = false
  841. local LOC = SHOOT.CFrame*CF(0,3,0).p
  842. for i = 1, 15 do
  843. Swait()
  844. SHOOT.Transparency = SHOOT.Transparency - 1/15
  845. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
  846. end
  847. SHOOT.Transparency = 0
  848. for i = 1, 2 do
  849. Swait()
  850. SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
  851. end
  852. PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
  853. CamShake(8,9)
  854. SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
  855. SHOOT.CanCollide = true
  856. SHOOT.Anchored = false
  857. SHOOT.Parent = workspace
  858. local bv = Instance.new("BodyVelocity",SHOOT)
  859. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  860. bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
  861. Debris:AddItem(bv,0.1)
  862. wait(5)
  863. for i = 1, 45 do
  864. Swait()
  865. SHOOT.Transparency = SHOOT.Transparency + 1/45
  866. end
  867. end))
  868. CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
  869. for i = 1, 15 do
  870. Swait()
  871. SHOOT.Transparency = SHOOT.Transparency - 1/150
  872. end
  873. ATTACK = false
  874. Rooted = false
  875. end
  876. function Mend()
  877. if Humanoid.Health < Humanoid.MaxHealth - 150 then
  878. ATTACK = true
  879. Rooted = true
  880. for i=0, 0.25, 0.1 / Animation_Speed do
  881. Swait()
  882. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  884. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  885. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  886. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  887. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  888. end
  889. local LOOP = 0
  890. repeat
  891. LOOP = LOOP + 1
  892. Swait()
  893. Humanoid.Health = Humanoid.Health + 1
  894. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  895. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  896. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.4) * ANGLES(RAD(55), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  897. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.7 - 0.4 * SIN(LOOP / 4)) * ANGLES(RAD(50 + 25 * COS(LOOP / 4)), RAD(0), RAD(65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  898. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  899. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  900. until KEYHOLD == false or Humanoid.Health == Humanoid.MaxHealth
  901. for i=0, 0.15, 0.1 / Animation_Speed do
  902. Swait()
  903. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  904. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  905. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  906. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  907. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  908. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  909. end
  910. ATTACK = false
  911. Rooted = false
  912. end
  913. end
  914. function Taunt()
  915. ATTACK = true
  916. Rooted = true
  917. local L = CreateSound(1278007556,Head,8,1.1,false)
  918. L.EmitterSize = 25
  919. for i = 1, 20 do
  920. Swait()
  921. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  922. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  923. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  924. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  925. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  926. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  927. end
  928. for i = 1, 40 do
  929. Swait()
  930. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  931. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  932. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  933. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  934. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  935. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  936. end
  937. ATTACK = false
  938. Rooted = false
  939. end
  940. function DoubleJump()
  941. ATTACK = true
  942. Rooted = false
  943. Torso.Velocity = Vector3.new(Torso.Velocity.X,125,Torso.Velocity.Z)
  944. CreateSound(159882477, Head, 4, 1, false)
  945. CreateSound(1112042117, Torso, 2, 1, false)
  946. local E = 360/12
  947. for i=1, 12 do
  948. Swait()
  949. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2.5 / Animation_Speed)
  950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  953. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  954. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  955. end
  956. ATTACK = false
  957. Rooted = false
  958. end
  959.  
  960. --//=================================\\
  961. --|| ASSIGN THINGS TO KEYS
  962. --\\=================================//
  963.  
  964. function MouseDown(Mouse)
  965. HOLD = true
  966. if ATTACK == false then
  967. end
  968. end
  969.  
  970. function MouseUp(Mouse)
  971. HOLD = false
  972. end
  973.  
  974. local READYTODOUBLE = false
  975. local DOUBLED = false
  976.  
  977. function KeyDown(Key)
  978. KEYHOLD = true
  979. if Key == "c" and ATTACK == false then
  980. Conjour()
  981. end
  982.  
  983. if Key == "v" and ATTACK == false then
  984. Aerial_Bombardament()
  985. end
  986.  
  987. if Key == "b" and ATTACK == false then
  988. Point_Blank()
  989. end
  990.  
  991. if Key == "f" and ATTACK == false and TRIPWIRE == false and ANIM == "Idle" then
  992. Tripwire()
  993. end
  994.  
  995. if Key == "m" and ATTACK == false then
  996. Mend()
  997. end
  998.  
  999. if Key == "t" and ATTACK == false then
  1000. Taunt()
  1001. end
  1002.  
  1003. if string.byte(Key) == 32 and READYTODOUBLE == true and ATTACK == false and Humanoid.Jump == true and DOUBLED == false then
  1004. READYTODOUBLE = false
  1005. DOUBLED = true
  1006. DoubleJump()
  1007. end
  1008. end
  1009.  
  1010. function KeyUp(Key)
  1011. KEYHOLD = false
  1012. end
  1013.  
  1014. Mouse.Button1Down:connect(function(NEWKEY)
  1015. MouseDown(NEWKEY)
  1016. end)
  1017. Mouse.Button1Up:connect(function(NEWKEY)
  1018. MouseUp(NEWKEY)
  1019. end)
  1020. Mouse.KeyDown:connect(function(NEWKEY)
  1021. KeyDown(NEWKEY)
  1022. end)
  1023. Mouse.KeyUp:connect(function(NEWKEY)
  1024. KeyUp(NEWKEY)
  1025. end)
  1026.  
  1027. --//=================================\\
  1028. --\\=================================//
  1029.  
  1030. function unanchor()
  1031. for _, c in pairs(Character:GetChildren()) do
  1032. if c:IsA("BasePart") and c ~= RootPart then
  1033. c.Anchored = false
  1034. end
  1035. end
  1036. if UNANCHOR == true then
  1037. RootPart.Anchored = false
  1038. else
  1039. RootPart.Anchored = true
  1040. end
  1041. end
  1042.  
  1043. --//=================================\\
  1044. --|| WRAP THE WHOLE SCRIPT UP
  1045. --\\=================================//
  1046.  
  1047. Humanoid.Changed:connect(function(Jump)
  1048. if Jump == "Jump" and (Disable_Jump == true) then
  1049. Humanoid.Jump = false
  1050. elseif Jump == "Jump" and (Disable_Jump == false) and DOUBLED == false then
  1051. wait(0.1)
  1052. READYTODOUBLE = true
  1053. end
  1054. end)
  1055.  
  1056. while true do
  1057. Swait()
  1058. script.Parent = WEAPONGUI
  1059. ANIMATE.Parent = nil
  1060. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1061. v:Stop();
  1062. end
  1063. SINE = SINE + CHANGE
  1064. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1065. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1066. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1067. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  1068. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1069. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1070. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1071. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1072. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1073. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1074. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1075. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1076. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  1077. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  1078. end
  1079. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1080. ANIM = "Jump"
  1081. if ATTACK == false then
  1082. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1086. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1087. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1088. end
  1089. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1090. ANIM = "Fall"
  1091. if ATTACK == false then
  1092. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1096. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1098. end
  1099. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1100. ANIM = "Idle"
  1101. DOUBLED = false
  1102. READYTODOUBLE = false
  1103. if ATTACK == false then
  1104. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1108. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1109. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1110. end
  1111. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1112. ANIM = "Walk"
  1113. DOUBLED = false
  1114. READYTODOUBLE = false
  1115. if ATTACK == false then
  1116. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1117. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1118. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1119. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1120. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1121. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1122. end
  1123. end
  1124. unanchor()
  1125. if Rooted == false then
  1126. Disable_Jump = false
  1127. Humanoid.WalkSpeed = Speed
  1128. elseif Rooted == true then
  1129. Disable_Jump = true
  1130. Humanoid.WalkSpeed = 0
  1131. end
  1132. BMUSIC.SoundId = "rbxassetid://"..SONGID
  1133. BMUSIC.Looped = true
  1134. BMUSIC.Pitch = PITCH
  1135. BMUSIC.Volume = VOLUME
  1136. BMUSIC.Playing = true
  1137. if BMUSIC.Parent ~= RootPart then
  1138. BMUSIC = IT("Sound",RootPart)
  1139. end
  1140. Humanoid.Name = "NONHUM"
  1141. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1142. HEALTHTEXT.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1143. end
  1144.  
  1145. --//=================================\\
  1146. --\\=================================//
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152. --//====================================================\\--
  1153. --|| END OF SCRIPT
  1154. --\\====================================================//--
Add Comment
Please, Sign In to add comment