Advertisement
memberhero

Emerald Bow

May 15th, 2018
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.26 KB | None | 0 0
  1. script.Name = "Chaos"
  2. local Player = game.Players.LocalPlayer
  3. repeat wait() until Player
  4. local Character = Player.Character
  5. repeat wait() until Character
  6.  
  7. local C_Fold = Instance.new("Folder", Player.PlayerScripts) C_Fold.Name = "Chaos Folder"
  8. script.Parent = C_Fold
  9.  
  10. if script.ClassName == "LocalScript" or script.ClassName == "Script" then
  11. local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call)
  12. local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment}))
  13. oxbox.script:Destroy()
  14. end
  15.  
  16. C_Fold.Parent = nil
  17.  
  18. Value = game.Players.LocalPlayer
  19.  
  20. me = Value
  21. Character = me.Character
  22. local Mouse = me:GetMouse()
  23. equipped = false
  24. attack=false
  25. char = me.Character
  26. Selected = false
  27. Able = true
  28. Arrow = nil
  29. ArrowOn = false
  30. Hurt = false
  31. Deb = true
  32. Reloading = false
  33. Shooting = false
  34. Slashing = false
  35. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  36. EffectOn = false
  37. Accuracy = 1
  38. SelAnim = false
  39.  
  40. RotationOn = false
  41. Rotation = 0.3
  42. CamStyles = {"Attach", "Custom", "Fixed", "Follow"}
  43. Where = 2
  44. Style = CamStyles[Where]
  45.  
  46. V3 = Vector3.new
  47. LapaCol = "Reddish brown"
  48. HandCol = "Earth green"
  49. MiddleCol = "Camo"
  50. ViiniCol = "Reddish brown"
  51.  
  52. Asset = "http://www.roblox.com/asset/?id="
  53.  
  54.  
  55. Keys = {
  56. g = false,
  57. }
  58.  
  59. ModelName = "Icy"
  60.  
  61. CA = CFrame.Angles
  62. CN = CFrame.new
  63. MR = math.rad
  64. MP = math.pi
  65. MRA = math.random
  66. MH = math.huge
  67.  
  68. UD = UDim2.new
  69. C3 = Color3.new
  70.  
  71. MaximumPower = 20
  72. MaxSpecial = 10
  73. Special = MaxSpecial
  74.  
  75. Add = {
  76. Mesh = function(P, Id, Id2, scale)
  77. local m = Instance.new("SpecialMesh", P)
  78. m.Scale = scale
  79. m.MeshId = Id
  80. m.TextureId = Id2
  81. end
  82. }
  83.  
  84. Meshes = {
  85. Hat = {Asset..(1043438), Asset..(1043443)},
  86. Torso = {Asset..(52168619), Asset..(33308631)},
  87. Rarm = {Asset..(52168619), Asset..(33308774)},
  88. Larm = {Asset..(52168619), Asset..(33308496)},
  89. Rleg = {Asset..(52168619), Asset..(33308827)},
  90. Lleg = {Asset..(52168619), Asset..(33308564)},
  91. }
  92.  
  93. Sounds = {
  94. Slash = {"rbxasset://sounds//swordslash.wav", 1.2, 1},
  95. Shoot = {"http://www.roblox.com/asset/?id=16211041", 2, 1},
  96. Stick = {"http://www.roblox.com/asset/?id=2767090", 15, 1},
  97. Hit = {"http://www.roblox.com/asset/?id=10209590", 0.9, 1},
  98. Block = {"rbxasset://sounds\\metal.ogg", 1.4, 1},
  99. }
  100.  
  101. function RC(Pos, Dir, Max, Ignore)
  102. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
  103. end
  104.  
  105. function RayC(Start, En, MaxDist, Ignore)
  106. return RC(Start, (En - Start), MaxDist, Ignore)
  107. end
  108.  
  109. function DetectSurface(pos, part)
  110. local surface = nil
  111. local pospos = part.CFrame
  112. local pos2 = pospos:pointToObjectSpace(pos)
  113. local siz = part.Size
  114. local shaep = part.Shape
  115. if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then
  116. surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
  117. else
  118. if pos2.Y > ((siz.Y/2)-0.04) then
  119. surface = {"Top", CA(0, 0, 0)}
  120. elseif pos2.Y < -((siz.Y/2)-0.04) then
  121. surface = {"Bottom", CA(-MP, 0, 0)}
  122. elseif pos2.X > ((siz.X/2)-0.04) then
  123. surface = {"Right", CA(0, 0, MR(-90))}
  124. elseif pos2.X < -((siz.X/2)-0.04) then
  125. surface = {"Left", CA(0, 0, MR(90))}
  126. elseif pos2.Z > ((siz.Z/2)-0.04) then
  127. surface = {"Back", CA(MR(90), 0, 0)}
  128. elseif pos2.Z < -((siz.Z/2)-0.04) then
  129. surface = {"Front", CA(MR(-90), 0, 0)}
  130. end
  131. end
  132. return surface
  133. end
  134.  
  135. function Compute(pos1, pos2)
  136. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  137. return CN(pos1, pos3)
  138. end
  139.  
  140. function Notime(func, tiem)
  141. if tiem then wait(tiem) end
  142. coroutine.resume(coroutine.create(function() func() end))
  143. end
  144.  
  145. function waitChild(p, n)
  146. local child = p:findFirstChild(n)
  147. if child then return child end
  148. while true do
  149. child = p.ChildAdded:wait()
  150. if child.Name == n then return child end
  151. end
  152. end
  153.  
  154. function getHumanoid(c)
  155. for _,v in pairs(c:children()) do
  156. if v:IsA("Humanoid") and c ~= char then if v.Health > 0 then return v end end
  157. end
  158. end
  159.  
  160. function SE(part, pos)
  161. EffectOn = true
  162. local lastP = (part.CFrame * pos).p
  163. Notime(function()
  164. while EffectOn do
  165. wait()
  166. local posnow = (part.CFrame * pos).p
  167. local eff = Part(Character, true, false, 0, 0, "White", 0.2, 1, 0.2)
  168. local magn = (lastP - posnow).magnitude
  169. local cf = CN(lastP, posnow) * CA(MR(-90), 0, 0)
  170. local mes2 = Instance.new("SpecialMesh",eff)
  171. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  172. eff.CFrame = cf * CN(0, magn/2, 0)
  173. Notime(function()
  174. for i = 0, 1, 0.1 do
  175. wait()
  176. eff.Transparency = i
  177. eff.Reflectance = 0.15*i
  178. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  179. end
  180. eff:remove()
  181. end)
  182. lastP = posnow
  183. end
  184. end)
  185. end
  186.  
  187. function EE()
  188. EffectOn = false
  189. end
  190.  
  191. torso = waitChild(char, "Torso")
  192. Rarm = waitChild(char, "Right Arm")
  193. Larm = waitChild(char, "Left Arm")
  194. Rleg = waitChild(char, "Right Leg")
  195. Lleg = waitChild(char, "Left Leg")
  196. Hum = waitChild(char, "Humanoid")
  197. neck = waitChild(torso, "Neck")
  198.  
  199. torso.Transparency = 1
  200.  
  201. function Play(Sound)
  202. local s = Instance.new("Sound")
  203. s.SoundId = Sound[1]
  204. s.Pitch = Sound[2]
  205. s.Volume = Sound[3]
  206. s.Parent = torso
  207. s.PlayOnRemove = true
  208. game.Debris:AddItem(s, 0.0001)
  209. end
  210.  
  211. RSH = waitChild(torso, "Right Shoulder")
  212. LSH = waitChild(torso, "Left Shoulder")
  213. RH = waitChild(torso, "Right Hip")
  214. LH = waitChild(torso, "Left Hip")
  215.  
  216. for i,v in pairs(char:children()) do if v.Name == ModelName then v:remove() end end
  217.  
  218. for _,v in pairs(char:children()) do
  219. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") or v:IsA("BodyColors") then
  220. v:remove()
  221. end
  222. end
  223.  
  224. for _,v in pairs(torso:children()) do
  225. if v:IsA("Decal") or v:IsA("Texture") then v:remove() end
  226. end
  227.  
  228. function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z)
  229. local p = Instance.new("Part")
  230. p.TopSurface = 0
  231. p.BottomSurface = 0
  232. p.Transparency = Tran
  233. p.Reflectance = Ref
  234. p.CanCollide = Coll
  235. p.Anchored = Anch
  236. p.BrickColor = BrickColor.new(Col)
  237. p.formFactor = "Custom"
  238. p.Size = Vector3.new(X,Y,Z)
  239. p.Parent = P
  240. p.Locked = true
  241. p:BreakJoints()
  242. return p
  243. end
  244.  
  245. function Weld(P0, P1, X, Y, Z, A, B, C)
  246. local w = Instance.new("Weld")
  247. w.Part0 = P0
  248. w.Part1 = P1
  249. w.C1 = CN(X, Y, Z) * CA(A, B, C)
  250. w.Parent = P0
  251. return w
  252. end
  253.  
  254. Hat = Instance.new("Hat", char)
  255. Hat.Name = "Epoc."
  256.  
  257. HatHandle = Part(Hat, false, false, 0, 0, "White", 1.5, 1.8, 1.4)
  258. HatHandle.Name = "Handle"
  259. Hat.AttachmentPos = Vector3.new(0, -0.25, 0.05)
  260. Add.Mesh(HatHandle, Meshes.Hat[2], Meshes.Hat[1], Vector3.new(1.2,1,1.1))
  261.  
  262. Mo = Instance.new("Model")
  263. Mo.Name = ModelName
  264.  
  265. FTorso = Part(Mo, false, false, 0, 0, torso.BrickColor.Name, 2, 2, 1)
  266. FWeld = Weld(torso, FTorso, 0, 0, 0, 0, 0, 0)
  267.  
  268. for _,v in pairs({{Rarm, Meshes.Rarm}, {Larm, Meshes.Larm}, {Rleg, Meshes.Rleg}, {Lleg, Meshes.Lleg}, {FTorso, Meshes.Torso}}) do
  269. for _,v in pairs(v[1]:children()) do
  270. if v:IsA("SpecialMesh") then
  271. v:remove()
  272. end
  273. end
  274. local mes = Add.Mesh(v[1], v[2][2], v[2][1], V3(1,1,1))
  275. end
  276.  
  277. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1)
  278. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1)
  279. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1)
  280. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1)
  281.  
  282. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  283. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  284. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  285. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  286.  
  287. function Atch(p)
  288. RABW.Part0 = p
  289. LABW.Part0 = p
  290. RLBW.Part0 = p
  291. LLBW.Part0 = p
  292. RSH.Part0 = p
  293. LSH.Part0 = p
  294. RH.Part0 = p
  295. LH.Part0 = p
  296. end
  297.  
  298. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  299. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  300. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  301. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  302.  
  303. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1)
  304. HBW = Weld(Larm, HB, 0, 1, 0, 0, 0, 0)
  305. HW = Weld(HB, nil, 0, 0, 0, MR(90), 0, 0)
  306.  
  307. AB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1)
  308. ABW = Weld(Rarm, AB, 0, 1, 0, 0, 0, 0)
  309. AW = Weld(AB, nil, 0, 0, 0, 0, 0, 0)
  310.  
  311. TW = Weld(torso, nil, -0.7, 0, 0.5, 0, MP, 0)
  312.  
  313. Handle = Part(Mo, false, false, 0, 0, HandCol, 0.6, 1.2, 0.6)
  314. Instance.new("SpecialMesh",Handle)
  315. TW.Part1 = Handle
  316.  
  317. for i = -0.6, 0.61, 1.2 do
  318. local p = Part(Mo, false, false, 0, 0, MiddleCol, 0.7, 0.2, 1.1)
  319. Weld(Handle, p, 0, i, 0.15, 0, 0, 0)
  320. Instance.new("BlockMesh", p)
  321. end
  322.  
  323. local UpPoint, DownPoint
  324.  
  325. for i = -10, 95, 15 do
  326. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  327. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  328. w.C0 = CN(0, 1.1, 0.75) * CA(MR(i), 0, 0)
  329. Instance.new("BlockMesh", p)
  330. UpPoint = p
  331. end
  332.  
  333. for i = 10, -95, -15 do
  334. local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
  335. local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
  336. w.C0 = CN(0, -1.1, 0.75) * CA(MR(i), 0, 0)
  337. Instance.new("BlockMesh", p)
  338. DownPoint = p
  339. end
  340.  
  341. StringUp = Part(Mo, false, false, 0, 0, "White", 0.2, 1, 0.2)
  342. StringDown = Part(Mo, false, false, 0, 0, "White", 0.2, 1, 0.2)
  343.  
  344. SUM = Instance.new("SpecialMesh", StringUp)
  345. SDM = Instance.new("SpecialMesh", StringDown)
  346. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  347. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  348.  
  349. ORSU = CN(0, -1.3, 0) * CA(MR(-85), 0, 0)
  350. ORSD = CN(0, 1.3, 0) * CA(MR(85), 0, 0)
  351.  
  352. SUW = Weld(UpPoint, StringUp, 0, -1.3, 0, MR(-85), 0, 0)
  353. SDW = Weld(DownPoint, StringDown, 0, 1.3, 0, MR(85), 0, 0)
  354. SUW.C0 = CN(0, 0.15, 0)
  355. SDW.C0 = CN(0, -0.15, 0)
  356. SUW.C1 = ORSU
  357. SDW.C1 = ORSD
  358.  
  359. Arrow = Part(Mo, false, false, 1, 0, "Brown", 0.4, 0.4, 4.4)
  360. local mesh = Instance.new("SpecialMesh",Arrow)
  361. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  362. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  363. mesh.Scale = Vector3.new(1, 1, 2.1)
  364. AW.Part1 = Arrow
  365.  
  366.  
  367. Ring = Part(Mo, false, false, 0, 0, ViiniCol, 0.2, 0.2, 0.2)
  368. RingM = Instance.new("SpecialMesh", Ring)
  369. RingM.MeshId = "http://www.roblox.com/asset/?id=3270017"
  370. RingM.Scale = Vector3.new(0.6, 1, 21)
  371. local www = Weld(FTorso, Ring, -0.9, -0.2, -0.8, MR(90), MR(90), MR(30))
  372. www.C0 = CA(MR(-10), 0, 0)
  373.  
  374. Sp = Part(Mo, false, false, 0, 0, "Black", 1, 0.2, 1)
  375. local S = Instance.new("SpecialMesh",Sp)
  376. S.MeshType = "Sphere"
  377. S.Scale = Vector3.new(0.65, 1, 1.05)
  378. Weld(Ring, Sp, 0, 1.7, 0, MR(-90), 0, 0)
  379.  
  380. function makeArrow(pos, ang)
  381. local arrow = Part(Mo, false, false, 0, 0, "Brown", 0.2, 1, 0.2)
  382. local mesh = Instance.new("SpecialMesh",arrow)
  383. mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  384. mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  385. mesh.Scale = Vector3.new(1, 1, 2.1)
  386. Weld(Ring, arrow, pos.x, pos.y, pos.z, MP, 0, ang)
  387. end
  388.  
  389. makeArrow(Vector3.new(0.15, 0.1, 0.55), 0.8)
  390. makeArrow(Vector3.new(-0.2, -0.1, 0.65), -0.4)
  391. makeArrow(Vector3.new(-0.1, 0.1, 0.6), 1.8)
  392. makeArrow(Vector3.new(-0.1, -0.15, 0.7), 1.2)
  393. makeArrow(Vector3.new(0, 0.3, 0.6), 0.28)
  394. makeArrow(Vector3.new(0, 0, 0.65), 0.34)
  395. makeArrow(Vector3.new(0.3, 0.1, 0.55), 1.9)
  396. makeArrow(Vector3.new(-0.35, 0.1, 0.67), 1.9)
  397.  
  398. Mo.Parent = char
  399.  
  400. function Normal()
  401. FWeld.C0 = CN()
  402. LAW.C0 = CA(0, 0, MR(30))
  403. RAW.Part1 = nil
  404. RAW.C0 = CN()
  405. RAW.C1 = CN(0, 0.5, 0)
  406. LAW.C1 = CN(0, 0.5, 0)
  407. LAW.Part1 = Larm
  408. RABW.Part0 = torso
  409. LABW.Part0 = torso
  410. RLBW.Part0 = torso
  411. LLBW.Part0 = torso
  412. RSH.Part0 = torso
  413. LSH.Part0 = torso
  414. RH.Part0 = torso
  415. LH.Part0 = torso
  416. AW.C0 = CN()
  417. HW.C0 = CA(MR(180), 0, MR(150))
  418. SUW.C0 = CN(0, 0.15, 0)
  419. SDW.C0 = CN(0, -0.15, 0)
  420. SUW.C1 = ORSU
  421. SDW.C1 = ORSD
  422. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  423. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  424. end
  425.  
  426.  
  427.  
  428. function ShowDmg(pos, dmg)
  429. local col = "Bright red"
  430. if dmg < 1 then
  431. col = "Bright blue"
  432. end
  433. local m = Instance.new("Model")
  434. m.Name = dmg
  435. local p = Part(m, false, false, 0, 0, col, 0.8, 0.3, 0.8)
  436. p.Name = "Head"
  437. p.CFrame = CFrame.new(pos)
  438. local bp = Instance.new("BodyPosition", p)
  439. bp.position = pos + Vector3.new(0, 2.5, 0)
  440. bp.P = 6500
  441. bp.maxForce = Vector3.new(MH, MH, MH)
  442. local h = Instance.new("Humanoid",m)
  443. h.MaxHealth = 0
  444. h.Health = 0
  445. h.Name = "fffsaf"
  446. m.Parent = Character
  447. game.Debris:AddItem(m, 1.5)
  448. end
  449.  
  450. function Dmg(hum, dmg, pos)
  451. if hum.Health > 0 and hum.Parent:FindFirstChild("Armed") ~= nil then
  452. hum.Health = hum.Health - dmg
  453. --ShowDmg(pos, dmg)
  454. end
  455. end
  456.  
  457. function ArrowT(hit)
  458. local h = getHumanoid(hit.Parent)
  459. if h and Deb and Hurt then
  460. Deb = false
  461. Dmg(h, MRA(15,30), Arrow.CFrame * CN(0, 0, 2.2).p)
  462. end
  463. end
  464.  
  465. Arrow.Touched:connect(ArrowT)
  466.  
  467. function SelectAnim()
  468. LAW.Part1 = Larm
  469. SelAnim = true
  470. for i = 0.2, 1, 0.2 do
  471. LAW.C0 = CA(MR(-25*i), 0, MR(25*i)) * CN(0, 0.2*i, 0)
  472. wait()
  473. end
  474. HW.C0 = CN(0.4, 0.3, 0) * CA(MR(110), MR(-100), MR(180))
  475. HW.Part1 = Handle
  476. TW.Part1 = nil
  477. for i = 0.08, 1, 0.08 do
  478. LAW.C0 = CA(MR(-25+25*i), 0, MR(25-55*i)) * CN(0, 0.2-0.2*i, 0)
  479. HW.C0 = CN(0.4-0.4*i, 0.3-0.3*i, 0) * CA(MR(110+70*i), MR(-20+20*i), MR(180-30*i))
  480. wait()
  481. end
  482. SelAnim = false
  483. HW.C0 = CA(MR(180), 0, MR(150))
  484. end
  485.  
  486. function DeselectAnim()
  487. for i = 0.12, 1, 0.12 do
  488. LAW.C0 = CA(MR(-25*i), 0, MR(-30+55*i)) * CN(0, 0.2*i, 0)
  489. HW.C0 = CN(0.4*i, 0.3*i, 0) * CA(MR(180-70*i), MR(-20*i), MR(150+30*i))
  490. if SelAnim or Selected then return end
  491. wait()
  492. end
  493. HW.Part1 = nil
  494. TW.Part1 = Handle
  495. for i = 0.12, 1, 0.12 do
  496. LAW.C0 = CA(MR(-25+25*i), 0, MR(-30+55-25*i)) * CN(0, 0.2-0.2*i, 0)
  497. if SelAnim or Selected then return end
  498. wait()
  499. end
  500. if Selected == false and SelAnim == false then
  501. LAW.Part1 = nil
  502. end
  503. end
  504.  
  505. function Slash()
  506. RAW.Part1 = Rarm
  507. Slashing = true
  508. Play(Sounds.Slash)
  509. for i = 0.15, 1, 0.15 do
  510. RAW.C0 = CA(MR(180*i), MR(-20*i), MR(35*i))
  511. AW.C0 = CA(MR(35*i), 0, 0) * CN(0, 0, 0.7*i)
  512. wait()
  513. end
  514. for i = 0.33, 1, 0.33 do
  515. RAW.C0 = CA(MR(180+10*i), MR(-20), MR(35+2*i))
  516. AW.C0 = CA(MR(35+5*i), 0, 0) * CN(0, 0, 0.7+0.2*i)
  517. wait()
  518. end
  519. local blockk = false
  520. local hit, pos = RayC(torso.Position, torso.CFrame * CN(0, 0, -5).p, 3.2, char)
  521. if hit ~= nil then
  522. if getHumanoid(hit.Parent) == nil and hit.CanCollide == true then
  523. blockk = true
  524. end
  525. end
  526. SE(Arrow, CN(0, 0, 2.2))
  527. if blockk == false then
  528. Hurt = true
  529. Deb = true
  530. for i = 0.2, 1, 0.2 do
  531. RAW.C0 = CA(MR(190-140*i), MR(-20-5*i), MR(37-87*i)) * CN(0, -1*i, 0)
  532. AW.C0 = CA(MR(40-25*i), MR(-20*i), 0) * CN(0, 0, 0.9+0.3*i)
  533. wait()
  534. end
  535. EE()
  536. Hurt = false
  537. for i = 0.33, 1, 0.33 do
  538. RAW.C0 = CA(MR(50-10*i), MR(-25), MR(-50-5*i)) * CN(0, -1, 0)
  539. AW.C0 = CA(MR(15-20*i), MR(-20-1*i), 0) * CN(0, 0, 1.2*i)
  540. wait()
  541. end
  542. for i = 0.25, 1, 0.25 do
  543. RAW.C0 = CA(MR(40-10*i), MR(-25+25*i), MR(-55+35*i)) * CN(0, -1+1*i, 0)
  544. AW.C0 = CA(MR(-5+55*i), MR(-21+21*i), 0) * CN(0, 0, 1.2-1.2*i)
  545. wait()
  546. end
  547. for i = 0.25, 1, 0.25 do
  548. RAW.C0 = CA(MR(30-30*i), 0, MR(-20+20*i))
  549. AW.C0 = CA(MR(50-50*i), 0, 0)
  550. wait()
  551. end
  552. else
  553. for i = 0.5, 1, 0.5 do
  554. RAW.C0 = CA(MR(190-50*i), MR(-20-5*i), MR(37-27*i)) * CN(0, -0.2*i, 0)
  555. AW.C0 = CA(MR(40-5*i), MR(-5*i), 0) * CN(0, 0, 0.9+0.1*i)
  556. wait()
  557. end
  558. Play(Sounds.Block)
  559. for i = 0.25, 1, 0.25 do
  560. RAW.C0 = CA(MR(140+60*i), MR(-25+25*i), MR(10+20*i)) * CN(0, -0.2-0.3*i, 0)
  561. AW.C0 = CA(MR(35+45*i), MR(-5+5*i), 0) * CN(0, 0, 1)
  562. wait()
  563. end
  564. EE()
  565. for i = 0.33, 1, 0.33 do
  566. RAW.C0 = CA(MR(200+10*i), MR(5*i), MR(30+5*i)) * CN(0, -0.5, 0)
  567. AW.C0 = CA(MR(80+5*i), 0, 0) * CN(0, 0, 1)
  568. wait()
  569. end
  570. for i = 0.18, 1, 0.18 do
  571. RAW.C0 = CA(MR(210-200*i), MR(5-5*i), MR(35-30*i)) * CN(0, -0.5+0.4*i, 0)
  572. AW.C0 = CA(MR(85-75*i), 0, 0) * CN(0, 0, 1-0.8*i)
  573. wait()
  574. end
  575. for i = 0.33, 1, 0.33 do
  576. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.1+0.1*i, 0)
  577. AW.C0 = CA(MR(10-10*i), 0, 0) * CN(0, 0, 0.2-0.2*i)
  578. wait()
  579. end
  580. AW.C0 = CN()
  581. end
  582. Slashing = false
  583. RAW.Part1 = nil
  584. end
  585.  
  586. function Reload()
  587. if ArrowOn == false then
  588. RAW.Part1 = Rarm
  589. Reloading = true
  590. for i = 0.16, 1, 0.16 do
  591. RAW.C0 = CA(MR(200*i), MR(-5*i), 0) * CN(0, -0.35*i, 0)
  592. wait()
  593. end
  594. AW.C0 = CA(0, MR(-90), 0)
  595. AW.C1 = CN(0, 0, -1.5) * CA(MR(60), 0, 0)
  596. Arrow.Transparency = 0
  597. ArrowOn = true
  598. for i = 0.2, 1, 0.2 do
  599. RAW.C0 = CA(MR(200), MR(-5), MR(40*i)) * CN(0, -0.35, 0)
  600. AW.C1 = CN(0, 0, -1.5+2*i) * CA(MR(60-20*i), 0, 0)
  601. wait()
  602. end
  603. for i = 0.33, 1, 0.33 do
  604. RAW.C0 = CA(MR(200), MR(-5), MR(40+10*i)) * CN(0, -0.35+0.05*i, 0)
  605. AW.C1 = CN(0, 0, 0.5+0.1*i) * CA(MR(40-5*i), 0, 0)
  606. wait()
  607. end
  608. for i = 0.18, 1, 0.18 do
  609. RAW.C0 = CA(MR(200-190*i), MR(-5+5*i), MR(50-45*i)) * CN(0, -0.3+0.25*i, 0)
  610. AW.C1 = CN(0, 0, 0.6-0.5*i) * CA(MR(35-30*i), 0, 0)
  611. AW.C0 = CA(0, MR(-90+80*i), 0)
  612. wait()
  613. end
  614. for i = 0.33, 1, 0.33 do
  615. RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.05+0.05*i, 0)
  616. AW.C1 = CN(0, 0, 0.1-0.1*i) * CA(MR(5-5*i), 0, 0)
  617. AW.C0 = CA(0, MR(-10+10*i), 0)
  618. wait()
  619. end
  620. AW.C1 = CN()
  621. AW.C0 = CN()
  622. RAW.C0 = CN()
  623. RAW.Part1 = nil
  624. Reloading = false
  625. else
  626. Slash()
  627. end
  628. end
  629.  
  630. function AddDetail(Surface, pos, bool, part, hu)
  631. local caf = CN(pos) * CA(part.CFrame:toEulerAnglesXYZ()) * Surface[2]
  632. if Surface[1] == "Anything" then
  633. caf = Surface[2]
  634. end
  635. Notime(function()
  636. if bool == false then
  637. Notime(function()
  638. for i = 1, MRA(5,8) do
  639. Notime(function()
  640. local t = {"Bright yellow", "New Yeller", "White", "Institutional white", "Brick yellow"}
  641. local pp = Part(Character, true, false, 0, 0, t[MRA(1, #t)], 0.2, 0.2, 0.2)
  642. local mes = Instance.new("SpecialMesh",pp)
  643. mes.MeshType = "Sphere"
  644. mes.Scale = Vector3.new(0.5, 0.5, 1)
  645. local caa = CN(caf.p) * CA(MR(MRA(-180,180)), MR(MRA(-180,180)), MR(MRA(-180,180)))
  646. pp.CFrame = caa
  647. for i = 0.25, 1, 0.25 do
  648. wait()
  649. mes.Scale = Vector3.new(0.5+0.1*i, 0.5+0.1*i, 1+2*i)
  650. pp.CFrame = caa * CN(0, 0, -0.4*i)
  651. end
  652. for i = 0.25, 1, 0.25 do
  653. wait()
  654. mes.Scale = Vector3.new(0.6, 0.6, 3+1.6*i)
  655. pp.CFrame = caa * CN(0, 0, -0.6-0.32*i)
  656. pp.Transparency = -0.2+1.2*i
  657. end
  658. pp:remove()
  659. end)
  660. end
  661. end)
  662. end
  663. end)
  664. end
  665.  
  666. function ShootArrow(pos, power, targ)
  667. local Start = Handle.Position
  668. local mag = (Start - pos).magnitude/200
  669. if mag > 12.5 then mag = 12.5 end
  670. if targ == nil then mag = 1 end
  671. local Face = CN(Start, pos) * CA(MR(MRA(-Accuracy*10000, Accuracy*10000)/10000+mag), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000))
  672. local Arr = Part(Mo, true, false, 0, 0, "Brown", 0.2, 0.2, 0.2)
  673. local mes = Instance.new("SpecialMesh",Arr)
  674. mes.MeshId = "http://www.roblox.com/asset/?id=15887356"
  675. mes.TextureId = "http://www.roblox.com/asset/?id=15886781"
  676. mes.Scale = Vector3.new(1, 1, 2.1)
  677. Arr.CFrame = Face
  678. local Go = 2.8+(power/30)
  679. local Dist = 200+(power*2.8)
  680. local Drop = 0.55/(Go*1.25)
  681. local lastP = Start
  682. local didhit = false
  683. local omg = 0
  684. local hit2, pos2 = RayC(torso.CFrame * CN(0, 0, -0.4).p, torso.CFrame * CN(0, 0, -2).p, 2.5, char)
  685. local hu2 = nil
  686. if hit2 then
  687. local hh = getHumanoid(hit2.Parent)
  688. if hh then
  689. hit2 = nil
  690. end
  691. end
  692. for i = Go, Dist, Go do
  693. Drop = Drop + 1/(Go*3.5)
  694. omg = omg + Drop
  695. local dropping = CA(MR(-Drop), 0, 0)
  696. if omg > 130 then
  697. dropping = CN()
  698. end
  699. Face = Face * dropping * CN(0, 0, -Go)
  700. Arr.CFrame = Face * CA(MR(-180), 0, 0)
  701. local hit, p = RayC(lastP, Face.p, Go+0.5, char)
  702. local eff = Part(Mo, true, false, 0, 0, "White", 0.2, 1, 0.2)
  703. local magn = (lastP - Face.p).magnitude
  704. local cf = CN(lastP, Face.p) * CA(MR(-90), 0, 0)
  705. if hit then
  706. magn = (lastP - p).magnitude
  707. cf = CN(lastP, p) * CA(MR(-90), 0, 0)
  708. end
  709. local mes2 = Instance.new("SpecialMesh",eff)
  710. mes2.Scale = Vector3.new(0.6, magn, 0.6)
  711. eff.CFrame = cf * CN(0, magn/2, 0)
  712. Notime(function()
  713. for i = 0, 1, 0.12 do
  714. wait()
  715. eff.Transparency = i
  716. eff.Reflectance = 0.15*i
  717. mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
  718. end
  719. eff:remove()
  720. end)
  721. local realhit = hit
  722. if hit2 then realhit = hit2 p = pos2 end
  723. if hit or hit2 then
  724. local h = getHumanoid(realhit.Parent)
  725. if h == nil and realhit.Parent.Parent ~= game and realhit.Parent.Parent ~= nil and realhit.Parent.Parent ~= workspace then
  726. h = getHumanoid(realhit.Parent.Parent)
  727. end
  728. local sound = Sounds.Stick
  729. if h and hit.Parent.className ~= "Hat" then
  730. local d = MRA(1+(power/5), 1+(power/5))
  731. if hit.Name == "Head" then
  732. d = math.floor(d*1.2)
  733. end
  734. Dmg(h, d, p)
  735. sound = Sounds.Hit
  736. elseif h == nil and realhit.Parent.className ~= "Hat" then
  737. if realhit.Anchored == false then
  738. Notime(function()
  739. wait(0.08)
  740. local mas = realhit:GetMass()/5+2
  741. local vel = (16+(power/3))/mas
  742. if vel < 0 then vel = 0 end
  743. realhit.Velocity = (CN(lastP, p).lookVector) * vel
  744. end)
  745. end
  746. end
  747. local a = (power-110)/70
  748. if realhit.Anchored then
  749. a = (power-200)/100
  750. Arr.CFrame = CN(p, lastP) * CN(0, 0, a)
  751. if realhit == hit2 then
  752. Arr.CFrame = CN(Start, pos2) * CN(0, 0, -1.9)
  753. end
  754. else
  755. local w8 = 13
  756. if realhit.Parent.className == "Hat" then
  757. a = ((power/2)-170)/110
  758. w8 = 5
  759. end
  760. Arr.Anchored = false
  761. local w = Weld(realhit, Arr, 0, 0, 0, 0, 0, 0)
  762. w.C1 = ((CN(p, lastP) * CN(0, 0, a)):toObjectSpace(realhit.CFrame))
  763. if realhit == hit2 then
  764. w.C1 = ((CN(Start, pos2) * CN(0, 0, -1.9)):toObjectSpace(realhit.CFrame))
  765. end
  766. Notime(function()
  767. if power < 50 then
  768. wait(w8+power/7.5)
  769. local caa = Arr.CFrame
  770. w:remove()
  771. Arr.Size = Vector3.new(0.3, 0.3, 4)
  772. Arr.CFrame = caa
  773. Arr.CanCollide = true
  774. end
  775. end)
  776. end
  777. didhit = true
  778. Notime(
  779. function()
  780. wait(26)
  781. for i = 0, 1, 0.02 do
  782. Arr.Transparency = i
  783. wait()
  784. end
  785. Arr:remove()
  786. end
  787. )
  788. Play(sound)
  789. local Surface = DetectSurface(p, realhit)
  790. AddDetail(Surface, p, h ~= nil and hit.Parent.className ~= "Hat", realhit, h)
  791. wait(0.05)
  792. break
  793. end
  794. lastP = Face.p
  795. wait()
  796. end
  797. if didhit == false then
  798. for i = 0, 1, 0.2 do
  799. Arr.Transparency = i
  800. wait()
  801. end
  802. Arr:remove()
  803. end
  804. end
  805.  
  806. function Shoot(mouse)
  807. Shooting = true
  808. RAW.Part1 = Rarm
  809. Atch(FTorso)
  810. local shoot = false
  811. local amg, omg = false, false
  812. Notime(function()
  813. repeat
  814. wait()
  815. until Selected == false or omg
  816. if omg == false then
  817. omg = true
  818. Shooting = false
  819. Reloading = false
  820. Hurt = false
  821. Slashing = false
  822. Normal()
  823. EE()
  824. return
  825. end
  826. end)
  827. Notime(function()
  828. mouse.Button1Up:wait()
  829. shoot = true
  830. end)
  831. for i = 0.16, 1, 0.16 do
  832. FWeld.C0 = CA(0, MR(-80*i), 0)
  833. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  834. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  835. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  836. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  837. wait()
  838. end
  839. for i = 0.33, 1, 0.33 do
  840. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  841. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  842. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  843. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  844. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  845. wait()
  846. end
  847. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, -0.1)
  848. HW.C0 = CA(MR(180), 0, MR(215))
  849. FWeld.C0 = CA(0, MR(-90), 0)
  850. for i = 0.25, 1, 0.25 do
  851. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  852. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  853. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  854. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  855. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  856. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  857. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  858. wait()
  859. end
  860. for i = 0.33, 1, 0.33 do
  861. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  862. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  863. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  864. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  865. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  866. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  867. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  868. wait()
  869. end
  870. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  871. local powe = 10
  872. Notime(function()
  873. repeat wait() until powe >= MaximumPower or shoot
  874. wait(6)
  875. if shoot == false then
  876. shoot = true
  877. end
  878. end)
  879. repeat
  880. wait()
  881. powe = powe + 4.8
  882. if powe > MaximumPower then powe = MaximumPower end
  883. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  884. until shoot
  885. Notime(function()
  886. for i = 0.5, 1, 0.5 do
  887. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  888. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  889. SUM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  890. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  891. SDM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
  892. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  893. wait()
  894. end
  895. end)
  896. local pos = mouse.Hit.p
  897. ArrowOn = false
  898. Arrow.Transparency = 1
  899. Notime(function()
  900. Play(Sounds.Shoot)
  901. ShootArrow(pos, powe, mouse.Target)
  902. end)
  903. for i = 0.2, 1, 0.2 do
  904. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  905. LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i)
  906. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  907. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  908. wait()
  909. end
  910. for i = 0.25, 1, 0.25 do
  911. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  912. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  913. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  914. HW.C0 = CA(MR(180), 0, MR(150))
  915. wait()
  916. end
  917. for i = 0.14, 1, 0.14 do
  918. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  919. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  920. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  921. wait()
  922. end
  923. for i = 0.33, 1, 0.33 do
  924. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  925. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  926. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  927. wait()
  928. end
  929. AW.C0 = CN()
  930. FWeld.C0 = CN()
  931. LAW.C0 = CA(0, 0, MR(-30))
  932. HW.C0 = CA(MR(180), 0, MR(150))
  933. Atch(torso)
  934. Shooting = false
  935. RAW.Part1 = nil
  936. RAW.C0 = CN()
  937. omg = true
  938. end
  939.  
  940. function SpecialAtk(mouse)
  941. if Special < 50 then return end
  942. Shooting = true
  943. RAW.Part1 = Rarm
  944. Atch(FTorso)
  945. local amg, omg = false, false
  946. Notime(function()
  947. repeat
  948. wait()
  949. until Selected == false or omg
  950. if omg == false then
  951. omg = true
  952. Shooting = false
  953. Reloading = false
  954. Hurt = false
  955. Slashing = false
  956. Normal()
  957. EE()
  958. return
  959. end
  960. end)
  961. local shoot = false
  962. Notime(function()
  963. mouse.Button1Up:wait()
  964. shoot = true
  965. end)
  966. for i = 0.2, 1, 0.2 do
  967. FWeld.C0 = CA(0, MR(-80*i), 0)
  968. LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
  969. RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
  970. HW.C0 = CA(MR(180), 0, MR(150+60*i))
  971. AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
  972. wait()
  973. end
  974. for i = 0.5, 1, 0.5 do
  975. FWeld.C0 = CA(0, MR(-80-10*i), 0)
  976. LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
  977. RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
  978. HW.C0 = CA(MR(180), 0, MR(210+5*i))
  979. AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
  980. wait()
  981. end
  982. LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, 0)
  983. HW.C0 = CA(MR(180), 0, MR(215))
  984. FWeld.C0 = CA(0, MR(-90), 0)
  985. AW.C0 = CA(MR(90), MR(-15), 0) * CN(0, 0, 2.2)
  986. for i = 0.33, 1, 0.33 do
  987. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  988. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  989. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  990. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  991. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  992. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  993. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  994. wait()
  995. end
  996. for i = 0.5, 1, 0.5 do
  997. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  998. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  999. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  1000. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  1001. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  1002. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  1003. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  1004. wait()
  1005. end
  1006. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
  1007. local powe = 0
  1008. Notime(function()
  1009. repeat wait() until powe >= MaximumPower or shoot
  1010. if shoot == false then
  1011. shoot = true
  1012. end
  1013. end)
  1014. repeat
  1015. wait()
  1016. powe = powe + 5
  1017. if powe > MaximumPower then powe = MaximumPower end
  1018. Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
  1019. local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
  1020. until shoot
  1021. Special = Special - 50
  1022. local pos = mouse.Hit.p
  1023. Notime(function()
  1024. Play(Sounds.Shoot)
  1025. ShootArrow(pos, powe/1.2, mouse.Target)
  1026. end)
  1027. SUW.C0 = CN(0, 0.15, 0) * CA(0, 0, 0)
  1028. SUW.C1 = CN(0, 0, 0) * ORSU
  1029. SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
  1030. SDW.C0 = CN(0, -0.15, 0) * CA(0, 0, 0)
  1031. SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
  1032. SDW.C1 = CN(0, 0, 0) * ORSD
  1033. for i = 0.33, 1, 0.33 do
  1034. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3*i, 0)
  1035. wait()
  1036. end
  1037. for i = 0.33, 1, 0.33 do
  1038. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
  1039. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
  1040. SUW.C1 = CN(0, -0.22*i, 0) * ORSU
  1041. SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  1042. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
  1043. SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
  1044. SDW.C1 = CN(0, 0.25*i, 0) * ORSD
  1045. wait()
  1046. end
  1047. for i = 0.5, 1, 0.5 do
  1048. RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
  1049. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
  1050. SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
  1051. SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  1052. SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
  1053. SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
  1054. SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
  1055. wait()
  1056. end
  1057. Notime(function()
  1058. Arrow.Transparency = 1
  1059. ArrowOn = false
  1060. Play(Sounds.Shoot)
  1061. ShootArrow(pos, powe/1.2, mouse.Target)
  1062. end)
  1063. Notime(function()
  1064. for i = 0.5, 1, 0.5 do
  1065. SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
  1066. SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
  1067. SUM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  1068. SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
  1069. SDM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
  1070. SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
  1071. wait()
  1072. end
  1073. end)
  1074. for i = 0.25, 1, 0.25 do
  1075. FWeld.C0 = CA(0, MR(-90+25*i), 0)
  1076. LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i)
  1077. RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
  1078. HW.C0 = CA(MR(180), 0, MR(215-65*i))
  1079. wait()
  1080. end
  1081. for i = 0.33, 1, 0.33 do
  1082. FWeld.C0 = CA(0, MR(-65+5*i), 0)
  1083. LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
  1084. RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
  1085. HW.C0 = CA(MR(180), 0, MR(150))
  1086. wait()
  1087. end
  1088. for i = 0.16, 1, 0.16 do
  1089. FWeld.C0 = CA(0, MR(-60+55*i), 0)
  1090. LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
  1091. RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
  1092. wait()
  1093. end
  1094. for i = 0.5, 1, 0.5 do
  1095. FWeld.C0 = CA(0, MR(-5+5*i), 0)
  1096. LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
  1097. RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
  1098. wait()
  1099. end
  1100. AW.C0 = CN()
  1101. FWeld.C0 = CN()
  1102. LAW.C0 = CA(0, 0, MR(-30))
  1103. HW.C0 = CA(MR(180), 0, MR(150))
  1104. Atch(torso)
  1105. Shooting = false
  1106. RAW.Part1 = nil
  1107. RAW.C0 = CN()
  1108. omg = false
  1109. end
  1110.  
  1111. Mouse.KeyDown:connect(function(key)
  1112. key = key:lower()
  1113. if Reloading == false and Slashing == false and Shooting == false then
  1114. if key == "f" and attack == false then
  1115. attack=true
  1116. if equipped == false then
  1117. equipped = true
  1118. SelectAnim()
  1119. Selected = true
  1120. else
  1121. equipped = false
  1122. Selected = false
  1123. DeselectAnim()
  1124. end
  1125. attack=false
  1126. end
  1127. if equipped == true then
  1128. if key == "b" then
  1129. Reload()
  1130. end
  1131. if Shooting == false then
  1132. if key == "mm" then
  1133. Keys.g = true
  1134. local k
  1135. repeat
  1136. wait()
  1137. k = Mouse.KeyUp:wait()
  1138. until k == "gg"
  1139. Keys.g = false
  1140. if Shooting == false then
  1141. end
  1142. end
  1143. end
  1144. if key == "qq" then
  1145. Where = Where - 1
  1146. elseif key == "ee" then
  1147. Where = Where + 1
  1148. elseif key == "zz" then
  1149. local h = nil
  1150. local t = Mouse.Target
  1151. if t then
  1152. h = getHumanoid(t.Parent)
  1153. if h == nil and t.Parent.Parent ~= game and t.Parent.Parent ~= nil then
  1154. h = getHumanoid(t.Parent.Parent)
  1155. end
  1156. end
  1157. if h == nil then
  1158. else
  1159. end
  1160. elseif key == "xx" then
  1161. Cam.CameraSubject = Hum
  1162. elseif key == "rr" then
  1163. RotationOn = not RotationOn
  1164. elseif key == "tt" then
  1165. local k
  1166. coroutine.resume(coroutine.create(function()
  1167. repeat
  1168. wait()
  1169. Rotation = Rotation - 0.05
  1170. until k == "tt"
  1171. end))
  1172. repeat k = Mouse.KeyUp:wait() until k == "tt"
  1173. elseif key == "yy" then
  1174. local k
  1175. coroutine.resume(coroutine.create(function()
  1176. repeat
  1177. wait()
  1178. Rotation = Rotation + 0.05
  1179. until k == "yy"
  1180. end))
  1181. repeat k = Mouse.KeyUp:wait() until k == "yy"
  1182. end
  1183. if Where > #CamStyles then Where = 1 elseif Where < 1 then Where = #CamStyles end
  1184. end
  1185. end
  1186. end)
  1187. Mouse.Button1Down:connect(function()
  1188. if Reloading == false and Slashing == false and Shooting == false then
  1189. if equipped == true then
  1190. if ArrowOn == false then
  1191. local yesh = true
  1192. Notime(function()
  1193. Mouse.Button1Up:wait()
  1194. yesh = false
  1195. end)
  1196. local ah = Keys.g
  1197. Reload()
  1198. if yesh then
  1199. local mm = Special >= 50
  1200. if ah and mm or Keys.g and mm then
  1201. SpecialAtk(Mouse)
  1202. else
  1203. Shoot(Mouse)
  1204. end
  1205. end
  1206. else
  1207. local mm = Special >= 50
  1208. if Keys.g and mm then
  1209. SpecialAtk(Mouse)
  1210. else
  1211. Shoot(Mouse)
  1212. end
  1213. end
  1214. end
  1215. end
  1216. end)
  1217.  
  1218. while Mo.Parent == char do
  1219. wait()
  1220. Special = Special + 0.07
  1221. if Special > MaxSpecial then Special = MaxSpecial end
  1222. if RotationOn then
  1223. end
  1224. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement