Advertisement
memberhero

????

Apr 18th, 2018
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.08 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Character.Archivable = true
  18. Mouse = Player:GetMouse()
  19. RootPart = Character["HumanoidRootPart"]
  20. Torso = Character["Torso"]
  21. Head = Character["Head"]
  22. RightArm = Character["Right Arm"]
  23. LeftArm = Character["Left Arm"]
  24. RightLeg = Character["Right Leg"]
  25. LeftLeg = Character["Left Leg"]
  26. RootJoint = RootPart["RootJoint"]
  27. Neck = Torso["Neck"]
  28. RightShoulder = Torso["Right Shoulder"]
  29. LeftShoulder = Torso["Left Shoulder"]
  30. RightHip = Torso["Right Hip"]
  31. LeftHip = Torso["Left Hip"]
  32. local sick = Instance.new("Sound",Character)
  33. sick.SoundId = "rbxassetid://694828974"
  34. sick.Name = "BGM"
  35. sick.Looped = true
  36. sick.Pitch = 1
  37. sick.Volume = 1.3
  38. sick:Play()
  39. Speed = 25
  40. local ISEEYOU = Instance.new("Sound",Torso)
  41. ISEEYOU.SoundId = "rbxassetid://913821443"
  42. ISEEYOU.Pitch = 1.15
  43. ISEEYOU.Volume = 5
  44.  
  45. IT = Instance.new
  46. CF = CFrame.new
  47. VT = Vector3.new
  48. RAD = math.rad
  49. C3 = Color3.new
  50. UD2 = UDim2.new
  51. BRICKC = BrickColor.new
  52. ANGLES = CFrame.Angles
  53. EULER = CFrame.fromEulerAnglesXYZ
  54. COS = math.cos
  55. ACOS = math.acos
  56. SIN = math.sin
  57. ASIN = math.asin
  58. ABS = math.abs
  59. MRANDOM = math.random
  60. FLOOR = math.floor
  61.  
  62. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  63. local NEWMESH = IT(MESH)
  64. if MESH == "SpecialMesh" then
  65. NEWMESH.MeshType = MESHTYPE
  66. if MESHID ~= "nil" and MESHID ~= "" then
  67. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  68. end
  69. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  70. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  71. end
  72. end
  73. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  74. NEWMESH.Scale = SCALE
  75. NEWMESH.Parent = PARENT
  76. return NEWMESH
  77. end
  78.  
  79. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  80. local NEWPART = IT("Part")
  81. NEWPART.formFactor = FORMFACTOR
  82. NEWPART.Reflectance = REFLECTANCE
  83. NEWPART.Transparency = TRANSPARENCY
  84. NEWPART.CanCollide = false
  85. NEWPART.Locked = true
  86. NEWPART.Anchored = true
  87. if ANCHOR == false then
  88. NEWPART.Anchored = false
  89. end
  90. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  91. NEWPART.Name = NAME
  92. NEWPART.Size = SIZE
  93. NEWPART.Position = Torso.Position
  94. NEWPART.Material = MATERIAL
  95. NEWPART:BreakJoints()
  96. NEWPART.Parent = PARENT
  97. return NEWPART
  98. end
  99.  
  100. --//=================================\\
  101. --|| CUSTOMIZATION
  102. --\\=================================//
  103.  
  104. Player_Size = 1 --Size of the player.
  105. Animation_Speed = 3
  106. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  107.  
  108. local Speed = 16
  109. local Effects2 = {}
  110.  
  111. --//=================================\\
  112. --|| END OF CUSTOMIZATION
  113. --\\=================================//
  114.  
  115. local function weldBetween(a, b)
  116. local weldd = Instance.new("ManualWeld")
  117. weldd.Part0 = a
  118. weldd.Part1 = b
  119. weldd.C0 = CFrame.new()
  120. weldd.C1 = b.CFrame:inverse() * a.CFrame
  121. weldd.Parent = a
  122. return weldd
  123. end
  124.  
  125. --//=================================\\
  126. --|| USEFUL VALUES
  127. --\\=================================//
  128.  
  129. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  130. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  131. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  132. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  133. local CHANGEDEFENSE = 0
  134. local CHANGEDAMAGE = 0
  135. local CHANGEMOVEMENT = 0
  136. local ANIM = "Idle"
  137. local ATTACK = false
  138. local EQUIPPED = false
  139. local HOLD = false
  140. local COMBO = 1
  141. local Rooted = false
  142. local SINE = 0
  143. local KEYHOLD = false
  144. local CHANGE = 2 / Animation_Speed
  145. local WALKINGANIM = false
  146. local WALK = 0
  147. local VALUE1 = false
  148. local VALUE2 = false
  149. local ROBLOXIDLEANIMATION = IT("Animation")
  150. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  151. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  152. --ROBLOXIDLEANIMATION.Parent = Humanoid
  153. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  154. WEAPONGUI.Name = "Weapon GUI"
  155. local Weapon = IT("Model")
  156. Weapon.Name = "Adds"
  157. local Effects = IT("Folder", Weapon)
  158. Effects.Name = "Effects"
  159. local ANIMATOR = Humanoid.Animator
  160. local ANIMATE = Character.Animate
  161. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  162. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  163. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  164. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  165. local UNANCHOR = true
  166. local TARGET = nil
  167.  
  168. local EYECOLOR = 1
  169. local SKILLTEXTCOLOR = C3(1,1,1)
  170.  
  171. --//=================================\\
  172. --\\=================================//
  173.  
  174.  
  175. --//=================================\\
  176. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  177. --\\=================================//
  178.  
  179. ArtificialHB = Instance.new("BindableEvent", script)
  180. ArtificialHB.Name = "ArtificialHB"
  181.  
  182. script:WaitForChild("ArtificialHB")
  183.  
  184. frame = Frame_Speed
  185. tf = 0
  186. allowframeloss = false
  187. tossremainder = false
  188. lastframe = tick()
  189. script.ArtificialHB:Fire()
  190.  
  191. game:GetService("RunService").Heartbeat:connect(function(s, p)
  192. tf = tf + s
  193. if tf >= frame then
  194. if allowframeloss then
  195. script.ArtificialHB:Fire()
  196. lastframe = tick()
  197. else
  198. for i = 1, math.floor(tf / frame) do
  199. script.ArtificialHB:Fire()
  200. end
  201. lastframe = tick()
  202. end
  203. if tossremainder then
  204. tf = 0
  205. else
  206. tf = tf - frame * math.floor(tf / frame)
  207. end
  208. end
  209. end)
  210.  
  211. --//=================================\\
  212. --\\=================================//
  213.  
  214.  
  215.  
  216.  
  217.  
  218. --//=================================\\
  219. --|| SOME FUNCTIONS
  220. --\\=================================//
  221.  
  222. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  223. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  224. end
  225.  
  226. function PositiveAngle(NUMBER)
  227. if NUMBER >= 0 then
  228. NUMBER = 0
  229. end
  230. return NUMBER
  231. end
  232.  
  233. function NegativeAngle(NUMBER)
  234. if NUMBER <= 0 then
  235. NUMBER = 0
  236. end
  237. return NUMBER
  238. end
  239.  
  240. function Swait(NUMBER)
  241. if NUMBER == 0 or NUMBER == nil then
  242. ArtificialHB.Event:wait()
  243. else
  244. for i = 1, NUMBER do
  245. ArtificialHB.Event:wait()
  246. end
  247. end
  248. end
  249.  
  250. function QuaternionFromCFrame(cf)
  251. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  252. local trace = m00 + m11 + m22
  253. if trace > 0 then
  254. local s = math.sqrt(1 + trace)
  255. local recip = 0.5 / s
  256. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  257. else
  258. local i = 0
  259. if m11 > m00 then
  260. i = 1
  261. end
  262. if m22 > (i == 0 and m00 or m11) then
  263. i = 2
  264. end
  265. if i == 0 then
  266. local s = math.sqrt(m00 - m11 - m22 + 1)
  267. local recip = 0.5 / s
  268. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  269. elseif i == 1 then
  270. local s = math.sqrt(m11 - m22 - m00 + 1)
  271. local recip = 0.5 / s
  272. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  273. elseif i == 2 then
  274. local s = math.sqrt(m22 - m00 - m11 + 1)
  275. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  276. end
  277. end
  278. end
  279.  
  280. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  281. local xs, ys, zs = x + x, y + y, z + z
  282. local wx, wy, wz = w * xs, w * ys, w * zs
  283. local xx = x * xs
  284. local xy = x * ys
  285. local xz = x * zs
  286. local yy = y * ys
  287. local yz = y * zs
  288. local zz = z * zs
  289. 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))
  290. end
  291.  
  292. function QuaternionSlerp(a, b, t)
  293. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  294. local startInterp, finishInterp;
  295. if cosTheta >= 0.0001 then
  296. if (1 - cosTheta) > 0.0001 then
  297. local theta = ACOS(cosTheta)
  298. local invSinTheta = 1 / SIN(theta)
  299. startInterp = SIN((1 - t) * theta) * invSinTheta
  300. finishInterp = SIN(t * theta) * invSinTheta
  301. else
  302. startInterp = 1 - t
  303. finishInterp = t
  304. end
  305. else
  306. if (1 + cosTheta) > 0.0001 then
  307. local theta = ACOS(-cosTheta)
  308. local invSinTheta = 1 / SIN(theta)
  309. startInterp = SIN((t - 1) * theta) * invSinTheta
  310. finishInterp = SIN(t * theta) * invSinTheta
  311. else
  312. startInterp = t - 1
  313. finishInterp = t
  314. end
  315. end
  316. 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
  317. end
  318.  
  319. function Clerp(a, b, t)
  320. local qa = {QuaternionFromCFrame(a)}
  321. local qb = {QuaternionFromCFrame(b)}
  322. local ax, ay, az = a.x, a.y, a.z
  323. local bx, by, bz = b.x, b.y, b.z
  324. local _t = 1 - t
  325. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  326. end
  327.  
  328. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  329. local frame = IT("Frame")
  330. frame.BackgroundTransparency = TRANSPARENCY
  331. frame.BorderSizePixel = BORDERSIZEPIXEL
  332. frame.Position = POSITION
  333. frame.Size = SIZE
  334. frame.BackgroundColor3 = COLOR
  335. frame.BorderColor3 = BORDERCOLOR
  336. frame.Name = NAME
  337. frame.Parent = PARENT
  338. return frame
  339. end
  340.  
  341. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  342. local label = IT("TextLabel")
  343. label.BackgroundTransparency = 1
  344. label.Size = UD2(1, 0, 1, 0)
  345. label.Position = UD2(0, 0, 0, 0)
  346. label.TextColor3 = TEXTCOLOR
  347. label.TextStrokeTransparency = STROKETRANSPARENCY
  348. label.TextTransparency = TRANSPARENCY
  349. label.FontSize = TEXTFONTSIZE
  350. label.Font = TEXTFONT
  351. label.BorderSizePixel = BORDERSIZEPIXEL
  352. label.TextScaled = false
  353. label.Text = TEXT
  354. label.Name = NAME
  355. label.Parent = PARENT
  356. return label
  357. end
  358.  
  359. function NoOutlines(PART)
  360. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  361. end
  362.  
  363.  
  364. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  365. local NEWWELD = IT(TYPE)
  366. NEWWELD.Part0 = PART0
  367. NEWWELD.Part1 = PART1
  368. NEWWELD.C0 = C0
  369. NEWWELD.C1 = C1
  370. NEWWELD.Parent = PARENT
  371. return NEWWELD
  372. end
  373.  
  374. function CreateSound(ID, PARENT, VOLUME, PITCH)
  375. local NEWSOUND = nil
  376. coroutine.resume(coroutine.create(function()
  377. NEWSOUND = IT("Sound", PARENT)
  378. NEWSOUND.Volume = VOLUME
  379. NEWSOUND.Pitch = PITCH
  380. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  381. Swait()
  382. NEWSOUND:play()
  383. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  384. end))
  385. return NEWSOUND
  386. end
  387.  
  388. function CFrameFromTopBack(at, top, back)
  389. local right = top:Cross(back)
  390. 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)
  391. end
  392.  
  393. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  394. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  395. local mesh = nil
  396. if KIND == "Base" then
  397. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  398. elseif KIND == "Thin" then
  399. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  400. elseif KIND == "Round" then
  401. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  402. end
  403. wave.CFrame = CFRAME
  404. coroutine.resume(coroutine.create(function(PART)
  405. for i = 1, WAIT do
  406. Swait()
  407. mesh.Scale = mesh.Scale + GROW/10
  408. wave.Transparency = wave.Transparency + (0.5/WAIT)
  409. if wave.Transparency > 0.99 then
  410. wave:remove()
  411. end
  412. end
  413. end))
  414. end
  415.  
  416. function MakeForm(PART,TYPE)
  417. if TYPE == "Cyl" then
  418. local MSH = IT("CylinderMesh",PART)
  419. elseif TYPE == "Ball" then
  420. local MSH = IT("SpecialMesh",PART)
  421. MSH.MeshType = "Sphere"
  422. elseif TYPE == "Wedge" then
  423. local MSH = IT("SpecialMesh",PART)
  424. MSH.MeshType = "Wedge"
  425. end
  426. end
  427.  
  428. function CheckTableForString(Table, String)
  429. for i, v in pairs(Table) do
  430. if string.find(string.lower(String), string.lower(v)) then
  431. return true
  432. end
  433. end
  434. return false
  435. end
  436.  
  437. function CheckIntangible(Hit)
  438. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  439. if Hit and Hit.Parent then
  440. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  441. return true
  442. end
  443. end
  444. return false
  445. end
  446.  
  447. Debris = game:GetService("Debris")
  448.  
  449. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  450. local Direction = CFrame.new(StartPos, Vec).lookVector
  451. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  452. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  453. if RayHit and CheckIntangible(RayHit) then
  454. if DelayIfHit then
  455. wait()
  456. end
  457. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  458. end
  459. return RayHit, RayPos, RayNormal
  460. end
  461.  
  462. function turnto(position)
  463. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  464. end
  465.  
  466. --//=================================\\
  467. --|| WEAPON CREATION
  468. --\\=================================//
  469.  
  470. local GYRO = IT("BodyGyro",RootPart)
  471. GYRO.D = 100
  472. GYRO.P = 2000
  473. GYRO.MaxTorque = VT(0,4000000,0)
  474. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  475.  
  476. Head:ClearAllChildren()
  477. Head.Transparency = 1
  478.  
  479. function particles(art)
  480. local EyeSizes={
  481. NumberSequenceKeypoint.new(0,0.3,0),
  482. NumberSequenceKeypoint.new(1,0,0)
  483. }
  484. local EyeTrans={
  485. NumberSequenceKeypoint.new(0,0.2,0),
  486. NumberSequenceKeypoint.new(1,1,0)
  487. }
  488. local PE=Instance.new("ParticleEmitter",art)
  489. PE.LightEmission=.4
  490. PE.Size=NumberSequence.new(EyeSizes)
  491. PE.Transparency=NumberSequence.new(EyeTrans)
  492. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  493. PE.Rotation=NumberRange.new(0,360)
  494. PE.Rate=999
  495. PE.Acceleration = Vector3.new(0,75,0)
  496. PE.Drag = 5
  497. PE.Speed = NumberRange.new(0,0,0)
  498. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  499. PE.ZOffset = -1.5
  500. PE.Name = "PE"
  501. end
  502.  
  503. local SKULL = CreatePart(3, Character, "Wood", 0,0, "Really black", "FACE", VT(0,0,0),false)
  504. CreateWeldOrSnapOrMotor("Weld", SKULL, Head, SKULL, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  505. CreateMesh("SpecialMesh", SKULL, "FileMesh", "14028428", "14027832", VT(1,1,1), VT(0, 0.2, -0.35))
  506.  
  507. local SKULL = CreatePart(3, Character, "Wood", 0,0, "Really black", "FACE", VT(0,0,0),false)
  508. CreateWeldOrSnapOrMotor("Weld", SKULL, Head, SKULL, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  509. CreateMesh("SpecialMesh", SKULL, "FileMesh", "1271547", "186320934", VT(1,1,1)*1.5, VT(0, 1.365, 0))
  510.  
  511. local Part = CreatePart(3, Head, "Neon", 0,0, "Pearl", "Eye", VT(0.2,0.2,0.2),false)
  512. Part.Color = C3(1,1,1)
  513. CreateWeldOrSnapOrMotor("Weld", Part, Head, Part, CF(0.35, 0.1, -0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  514. MakeForm(Part,"Ball")
  515.  
  516. local A = nil
  517. local B = nil
  518.  
  519. local HandlePart = CreatePart(3, Weapon, "Wood", 0,0, "Really black", "Handle", VT(0.2,1.5,0.2),false)
  520. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -1, 0) * ANGLES(RAD(65), RAD(-35), RAD(0)), CF(0, 0, 0))
  521. MakeForm(HandlePart,"Ball")
  522.  
  523. for i = 1, 2 do
  524. local Part = CreatePart(3, Weapon, "Wood", 0,0, "Really black", "Handle", VT(0.2,0.2,0.2),false)
  525. CreateWeldOrSnapOrMotor("Weld", Part, HandlePart, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(360/i)), CF(0, 0.45, 0))
  526. MakeForm(Part,"Ball")
  527.  
  528. local Spike = CreatePart(3, Weapon, "Wood", 0,0, "Really black", "Handle", VT(0,0.45,0),false)
  529. CreateWeldOrSnapOrMotor("Weld", Spike, Part, Spike, CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0.25, 0))
  530. MakeForm(Spike,"Ball")
  531.  
  532. local BowPart = CreatePart(3, Weapon, "Wood", 0,1, "Really black", "Handle", VT(0.2,0.2,0.2),false)
  533. local Weld = CreateWeldOrSnapOrMotor("Weld", BowPart, HandlePart, BowPart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(360/i)), CF(0, 0.55, 0))
  534. Weld.Name = "BowWeld"
  535.  
  536. local Part1 = CreatePart(3, Weapon, "Wood", 0,0, "Really black", "Handle", VT(0.2,1,0.2),false)
  537. CreateWeldOrSnapOrMotor("Weld", Part1, BowPart, Part1, CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 0.45, 0))
  538. MakeForm(Part1,"Ball")
  539. local Part2 = CreatePart(3, Weapon, "Wood", 0,0, "Really black", "Handle", VT(0.25,1,0.25),false)
  540. CreateWeldOrSnapOrMotor("Weld", Part2, Part1, Part2, CF(0, -0.1, 0.1) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 0.75, 0))
  541. MakeForm(Part2,"Ball")
  542. particles(Part2)
  543. if A == nil then
  544. A = IT("Attachment",Part2)
  545. A.Position = VT(0,-0.48,0)
  546. else
  547. B = IT("Attachment",Part2)
  548. B.Position = VT(0,-0.48,0)
  549. end
  550. end
  551.  
  552. local BEAM = IT("Beam",Weapon)
  553. BEAM.Attachment0 = A
  554. BEAM.Attachment1 = B
  555. BEAM.FaceCamera = true
  556. BEAM.Transparency = NumberSequence.new(0)
  557. BEAM.Width0 = 0.02
  558. BEAM.Width1 = 0.02
  559.  
  560. for _, c in pairs(Weapon:GetChildren()) do
  561. if c.ClassName == "Part" then
  562. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  563. end
  564. end
  565.  
  566. Weapon.Parent = Character
  567.  
  568. Humanoid.Died:connect(function()
  569. ATTACK = true
  570. end)
  571.  
  572. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  573. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  574. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  575. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  576.  
  577. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] Take Aim", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text 1")
  578. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[Z] Arrow Shot", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text 2")
  579. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V] Point Blanc", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text 3")
  580. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Hunter's Mark", C3(1,0,0), 7, "Antique", 0, 2, 0, "Text 4")
  581.  
  582. --//=================================\\
  583. --|| DAMAGE FUNCTIONS
  584. --\\=================================//
  585.  
  586. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  587. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  588. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  589. local BODYGYRO = IT("BodyGyro", STATPART)
  590. local BODYPOSITION = IT("BodyPosition", STATPART)
  591. BODYPOSITION.P = 2000
  592. BODYPOSITION.D = 100
  593. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  594. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  595. game:GetService("Debris"):AddItem(STATPART ,5)
  596. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  597. BILLBOARDGUI.Adornee = STATPART
  598. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  599. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  600. BILLBOARDGUI.AlwaysOnTop = false
  601. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  602. TEXTLABEL.BackgroundTransparency = 1
  603. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  604. TEXTLABEL.Text = TEXT
  605. TEXTLABEL.Font = "SciFi"
  606. TEXTLABEL.FontSize="Size42"
  607. TEXTLABEL.TextColor3 = COLOR
  608. TEXTLABEL.TextStrokeTransparency = 1
  609. TEXTLABEL.TextScaled = true
  610. TEXTLABEL.TextWrapped = true
  611. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  612. if LABELTYPE == "Normal" then
  613. for i = 1, 30 do
  614. Swait()
  615. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  616. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  617. end
  618. elseif LABELTYPE == "Debuff" then
  619. for i = 1, 30 do
  620. Swait()
  621. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  622. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  623. end
  624. elseif LABELTYPE == "Shock" then
  625. local ORIGIN = STATPART.Position
  626. for i = 1, 30 do
  627. Swait()
  628. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  629. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  630. end
  631. end
  632. THEPART.Parent = nil
  633. end),STATPART, BODYPOSITION, TEXTLABEL)
  634. end
  635.  
  636. --//=================================\\
  637. --|| DAMAGING
  638. --\\=================================//
  639.  
  640. local EyeSizes={
  641. NumberSequenceKeypoint.new(0,1,0),
  642. NumberSequenceKeypoint.new(1,0,0)
  643. }
  644. local EyeTrans={
  645. NumberSequenceKeypoint.new(0,0.8,0),
  646. NumberSequenceKeypoint.new(1,1,0)
  647. }
  648. local PE=Instance.new("ParticleEmitter",art)
  649. PE.LightEmission=.8
  650. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  651. PE.Size=NumberSequence.new(EyeSizes)
  652. PE.Transparency=NumberSequence.new(EyeTrans)
  653. PE.Lifetime=NumberRange.new(0.35,1.5)
  654. PE.Rotation=NumberRange.new(0,360)
  655. PE.Rate=999
  656. PE.VelocitySpread = 10000
  657. PE.Acceleration = Vector3.new(0,0,0)
  658. PE.Drag = 5
  659. PE.Speed = NumberRange.new(0,0,0)
  660. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  661. PE.ZOffset = -1.5
  662. PE.Name = "PE"
  663. PE.Enabled = true
  664.  
  665. function particles(art)
  666. local PARTICLES = PE:Clone()
  667. PARTICLES.Parent = art
  668. end
  669.  
  670. function Ragdoll(Character2,CharTorso)
  671. local svch = Character2
  672. Character2:BreakJoints()
  673. local hum = Character2:findFirstChild("Humanoid")
  674. local q = Character2:GetChildren()
  675. local CLONE = IT("Model",Effects)
  676. for i = 1,#q do
  677. if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  678. q[i].Parent = CLONE
  679. else
  680. if q[i].ClassName ~= "Humanoid" then
  681. q[i]:remove()
  682. end
  683. end
  684. end
  685. local chrclone = CLONE
  686. local ch = chrclone:GetChildren()
  687. local i
  688. for i = 1,#ch do
  689. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  690. ch[i]:remove()
  691. end
  692. end
  693. local function Scan(ch)
  694. local e
  695. for e = 1,#ch do
  696. Scan(ch[e]:GetChildren())
  697. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  698. ch[e]:remove()
  699. end
  700. end
  701. end
  702. Character2:remove()
  703. local NEWHUM = IT("Humanoid")
  704. NEWHUM.Name = "Corpse"
  705. NEWHUM.Health = 0
  706. NEWHUM.MaxHealth = 0
  707. NEWHUM.PlatformStand = true
  708. NEWHUM.Parent = CLONE
  709. NEWHUM.DisplayDistanceType = "None"
  710. Scan(chrclone:GetChildren())
  711.  
  712. local ch = Character2:GetChildren()
  713. local i
  714. for i = 1,#ch do
  715. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  716. ch[i]:remove()
  717. end
  718. end
  719.  
  720. local ch = Character2:GetChildren()
  721. local i
  722. for i = 1,#ch do
  723. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  724. ch[i]:remove()
  725. end
  726. end
  727. Character2 = chrclone
  728. local Torso2 = Character2.Torso
  729. local movevector = Vector3.new()
  730.  
  731. if Torso2 then
  732. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  733. local Head = Character2:FindFirstChild("Head")
  734. if Head then
  735. local Neck = Instance.new("Weld")
  736. Neck.Name = "Neck"
  737. Neck.Part0 = Torso2
  738. Neck.Part1 = Head
  739. Neck.C0 = CFrame.new(0, 1.5, 0)
  740. Neck.C1 = CFrame.new()
  741. Neck.Parent = Torso2
  742. CreateSound("337800380", Head, 5, (math.random(8,18)/10))
  743.  
  744. end
  745. local Limb = Character2:FindFirstChild("Right Arm")
  746. if Limb then
  747.  
  748. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  749. local Joint = Instance.new("Glue")
  750. Joint.Name = "RightShoulder"
  751. Joint.Part0 = Torso2
  752. Joint.Part1 = Limb
  753. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  754. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  755. Joint.Parent = Torso2
  756.  
  757. local B = Instance.new("Part")
  758. B.TopSurface = 0
  759. B.BottomSurface = 0
  760. B.formFactor = "Symmetric"
  761. B.Size = Vector3.new(1, 1, 1)
  762. B.Transparency = 1
  763. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  764. B.Parent = Character2
  765. local W = Instance.new("Weld")
  766. W.Part0 = Limb
  767. W.Part1 = B
  768. W.C0 = CFrame.new(0, -0.5, 0)
  769. W.Parent = Limb
  770.  
  771. end
  772. local Limb = Character2:FindFirstChild("Left Arm")
  773. if Limb then
  774.  
  775. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  776. local Joint = Instance.new("Glue")
  777. Joint.Name = "LeftShoulder"
  778. Joint.Part0 = Torso2
  779. Joint.Part1 = Limb
  780. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  781. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  782. Joint.Parent = Torso2
  783.  
  784. local B = Instance.new("Part")
  785. B.TopSurface = 0
  786. B.BottomSurface = 0
  787. B.formFactor = "Symmetric"
  788. B.Size = Vector3.new(1, 1, 1)
  789. B.Transparency = 1
  790. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  791. B.Parent = Character2
  792. local W = Instance.new("Weld")
  793. W.Part0 = Limb
  794. W.Part1 = B
  795. W.C0 = CFrame.new(0, -0.5, 0)
  796. W.Parent = Limb
  797.  
  798. end
  799. local Limb = Character2:FindFirstChild("Right Leg")
  800. if Limb then
  801.  
  802. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  803. local Joint = Instance.new("Glue")
  804. Joint.Name = "RightHip"
  805. Joint.Part0 = Torso2
  806. Joint.Part1 = Limb
  807. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  808. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  809. Joint.Parent = Torso2
  810.  
  811. local B = Instance.new("Part")
  812. B.TopSurface = 0
  813. B.BottomSurface = 0
  814. B.formFactor = "Symmetric"
  815. B.Size = Vector3.new(1, 1, 1)
  816. B.Transparency = 1
  817. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  818. B.Parent = Character2
  819. local W = Instance.new("Weld")
  820. W.Part0 = Limb
  821. W.Part1 = B
  822. W.C0 = CFrame.new(0, -0.5, 0)
  823. W.Parent = Limb
  824.  
  825. end
  826. local Limb = Character2:FindFirstChild("Left Leg")
  827. if Limb then
  828.  
  829. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  830. local Joint = Instance.new("Glue")
  831. Joint.Name = "LeftHip"
  832. Joint.Part0 = Torso2
  833. Joint.Part1 = Limb
  834. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  835. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  836. Joint.Parent = Torso2
  837.  
  838. local B = Instance.new("Part")
  839. B.TopSurface = 0
  840. B.BottomSurface = 0
  841. B.formFactor = "Symmetric"
  842. B.Size = Vector3.new(1, 1, 1)
  843. B.Transparency = 1
  844. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  845. B.Parent = Character2
  846. local W = Instance.new("Weld")
  847. W.Part0 = Limb
  848. W.Part1 = B
  849. W.C0 = CFrame.new(0, -0.5, 0)
  850. W.Parent = Limb
  851.  
  852. end
  853. --[
  854. local Bar = Instance.new("Part")
  855. Bar.TopSurface = 0
  856. Bar.BottomSurface = 0
  857. Bar.formFactor = "Symmetric"
  858. Bar.Size = Vector3.new(1, 1, 1)
  859. Bar.Transparency = 1
  860. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  861. Bar.Parent = Character2
  862. local Weld = Instance.new("Weld")
  863. Weld.Part0 = Torso2
  864. Weld.Part1 = Bar
  865. Weld.C0 = CFrame.new(0, 0.5, 0)
  866. Weld.Parent = Torso2
  867. --]]
  868. end
  869. Character2.Parent = Weapon
  870. if movevector ~= Vector3.new() then
  871. for i = 1,10 do
  872. Torso2.Velocity = movevector * 150
  873. end
  874. end
  875. Character2.Name = "Corpse"
  876.  
  877. return Character2,Torso2
  878. end
  879.  
  880. function KillChildren(v)
  881. v:BreakJoints()
  882. for _, c in pairs(v:GetChildren()) do
  883. if c.ClassName == "Part" or c.ClassName == "MesPart" then
  884. if c.Transparency < 1 then
  885. if c:FindFirstChildOfClass("Decal") then
  886. c:FindFirstChildOfClass("Decal"):remove()
  887. end
  888. particles(c)
  889. c.PE.Enabled = true
  890. c.Parent = Effects
  891. c.CanCollide = false
  892. c.Material = "Neon"
  893. c.Color = C3(1,0,0)
  894. c.Transparency = 0.5
  895. local grav = Instance.new("BodyPosition",c)
  896. grav.P = 20000
  897. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  898. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  899. grav.Name = "GravityForce"
  900. coroutine.resume(coroutine.create(function()
  901. for i = 1, 50 do
  902. Swait()
  903. c.Transparency = c.Transparency + 0.01
  904. end
  905. c.PE.Enabled = false
  906. Debris:AddItem(c,2)
  907. end))
  908. end
  909. end
  910. end
  911. end
  912.  
  913. --//=================================\\
  914. --|| ATTACK FUNCTIONS AND STUFF
  915. --\\=================================//
  916.  
  917. function TakeAim()
  918. if Mouse.Target then
  919. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  920. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health ~= 0 then
  921. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  922. TARGET = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  923. local TORS = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  924. if TORS then
  925. local DIRECTION = CF(Torso.Position,TORS.Position).lookVector
  926. local DISTANCE = (Torso.Position - TORS.Position).Magnitude
  927. local CHECKFORTARGET = Raycast(Torso.Position, DIRECTION, DISTANCE+5, Character)
  928. if CHECKFORTARGET ~= nil then
  929. if CHECKFORTARGET.Parent == TARGET.Parent or CHECKFORTARGET.Parent.Parent == TARGET.Parent then
  930. ISEEYOU.Parent = Torso
  931. ISEEYOU:Play()
  932. print("Found Target")
  933. print(TARGET.Parent)
  934. repeat
  935. Swait()
  936. if TARGET == HUM and TARGET ~= nil then
  937. local TORS = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  938. if TORS then
  939. if TARGET.Health ~= 0 then
  940. local DIRECTION = CF(Torso.Position,TORS.Position).lookVector
  941. local DISTANCE = (Torso.Position - TORS.Position).Magnitude
  942. local CHECKFORTARGET = Raycast(Torso.Position, DIRECTION, DISTANCE+5, Character)
  943. if CHECKFORTARGET ~= nil then
  944. if CHECKFORTARGET.Parent ~= TARGET.Parent and CHECKFORTARGET.Parent.Parent ~= TARGET.Parent then
  945. TARGET = nil
  946. end
  947. else
  948. TARGET = nil
  949. end
  950. else
  951. TARGET = nil
  952. end
  953. else
  954. TARGET = nil
  955. end
  956. end
  957. until TARGET ~= HUM or TARGET == nil
  958. else
  959. TARGET = nil
  960. end
  961. end
  962. end
  963. end
  964. end
  965. end
  966. end
  967.  
  968. function AttackTemplate()
  969. ATTACK = true
  970. Rooted = false
  971. for i=0, 1, 0.1 / Animation_Speed do
  972. Swait()
  973. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(90), RAD(-35), RAD(0)), 0.5 / Animation_Speed)
  974. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  975. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  976. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  977. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  978. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  979. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  980. end
  981. ATTACK = false
  982. Rooted = false
  983. end
  984.  
  985. function SpawnTrail(FROM,TO)
  986. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0))
  987. MakeForm(TRAIL,"Ball")
  988. local DIST = (FROM - TO).Magnitude
  989. TRAIL.Size = VT(0.1,DIST,0.1)
  990. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  991. coroutine.resume(coroutine.create(function()
  992. for i = 1, 5 do
  993. Swait()
  994. TRAIL.Transparency = TRAIL.Transparency + 0.1
  995. end
  996. TRAIL:remove()
  997. end))
  998. end
  999.  
  1000. function ArrowShot()
  1001. ISEEYOU:Stop()
  1002. ATTACK = true
  1003. Rooted = true
  1004. local POINTTARGET = Torso
  1005. local HITPOS = nil
  1006. VALUE1 = true
  1007. local LOOP = 0
  1008. local HIT = false
  1009. local DirectAim = nil
  1010. local DECOYARROW = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Arrow", VT(0,0,0),false)
  1011. CreateMesh("SpecialMesh", DECOYARROW, "FileMesh", "95920149", "95920067", VT(1,1,1), VT(0, 0, 0))
  1012. DECOYARROW.CFrame = HandlePart.CFrame * ANGLES(RAD(180), RAD(0), RAD(0))
  1013. weldBetween(HandlePart,DECOYARROW)
  1014. repeat
  1015. Swait()
  1016. LOOP = LOOP + 1
  1017. if TARGET then
  1018. local TORS = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1019. if TORS then
  1020. if TARGET.Health == 0 or TARGET == nil then
  1021. break
  1022. end
  1023. local DISTANCE = (Torso.Position - TORS.Position).Magnitude
  1024. POINTTARGET = Raycast(RootPart.Position,RootPart.CFrame.lookVector, DISTANCE, workspace)
  1025. DirectAim,HITPOS = Raycast(RootPart.Position,CF(RootPart.Position,TORS.Position).lookVector, DISTANCE+5, Character)
  1026. if POINTTARGET == nil then
  1027. POINTTARGET = Torso
  1028. end
  1029. if DirectAim ~= nil then
  1030. if HITPOS.X - TORS.Position.X < 1 and DirectAim.Parent == TARGET.Parent then
  1031. HIT = true
  1032. elseif HITPOS.Z - TORS.Position.Z < 1 and DirectAim.Parent == TARGET.Parent then
  1033. HIT = true
  1034. else
  1035. HIT = false
  1036. end
  1037. else
  1038. HIT = false
  1039. end
  1040. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(90), RAD(35), RAD(0)), 2 / Animation_Speed)
  1041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.15 / Animation_Speed)
  1042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.15 / Animation_Speed)
  1043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(75)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1044. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0.3, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1045. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1046. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1047. end
  1048. end
  1049. if TARGET == nil then
  1050. break
  1051. end
  1052. until (HIT == true and LOOP > 35) or LOOP > 300
  1053. DECOYARROW:remove()
  1054. if LOOP <= 300 then
  1055. if TARGET then
  1056. VALUE1 = false
  1057. local TORS = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1058. if TORS then
  1059. CreateSound("145203279", HandlePart, 10, 1)
  1060. if TORS.Name == "Torso" then
  1061. local DISTANCE = (Torso.Position - TORS.Position).Magnitude
  1062. POINTTARGET,HITPOS = Raycast(HandlePart.Position, CF(HandlePart.Position,TORS.Position).lookVector, DISTANCE+5, Character)
  1063. local RAGDOLLBODY,RAGDOLLTORSO = Ragdoll(TARGET.Parent,Torso)
  1064. local ARROW = CreatePart(3, RAGDOLLBODY, "SmoothPlastic", 0, 0, "Really black", "Arrow", VT(0,0,0),false)
  1065. CreateMesh("SpecialMesh", ARROW, "FileMesh", "95920149", "95920067", VT(1,1,1), VT(0, 0, 0))
  1066. ARROW.CFrame = CF(HITPOS,RAGDOLLTORSO.Position)
  1067. weldBetween(RAGDOLLTORSO,ARROW)
  1068. Debris:AddItem(RAGDOLLBODY,5)
  1069. SpawnTrail(HandlePart.Position,HITPOS)
  1070. else
  1071. TARGET.Parent:BreakJoints()
  1072. print("No i'm not doing R15 ragdolls")
  1073. end
  1074. TARGET = nil
  1075. for i=0, 0.3, 0.1 / Animation_Speed do
  1076. Swait()
  1077. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(90), RAD(35), RAD(0)), 2 / Animation_Speed)
  1078. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  1079. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 2 / Animation_Speed)
  1080. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1081. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1082. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1083. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1084. end
  1085. end
  1086. end
  1087. end
  1088. VALUE1 = false
  1089. ATTACK = false
  1090. Rooted = false
  1091. end
  1092.  
  1093. function PointBlanc()
  1094. local TORS = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1095. if TORS then
  1096. ATTACK = true
  1097. Rooted = false
  1098. ISEEYOU:Stop()
  1099. local CLONE = Character:Clone()
  1100. CLONE.Adds:remove()
  1101. CLONE.BGM:remove()
  1102. CLONE.Parent = Effects
  1103. KillChildren(CLONE)
  1104. Debris:AddItem(CLONE,5)
  1105. RootPart.CFrame = TORS.CFrame*CF(0,0,5)
  1106. CreateSound("419011101", Torso, 10, 1)
  1107. ArrowShot()
  1108. end
  1109. end
  1110.  
  1111. function HuntersMark()
  1112. ATTACK = true
  1113. Rooted = true
  1114. VALUE1 = true
  1115. local DECOYARROW = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Arrow", VT(0,0,1),false)
  1116. CreateMesh("SpecialMesh", DECOYARROW, "FileMesh", "95920149", "95920067", VT(1,1,1), VT(0, 0, 0))
  1117. DECOYARROW.CFrame = HandlePart.CFrame * ANGLES(RAD(180), RAD(0), RAD(0))
  1118. weldBetween(HandlePart,DECOYARROW)
  1119. CreateSound("424777055", Head, 10, 1)
  1120. for i=0, 2, 0.1 / Animation_Speed do
  1121. Swait()
  1122. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(90), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  1123. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-75), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.6, 0.65, -0.4) * ANGLES(RAD(170), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1127. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1128. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1129. end
  1130. CreateSound("419011101", DECOYARROW, 10, 1)
  1131. particles(DECOYARROW)
  1132. for i=0, 1, 0.1 / Animation_Speed do
  1133. Swait()
  1134. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(90), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  1135. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-75), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.6, 0.65, -0.4) * ANGLES(RAD(170), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1139. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1141. end
  1142. local ROOF,ROOFPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,1,0)).lookVector, 10000, Character)
  1143. DECOYARROW:remove()
  1144. VALUE1 = false
  1145. SpawnTrail(HandlePart.Position,ROOFPOS)
  1146. CreateSound("145203279", HandlePart, 10, 1)
  1147. for i=0, 0.3, 0.1 / Animation_Speed do
  1148. Swait()
  1149. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(90), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  1150. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1151. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-75), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1152. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1153. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.6, 0.25, -0.3) * ANGLES(RAD(160), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1154. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1155. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1156. end
  1157. if ROOF == nil then
  1158. for i=0, 1, 0.1 / Animation_Speed do
  1159. Swait()
  1160. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1161. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(15), RAD(25)), 0.15 / Animation_Speed)
  1162. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.35, -0.2) * ANGLES(RAD(45), RAD(0), RAD(-22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1165. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(-65), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1166. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(65), RAD(35), RAD(0)), 0.2 / Animation_Speed)
  1167. end
  1168. for i = 1, 15 do
  1169. Swait(5)
  1170. local AIMPART,AIMPOS = Raycast(Mouse.Hit.p+VT(0,500,0), CF(Mouse.Hit.p+VT(0,500,0),Mouse.Hit.p).lookVector, 600, Character)
  1171. SpawnTrail(Mouse.Hit.p+VT(0,500,0),AIMPOS)
  1172. if AIMPART ~= nil then
  1173. local ARROW = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Arrow", VT(0,0,0),false)
  1174. CreateMesh("SpecialMesh", ARROW, "FileMesh", "95920149", "95920067", VT(1,1,1), VT(0, 0, 0))
  1175. ARROW.CFrame = CF(AIMPOS+VT(0,0.5,0),AIMPOS)
  1176. CreateSound("166423137", ARROW, 10, 1)
  1177. if AIMPART.Parent:FindFirstChildOfClass("Humanoid") then
  1178. if AIMPART.Parent:FindFirstChild("Torso") then
  1179. local RAGDOLLBODY = Ragdoll(AIMPART.Parent,ARROW)
  1180. ARROW.Parent = RAGDOLLBODY
  1181. weldBetween(AIMPART,ARROW)
  1182. Debris:AddItem(RAGDOLLBODY)
  1183. else
  1184. AIMPART.Parent:BreakJoints()
  1185. end
  1186. elseif AIMPART.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1187. if AIMPART.Parent.Parent:FindFirstChild("Torso") then
  1188. local RAGDOLLBODY = Ragdoll(AIMPART.Parent.Parent,ARROW)
  1189. ARROW.Parent = RAGDOLLBODY
  1190. weldBetween(AIMPART,ARROW)
  1191. Debris:AddItem(RAGDOLLBODY)
  1192. else
  1193. AIMPART.Parent:BreakJoints()
  1194. end
  1195. else
  1196. weldBetween(AIMPART,ARROW)
  1197. Debris:AddItem(ARROW,5)
  1198. end
  1199. end
  1200. end
  1201. end
  1202. ATTACK = false
  1203. Rooted = false
  1204. end
  1205.  
  1206. --//=================================\\
  1207. --|| ASSIGN THINGS TO KEYS
  1208. --\\=================================//
  1209.  
  1210. function MouseDown(Mouse)
  1211. if ATTACK == false then
  1212. end
  1213. end
  1214.  
  1215. function MouseUp(Mouse)
  1216. HOLD = false
  1217. end
  1218.  
  1219. function KeyDown(Key)
  1220. KEYHOLD = true
  1221. if Key == "q" and ATTACK == false then
  1222. TakeAim()
  1223. end
  1224.  
  1225. if TARGET ~= nil then
  1226. if Key == "z" and ATTACK == false then
  1227. ArrowShot()
  1228. end
  1229.  
  1230. if Key == "v" and ATTACK == false then
  1231. PointBlanc()
  1232. end
  1233. end
  1234. if Key == "x" and ATTACK == false then
  1235. HuntersMark()
  1236. end
  1237. end
  1238.  
  1239. function KeyUp(Key)
  1240. KEYHOLD = false
  1241. end
  1242.  
  1243. Mouse.Button1Down:connect(function(NEWKEY)
  1244. MouseDown(NEWKEY)
  1245. end)
  1246. Mouse.Button1Up:connect(function(NEWKEY)
  1247. MouseUp(NEWKEY)
  1248. end)
  1249. Mouse.KeyDown:connect(function(NEWKEY)
  1250. KeyDown(NEWKEY)
  1251. end)
  1252. Mouse.KeyUp:connect(function(NEWKEY)
  1253. KeyUp(NEWKEY)
  1254. end)
  1255.  
  1256. --//=================================\\
  1257. --\\=================================//
  1258.  
  1259.  
  1260. function unanchor()
  1261. if UNANCHOR == true then
  1262. g = Character:GetChildren()
  1263. for i = 1, #g do
  1264. if g[i].ClassName == "Part" then
  1265. g[i].Anchored = false
  1266. end
  1267. end
  1268. end
  1269. end
  1270.  
  1271.  
  1272. --//=================================\\
  1273. --|| WRAP THE WHOLE SCRIPT UP
  1274. --\\=================================//
  1275.  
  1276. Humanoid.Changed:connect(function(Jump)
  1277. if Jump == "Jump" and (Disable_Jump == true) then
  1278. Humanoid.Jump = false
  1279. end
  1280. end)
  1281.  
  1282. while true do
  1283. Swait()
  1284. ANIMATE.Parent = nil
  1285. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1286. IDLEANIMATION:Play()
  1287. SINE = SINE + CHANGE
  1288. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1289. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1290. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1291. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1292. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1293. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1294. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1295. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1296. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1297. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1298. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1299. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1300. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1301. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1302. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1303. end
  1304. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1305. ANIM = "Jump"
  1306. if ATTACK == false then
  1307. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1308. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1309. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1310. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1311. end
  1312. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1313. ANIM = "Fall"
  1314. if ATTACK == false then
  1315. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1317. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1318. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1319. end
  1320. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1321. ANIM = "Idle"
  1322. if ATTACK == false then
  1323. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(15), RAD(25)), 0.15 / Animation_Speed)
  1325. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1326. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1327. end
  1328. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1329. ANIM = "Walk"
  1330. WALK = WALK + 1 / Animation_Speed
  1331. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1332. WALK = 0
  1333. if WALKINGANIM == true then
  1334. WALKINGANIM = false
  1335. elseif WALKINGANIM == false then
  1336. WALKINGANIM = true
  1337. end
  1338. end
  1339. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1340. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1341. if ATTACK == false then
  1342. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1343. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1344. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1345. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1346. end
  1347. end
  1348. if ATTACK == false then
  1349. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.35, -0.2) * ANGLES(RAD(45), RAD(0), RAD(-22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1350. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(-65), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1351. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(65), RAD(35), RAD(0)), 0.2 / Animation_Speed)
  1352. end
  1353. unanchor()
  1354. Humanoid.MaxHealth = "inf"
  1355. Humanoid.Health = "inf"
  1356. if Rooted == false then
  1357. Disable_Jump = false
  1358. Humanoid.WalkSpeed = Speed
  1359. elseif Rooted == true then
  1360. Disable_Jump = true
  1361. Humanoid.WalkSpeed = 0
  1362. end
  1363. for _, c in pairs(Character:GetChildren()) do
  1364. if c.ClassName == "Part" and c.Transparency < 1 then
  1365. if c.Name == "Hood" or c.Name == "FACE" then
  1366. c.Color = C3(0,0,0)
  1367. end
  1368. if c:FindFirstChild("Aura") == nil and c.Name ~= "FACE" then
  1369. local AURA = CreatePart(3, c, "Neon", 0, 0.3, "Really black", "Aura", c.Size*1.02,false)
  1370. AURA.CFrame = c.CFrame
  1371. weldBetween(c,AURA)
  1372. if c:FindFirstChildOfClass("SpecialMesh") then
  1373. local COPY = c:FindFirstChildOfClass("SpecialMesh"):Clone()
  1374. COPY.Parent = AURA
  1375. COPY.Scale = COPY.Scale * 1.01
  1376. end
  1377. end
  1378. elseif c.ClassName == "Part" and c.Transparency == 1 then
  1379. if c:FindFirstChild("Aura") then
  1380. c.Aura:remove()
  1381. end
  1382. elseif c.ClassName == "Accessory" then
  1383. c:remove()
  1384. end
  1385. end
  1386. if Head:FindFirstChild("face") then
  1387. Head.face:remove()
  1388. end
  1389. for _, c in pairs(Head:GetChildren()) do
  1390. if c.Name == "Eye" then
  1391. if TARGET == nil then
  1392. if EYECOLOR < 1 then
  1393. EYECOLOR = EYECOLOR + 0.01
  1394. c.Color = C3(1,EYECOLOR,EYECOLOR)
  1395. end
  1396. elseif TARGET ~= nil then
  1397. if EYECOLOR > 0 then
  1398. if EYECOLOR > 0 then
  1399. EYECOLOR = EYECOLOR - 0.01
  1400. c.Color = C3(1,EYECOLOR,EYECOLOR)
  1401. end
  1402. end
  1403. end
  1404. end
  1405. end
  1406. for _, c in pairs(Weapon:GetChildren()) do
  1407. if c.ClassName == "Part" then
  1408. c.Anchored = false
  1409. if c:FindFirstChild("BowWeld") then
  1410. local WELD = c.BowWeld
  1411. if VALUE1 == false then
  1412. WELD.C1 = Clerp(WELD.C1, CF(0, 0.55, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1413. elseif VALUE1 == true then
  1414. WELD.C1 = Clerp(WELD.C1, CF(0, 0.45, -0.55) * ANGLES(RAD(-45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1415. end
  1416. end
  1417. end
  1418. end
  1419. if TARGET == nil then
  1420. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1421. else
  1422. local TORS = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1423. if TORS ~= nil then
  1424. GYRO.cframe = CF(RootPart.Position,TORS.Position)
  1425. end
  1426. end
  1427. sick.Parent = Character
  1428. Humanoid.Name = "Dread Hunter"
  1429. Humanoid.PlatformStand = false
  1430. Humanoid.Parent = Character
  1431. script.Parent = WEAPONGUI
  1432. end
  1433.  
  1434. --//=================================\\
  1435. --\\=================================//
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441. --//====================================================\\--
  1442. --|| END OF SCRIPT
  1443. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement