Advertisement
RibCripql

Untitled

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