Advertisement
worm246411

Untitled

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