Cyculu

Cyculu S9

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