Advertisement
yabagaba

Untitled

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