Advertisement
memberhero

Untitled

May 8th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.04 KB | None | 0 0
  1. Plrs = game:GetService("Players")
  2.  
  3.  
  4.  
  5. Name = "memberhero"
  6.  
  7. me = Plrs.memberhero
  8.  
  9. char = me.Character
  10.  
  11. Modelname = "Ax of Doom"
  12.  
  13. Toolname = "Ax of Doom"
  14.  
  15. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  16.  
  17. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  18.  
  19. selected = false
  20.  
  21. Hurt = false
  22.  
  23. Able = true
  24.  
  25.  
  26.  
  27. CA = CFrame.Angles
  28.  
  29. CN = CFrame.new
  30.  
  31. MR = math.rad
  32.  
  33. MP = math.pi
  34.  
  35. MD = math.deg
  36.  
  37. MH = math.huge
  38.  
  39. MRA = math.random
  40.  
  41.  
  42.  
  43. Add = {
  44.  
  45. Sphere = function(P)
  46.  
  47. local m = Instance.new("SpecialMesh",P)
  48.  
  49. m.MeshType = "Sphere"
  50.  
  51. return m
  52.  
  53. end,
  54.  
  55. BF = function(P)
  56.  
  57. local bf = Instance.new("BodyForce",P)
  58.  
  59. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  60.  
  61. return bf
  62.  
  63. end,
  64.  
  65. BP = function(P)
  66.  
  67. local bp = Instance.new("BodyPosition",P)
  68.  
  69. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  70.  
  71. bp.P = 14000
  72.  
  73. return bp
  74.  
  75. end,
  76.  
  77. BG = function(P)
  78.  
  79. local bg = Instance.new("BodyGyro",P)
  80.  
  81. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  82.  
  83. bg.P = 14000
  84.  
  85. return bg
  86.  
  87. end,
  88.  
  89. Mesh = function(P, ID, x, y, z)
  90.  
  91. local m = Instance.new("SpecialMesh")
  92.  
  93. m.MeshId = ID
  94.  
  95. m.Scale = Vector3.new(x, y, z)
  96.  
  97. m.Parent = P
  98.  
  99. return m
  100.  
  101. end,
  102.  
  103. Sound = function(P, ID, vol, pitch)
  104.  
  105. local s = Instance.new("Sound")
  106.  
  107. s.SoundId = ID
  108.  
  109. s.Volume = vol
  110.  
  111. s.Pitch = pitch
  112.  
  113. s.Parent = P
  114.  
  115. return s
  116.  
  117. end
  118.  
  119. }
  120.  
  121.  
  122.  
  123. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  124.  
  125. local p = Instance.new("Part")
  126.  
  127. p.formFactor = "Custom"
  128.  
  129. p.Anchored = Anchor
  130.  
  131. p.CanCollide = Collide
  132.  
  133. p.Transparency = Tran
  134.  
  135. p.Reflectance = Ref
  136.  
  137. p.BrickColor = BrickColor.new(Color)
  138.  
  139. for _, Surf in pairs(Surfaces) do
  140.  
  141. p[Surf] = "Smooth"
  142.  
  143. end
  144.  
  145. p.Size = Vector3.new(X, Y, Z)
  146.  
  147. if Break then
  148.  
  149. p:BreakJoints()
  150.  
  151. else p:MakeJoints() end
  152.  
  153. p.Parent = Parent
  154.  
  155. return p
  156.  
  157. end
  158.  
  159.  
  160.  
  161. function Weld(p0, p1, x, y, z, a, b, c)
  162.  
  163. local w = Instance.new("Weld")
  164.  
  165. w.Parent = p0
  166.  
  167. w.Part0 = p0
  168.  
  169. w.Part1 = p1
  170.  
  171. w.C1 = CN(x,y,z) * CA(a,b,c)
  172.  
  173. return w
  174.  
  175. end
  176.  
  177.  
  178.  
  179. function ComputePos(pos1, pos2)
  180.  
  181. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  182.  
  183. return CN(pos1, pos3)
  184.  
  185. end
  186.  
  187.  
  188.  
  189. function getHumanoid(c)
  190.  
  191. local h = nil
  192.  
  193. for i,v in pairs(c:children()) do
  194.  
  195. if v:IsA("Humanoid") and c ~= char then
  196.  
  197. if v.Health > 0 then
  198.  
  199. h = v
  200.  
  201. end
  202.  
  203. end
  204.  
  205. end
  206.  
  207. return h
  208.  
  209. end
  210.  
  211.  
  212.  
  213. for i,v in pairs(char:children()) do
  214.  
  215. if v.Name == Modelname then
  216.  
  217. v:remove()
  218.  
  219. end
  220.  
  221. end
  222.  
  223.  
  224.  
  225. torso = char.Torso
  226.  
  227. neck = torso.Neck
  228.  
  229. hum = char.Humanoid
  230.  
  231. Rarm = char["Right Arm"]
  232.  
  233. Larm = char["Left Arm"]
  234.  
  235. Rleg = char["Right Leg"]
  236.  
  237. Lleg = char["Left Leg"]
  238.  
  239.  
  240.  
  241. hc = Instance.new("Humanoid")
  242.  
  243. hc.Health = 0
  244.  
  245. hc.MaxHealth = 0
  246.  
  247.  
  248.  
  249. slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 1)
  250.  
  251. hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
  252.  
  253. charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
  254.  
  255. boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
  256.  
  257.  
  258.  
  259. function PlaySound(sound)
  260.  
  261. local s = sound:clone()
  262.  
  263. s.Parent = torso
  264.  
  265. s.PlayOnRemove = true
  266.  
  267. coroutine.resume(coroutine.create(function()
  268.  
  269. wait()
  270.  
  271. s:remove()
  272.  
  273. end))
  274.  
  275. end
  276.  
  277.  
  278.  
  279.  
  280.  
  281. --[[ PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS
  282.  
  283. PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS
  284.  
  285. PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS PARTS
  286.  
  287. ]]
  288.  
  289. Mo = Instance.new("Model")
  290.  
  291. Mo.Name = Modelname
  292.  
  293.  
  294.  
  295. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  296.  
  297. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  298.  
  299. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  300.  
  301. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  302.  
  303.  
  304.  
  305. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  306.  
  307. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  308.  
  309. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  310.  
  311. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  312.  
  313.  
  314.  
  315. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  316.  
  317. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  318.  
  319. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  320.  
  321. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  322.  
  323.  
  324.  
  325. HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  326.  
  327. HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
  328.  
  329. HW = Weld(HB, nil, 0, -1, 0, math.pi/2, 0, 0)
  330.  
  331.  
  332.  
  333. TH = Weld(torso, nil, -0.75, 0.7, 0.4, 0, math.pi/2, MR(-140))
  334.  
  335. TH.C0 = CA(MR(-10), MR(10), 0)
  336.  
  337.  
  338.  
  339. handle = Part(Mo, false, false, 0, 0, "Camo", 0.45, 5.5, 0.45, true)
  340.  
  341. Instance.new("SpecialMesh",handle)
  342.  
  343. handle.Name = "Handle"
  344.  
  345.  
  346.  
  347. dec1 = Part(Mo, false, false, 0, 0, "Dark green", 0.2, 6, 0.2, true)
  348.  
  349. Add.Mesh(dec1, "http://www.roblox.com/asset/?id=16606212", 0.38, 0.38, 1.55)
  350.  
  351. Weld(handle, dec1, 0, 0, 0, math.pi/2, 0, 0)
  352.  
  353.  
  354.  
  355. dec2 = Part(Mo, false, false, 0, 0, "Earth green", 0.2, 6, 0.2, true)
  356.  
  357. Add.Mesh(dec2, "http://www.roblox.com/asset/?id=16606212", -0.3, 0.3, 1.55)
  358.  
  359. Weld(handle, dec2, 0, 0, 0, math.pi/2, math.pi/2, 0)
  360.  
  361.  
  362.  
  363. skull = Part(Mo, false, false, 0, 0, "Bright green", 0.2, 6, 0.2, true)
  364.  
  365. Add.Mesh(skull, "http://www.roblox.com/asset/?id=4770583", 2.9, 2.9, 2.3)
  366.  
  367. Weld(handle, skull, 0, -2.5, 0, 0, 0, 0)
  368.  
  369.  
  370.  
  371. for x = 0, 180, 180 do
  372.  
  373. for i = -40, 70, 110/3 do
  374.  
  375. local asd = (i+90)/85
  376.  
  377. local p = Part(Mo, false, false, 0, 0, "Camo", 0.3, 0.8, 0.3, true)
  378.  
  379. Add.Mesh(p, "http://www.roblox.com/asset/?id=1033714", 0.16, asd*1.2, 0.16)
  380.  
  381. local w = Weld(skull, p, 0, 0, 0, 0, 0, 0)
  382.  
  383. w.C0 = CA(0, MR(x), MR(i))
  384.  
  385. w.C1 = CN(0, -1, 0) * CA(math.pi/2, math.pi/2, 0)
  386.  
  387. end
  388.  
  389. end
  390.  
  391.  
  392.  
  393. handletip1 = Part(Mo, false, false, 0, 0.2, "Earth green", 0.5, 0.5, 0.5, true)
  394.  
  395. w1 = Weld(handle, handletip1, 0, 2.6, 0, 0, 0, 0)
  396.  
  397. Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.6, 0.5, 0.6)
  398.  
  399.  
  400.  
  401. handletip2 = Part(Mo, false, false, 0, 0.2, "Camo", 0.5, 0.5, 0.5, true)
  402.  
  403. Weld(handletip1, handletip2, 0, 0, 0, 0, MR(45), 0)
  404.  
  405. Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.6, 0.55, 0.6)
  406.  
  407.  
  408.  
  409. Mo.Parent = char
  410.  
  411. TH.Part1 = handle
  412.  
  413.  
  414.  
  415. if script.Parent.className ~= "HopperBin" then
  416.  
  417. h = Instance.new("HopperBin",me.Backpack)
  418.  
  419. h.Name = Toolname
  420.  
  421. script.Parent = h
  422.  
  423. end
  424.  
  425.  
  426.  
  427. bin = script.Parent
  428.  
  429.  
  430.  
  431. --[[ ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS
  432.  
  433. ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS
  434.  
  435. ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS ANIMATIONS
  436.  
  437. ]]
  438.  
  439.  
  440.  
  441. function detach(bool)
  442.  
  443. LLW.C0 = CN(0, 0, 0)
  444.  
  445. RLW.C0 = CN(0, 0, 0)
  446.  
  447. LAW.C0 = CN(0, 0, 0)
  448.  
  449. RAW.C0 = CN(0, 0, 0)
  450.  
  451. if bool then
  452.  
  453. LLW.Part1 = nil
  454.  
  455. RLW.Part1 = nil
  456.  
  457. RAW.Part1 = nil
  458.  
  459. LAW.Part1 = nil
  460.  
  461. TH.Part1 = handle
  462.  
  463. HW.Part1 = nil
  464.  
  465. end
  466.  
  467. end
  468.  
  469.  
  470.  
  471. function attach()
  472.  
  473. RAW.Part1 = Rarm
  474.  
  475. LAW.Part1 = Larm
  476.  
  477. RLW.Part1 = Rleg
  478.  
  479. LLW.Part1 = Lleg
  480.  
  481. end
  482.  
  483.  
  484.  
  485. function normal()
  486.  
  487. neck.C0 = necko
  488.  
  489. RAW.C0 = RAWStand
  490.  
  491. LAW.C0 = LAWStand
  492.  
  493. RLW.C0 = RLWStand
  494.  
  495. LLW.C0 = LLWStand
  496.  
  497. HW.C0 = HWStand
  498.  
  499. end
  500.  
  501.  
  502.  
  503. function idleanim()
  504.  
  505. attach()
  506.  
  507. for i = 0, 1, 0.016 do
  508.  
  509. RAW.C0 = RAWStand * CA(0, MR(-7*i), MR(12*i))
  510.  
  511. LAW.C0 = LAWStand * CA(0, MR(-5*i), MR(7*i)) * CN(0, -0.2*i, 0)
  512.  
  513. RLW.C0 = RLWStand * CA(MR(-4*i), 0, MR(3*i))
  514.  
  515. LLW.C0 = LLWStand * CA(MR(4*i), 0, MR(-3*i))
  516.  
  517. neck.C0 = necko * CA(MR(7*i), 0, MR(-6*i))
  518.  
  519. if selected == false or torso.Velocity.magnitude > 4 or Able == false then break end
  520.  
  521. wait()
  522.  
  523. end
  524.  
  525. wait()
  526.  
  527. for i = 1, 0, -0.013 do
  528.  
  529. RAW.C0 = RAWStand * CA(0, MR(-7*i), MR(12*i))
  530.  
  531. LAW.C0 = LAWStand * CA(0, MR(-5*i), MR(7*i)) * CN(0, -0.2*i, 0)
  532.  
  533. RLW.C0 = RLWStand * CA(MR(-4*i), 0, MR(3*i))
  534.  
  535. LLW.C0 = LLWStand * CA(MR(4*i), 0, MR(-3*i))
  536.  
  537. neck.C0 = necko * CA(MR(7*i), 0, MR(-6*i))
  538.  
  539. if selected == false or torso.Velocity.magnitude > 4 or Able == false then break end
  540.  
  541. wait()
  542.  
  543. end
  544.  
  545. normal()
  546.  
  547. end
  548.  
  549.  
  550.  
  551. function runanim()
  552.  
  553. RLW.Part1 = nil
  554.  
  555. LLW.Part1 = nil
  556.  
  557. end
  558.  
  559.  
  560.  
  561. coroutine.resume(coroutine.create(function()
  562.  
  563. while true do
  564.  
  565. wait()
  566.  
  567. if selected and Able == true then
  568.  
  569. if torso.Velocity.magnitude < 0.1 then
  570.  
  571. idleanim()
  572.  
  573. else
  574.  
  575. runanim()
  576.  
  577. end
  578.  
  579. wait()
  580.  
  581. end
  582.  
  583. end
  584.  
  585. end))
  586.  
  587.  
  588.  
  589. function selectanim()
  590.  
  591. RAW.Part1 = Rarm
  592.  
  593. LLW.Part1 = Lleg
  594.  
  595. RLW.Part1 = Rleg
  596.  
  597. for i = 0, 1, 0.2 do
  598.  
  599. RAW.C0 = CA(MR(185*i), MR(70*i), 0)
  600.  
  601. LLW.C0 = CA(MR(2*i), 0, MR(-5*i))
  602.  
  603. RLW.C0 = CA(MR(-2*i), 0, MR(5*i))
  604.  
  605. neck.C0 = necko * CA(0, 0, MR(-40*i))
  606.  
  607. wait()
  608.  
  609. end
  610.  
  611. TH.Part1 = nil
  612.  
  613. HW.Part1 = handle
  614.  
  615. HW.C0 = CA(MR(40), 0, MR(-20))
  616.  
  617. for i = 0, 1, 0.08 do
  618.  
  619. RAW.C0 = CA(MR(185-110*i), MR(70-60*i), MR(30*i))
  620.  
  621. LLW.C0 = CA(MR(2-8*i), 0, MR(-5-10*i))
  622.  
  623. RLW.C0 = CA(MR(-2+8*i), 0, MR(5+10*i))
  624.  
  625. neck.C0 = necko * CA(MR(-15*i), 0, MR(-40+35*i))
  626.  
  627. HW.C0 = CA(MR(40-80*i), 0, MR(-20+20*i))
  628.  
  629. wait()
  630.  
  631. end
  632.  
  633. LAW.Part1 = Larm
  634.  
  635. for i = 0, 1, 0.1 do
  636.  
  637. RAW.C0 = CA(MR(185-110+15*i), MR(70-60-10*i), MR(30-65*i)) * CN(0, -0.8*i, 0)
  638.  
  639. LAW.C0 = CA(MR(90*i), 0, MR(35*i)) * CN(0.1*i, -0.1*i, 0) * CN(0, -0.8*i, 0)
  640.  
  641. LLW.C0 = CA(MR(-6), 0, MR(-5-10+10*i))
  642.  
  643. RLW.C0 = CA(MR(6), 0, MR(5+10-10*i))
  644.  
  645. neck.C0 = necko * CA(MR(-15+15*i), 0, MR(-5+5*i))
  646.  
  647. HW.C0 = CA(MR(-40+40*i), 0, MR(35*i)) * CN(0, 0, 1.6*i)
  648.  
  649. wait()
  650.  
  651. end
  652.  
  653. selected = true
  654.  
  655. end
  656.  
  657.  
  658.  
  659. function deselanim()
  660.  
  661. selected = false
  662.  
  663. for i = 1, 0, -0.1 do
  664.  
  665. RAW.C0 = CA(MR(185-110+15*i), MR(70-60-10*i), MR(30-65*i)) * CN(0, -0.8*i, 0)
  666.  
  667. LAW.C0 = CA(MR(90*i), 0, MR(35*i)) * CN(0.1*i, -0.1*i, 0) * CN(0, -0.8*i, 0)
  668.  
  669. LLW.C0 = CA(MR(-6), 0, MR(-5-10+10*i))
  670.  
  671. RLW.C0 = CA(MR(6), 0, MR(5+10-10*i))
  672.  
  673. neck.C0 = necko * CA(MR(-15+15*i), 0, MR(-5+5*i))
  674.  
  675. HW.C0 = CA(MR(-40+40*i), 0, 0) * CN(0, 0, 1.6*i)
  676.  
  677. wait()
  678.  
  679. end
  680.  
  681. LAW.Part1 = nil
  682.  
  683. for i = 1, 0, -0.08 do
  684.  
  685. RAW.C0 = CA(MR(185-110*i), MR(70-60*i), MR(30*i))
  686.  
  687. LLW.C0 = CA(MR(2-8*i), 0, MR(-5-10*i))
  688.  
  689. RLW.C0 = CA(MR(-2+8*i), 0, MR(5+10*i))
  690.  
  691. neck.C0 = necko * CA(MR(-15*i), 0, MR(-40+35*i))
  692.  
  693. HW.C0 = CA(MR(40-70*i), 0, MR(-20+20*i))
  694.  
  695. wait()
  696.  
  697. end
  698.  
  699. TH.Part1 = handle
  700.  
  701. HW.Part1 = nil
  702.  
  703. HW.C0 = CA(MR(40), 0, MR(-20))
  704.  
  705. for i = 1, 0, -0.2 do
  706.  
  707. RAW.C0 = CA(MR(185*i), MR(70*i), 0)
  708.  
  709. LLW.C0 = CA(MR(2*i), 0, MR(-5*i))
  710.  
  711. RLW.C0 = CA(MR(-2*i), 0, MR(5*i))
  712.  
  713. neck.C0 = necko * CA(0, 0, MR(-40*i))
  714.  
  715. wait()
  716.  
  717. end
  718.  
  719. detach(true)
  720.  
  721. end
  722.  
  723.  
  724.  
  725. function slash(mp)
  726.  
  727. attach()
  728.  
  729. local Orig = torso.CFrame
  730.  
  731. local bg = Add.BG(torso)
  732.  
  733. local bp = Add.BP(torso)
  734.  
  735. bp.position = Orig.p
  736.  
  737. local CF = ComputePos(Orig.p, mp)
  738.  
  739. bg.cframe = CF
  740.  
  741. for i = 0, 1, 0.05 do
  742.  
  743. RAW.C0 = RAWStand * CA(MR(-80*i), 0, MR(20*i)) * CN(0, 0.2*i, 0.8*i)
  744.  
  745. LAW.C0 = LAWStand * CA(MR(-50*i), 0, MR(40*i)) * CN(0, -0.8*i, 0)
  746.  
  747. HW.C0 = HWStand * CA(0, 0, 0) * CN(0, 0, 0.4*i)
  748.  
  749. neck.C0 = necko * CA(MR(20*i), 0, MR(-40*i))
  750.  
  751. wait()
  752.  
  753. end
  754.  
  755. for i = 0, 1, 0.1 do
  756.  
  757. RAW.C0 = RAWStand * CA(MR(-80-4*i), 0, MR(20+2*i)) * CN(0, 0.2-0.1*i, 0.8-0.1*i)
  758.  
  759. LAW.C0 = LAWStand * CA(MR(-50-3*i), 0, MR(40-2*i)) * CN(0, -0.8-0.1*i, 0)
  760.  
  761. HW.C0 = HWStand * CA(0, 0, MR(-35*i)) * CN(0, 0, 0.4)
  762.  
  763. neck.C0 = necko * CA(MR(20+2*i), 0, MR(-40))
  764.  
  765. wait()
  766.  
  767. end
  768.  
  769. wait(1)
  770.  
  771. for i = 0, 1, 0.03 do
  772.  
  773. RAW.C0 = RAWStand * CA(MR(-84+64*i), 0, MR(22)) * CN(0, 0.1, 0.7)
  774.  
  775. LAW.C0 = LAWStand * CA(MR(-53), 0, MR(38)) * CN(0, -0.9, 0)
  776.  
  777. HW.C0 = HWStand * CA(MR(-45*i), MR(15*i), MR(-35)) * CN(-1.5*i, 0, 0.4-2.4*i)
  778.  
  779. neck.C0 = necko * CA(MR(22), 0, MR(-40))
  780.  
  781. wait()
  782.  
  783. end
  784.  
  785. normal()
  786.  
  787. bg:remove()
  788.  
  789. bp:remove()
  790.  
  791. end
  792.  
  793.  
  794.  
  795. function select(mouse)
  796.  
  797. selectanim()
  798.  
  799. mouse.Button1Down:connect(function()
  800.  
  801. if Able then
  802.  
  803. Able = false
  804.  
  805. slash(mouse.Hit.p)
  806.  
  807. Able = true
  808.  
  809. end
  810.  
  811. end)
  812.  
  813. end
  814.  
  815.  
  816.  
  817. function deselect(mouse)
  818.  
  819. deselanim()
  820.  
  821. end
  822.  
  823.  
  824.  
  825. bin.Selected:connect(select)
  826.  
  827. bin.Deselected:connect(deselect)
  828.  
  829. --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement