Advertisement
joe201501

Chinese

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