Advertisement
RuineKiller

Telekensis

Aug 31st, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.98 KB | None | 0 0
  1.  
  2. --]]
  3.  
  4. Fire = false
  5.  
  6. Sparkles = false
  7.  
  8. Box = false
  9.  
  10. local Players = game.Players
  11.  
  12. local Player = Players.LocalPlayer
  13.  
  14. local Mouse = Player:GetMouse()
  15.  
  16. local dist = 25
  17.  
  18. local trans = 0
  19.  
  20. local dwn=false
  21.  
  22. local Bin = Instance.new("HopperBin")
  23.  
  24. Bin.Name = "Telekinesis"
  25.  
  26. Bin.Parent = Player.Backpack
  27.  
  28.  
  29. local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
  30.  
  31. local Color = Instance.new("Color3Value", ScreenGUI)
  32.  
  33. local ColorValue = Color.Value
  34.  
  35. local Blue = Instance.new("TextButton", ScreenGUI)
  36.  
  37. local Red = Instance.new("TextButton", ScreenGUI)
  38.  
  39. local Green = Instance.new("TextButton", ScreenGUI)
  40.  
  41. local Yellow = Instance.new("TextButton", ScreenGUI)
  42.  
  43. local Pink = Instance.new("TextButton", ScreenGUI)
  44.  
  45. local LightBlue = Instance.new("TextButton", ScreenGUI)
  46.  
  47. local White = Instance.new("TextButton", ScreenGUI)
  48.  
  49. local FireTrue = Instance.new("TextButton", ScreenGUI)
  50.  
  51. local FireFalse = Instance.new("TextButton", ScreenGUI)
  52.  
  53. local SparklesTrue = Instance.new("TextButton", ScreenGUI)
  54.  
  55. local SparklesFalse = Instance.new("TextButton", ScreenGUI)
  56.  
  57. local BoxTrue = Instance.new("TextButton", ScreenGUI)
  58.  
  59. local BoxFalse = Instance.new("TextButton", ScreenGUI)
  60.  
  61. Color.Name = "Color"
  62.  
  63. Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
  64.  
  65. Blue.Transparency = 0.5
  66.  
  67. Blue.Size = UDim2.new(0, 20 ,0, 20)
  68.  
  69. Blue.Position = UDim2.new(1, -35, 1, -35)
  70.  
  71. Blue.Name = "Blue"
  72.  
  73. Blue.Text = ""
  74.  
  75. Blue.Visible = false
  76.  
  77. Red.BackgroundColor3 = BrickColor.new("Bright red").Color
  78.  
  79. Red.Transparency = 0.5
  80.  
  81. Red.Size = UDim2.new(0, 20 ,0, 20)
  82.  
  83. Red.Position = UDim2.new(1,-65, 1, -35)
  84.  
  85. Red.Name = "Red"
  86.  
  87. Red.Text = ""
  88.  
  89. Red.Visible = false
  90.  
  91. Green.BackgroundColor3 = BrickColor.new("Bright green").Color
  92.  
  93. Green.Transparency = 0.5
  94.  
  95. Green.Size = UDim2.new(0, 20 ,0, 20)
  96.  
  97. Green.Position = UDim2.new(1,-95, 1, -35)
  98.  
  99. Green.Name = "Green"
  100.  
  101. Green.Text = ""
  102.  
  103. Green.Visible = false
  104.  
  105. Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
  106.  
  107. Yellow.Transparency = 0.5
  108.  
  109. Yellow.Size = UDim2.new(0, 20 ,0, 20)
  110.  
  111. Yellow.Position = UDim2.new(1,-125, 1, -35)
  112.  
  113. Yellow.Name = "Yellow"
  114.  
  115. Yellow.Text = ""
  116.  
  117. Yellow.Visible = false
  118.  
  119. Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
  120.  
  121. Pink.Transparency = 0.5
  122.  
  123. Pink.Size = UDim2.new(0, 20 ,0, 20)
  124.  
  125. Pink.Position = UDim2.new(1,-155, 1, -35)
  126.  
  127. Pink.Name = "Pink"
  128.  
  129. Pink.Text = ""
  130.  
  131. Pink.Visible = false
  132.  
  133. LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
  134.  
  135. LightBlue.Transparency = 0.5
  136.  
  137. LightBlue.Size = UDim2.new(0, 20 ,0, 20)
  138.  
  139. LightBlue.Position = UDim2.new(1,-185, 1, -35)
  140.  
  141. LightBlue.Name = "LightBlue"
  142.  
  143. LightBlue.Text = ""
  144.  
  145. LightBlue.Visible = false
  146.  
  147. White.BackgroundColor3 = BrickColor.new("White").Color
  148.  
  149. White.Transparency = 0.5
  150.  
  151. White.Size = UDim2.new(0, 20 ,0, 20)
  152.  
  153. White.Position = UDim2.new(1,-215, 1, -35)
  154.  
  155. White.Name = "White"
  156.  
  157. White.Text = ""
  158.  
  159. White.Visible = false
  160.  
  161. FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  162.  
  163. FireFalse.Transparency = 0.5
  164.  
  165. FireFalse.Size = UDim2.new(0, 50 ,0, 20)
  166.  
  167. FireFalse.Position = UDim2.new(1,-65, 1, -65)
  168.  
  169. FireFalse.Name = "FireFalse"
  170.  
  171. FireFalse.Text = "Fire: F"
  172.  
  173. FireFalse.Visible = false
  174.  
  175. FireFalse.FontSize = "Size12"
  176.  
  177. FireFalse.Font = "ArialBold"
  178.  
  179. FireFalse.TextColor = BrickColor.new(255,255,255)
  180.  
  181. FireFalse.TextTransparency = 0
  182.  
  183. FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  184.  
  185. FireTrue.Transparency = 0.5
  186.  
  187. FireTrue.Size = UDim2.new(0, 50 ,0, 20)
  188.  
  189. FireTrue.Position = UDim2.new(1,-65, 1, -65)
  190.  
  191. FireTrue.Name = "FireTrue"
  192.  
  193. FireTrue.Text = "Fire: T"
  194.  
  195. FireTrue.Visible = false
  196.  
  197. FireTrue.FontSize = "Size12"
  198.  
  199. FireTrue.Font = "ArialBold"
  200.  
  201. FireTrue.TextColor = BrickColor.new(255,255,255)
  202.  
  203. FireTrue.TextTransparency = 0
  204.  
  205. SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  206.  
  207. SparklesTrue.Transparency = 0.5
  208.  
  209. SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
  210.  
  211. SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
  212.  
  213. SparklesTrue.Name = "SparklesTrue"
  214.  
  215. SparklesTrue.Text = "SP: T"
  216.  
  217. SparklesTrue.Visible = false
  218.  
  219. SparklesTrue.FontSize = "Size12"
  220.  
  221. SparklesTrue.Font = "ArialBold"
  222.  
  223. SparklesTrue.TextColor = BrickColor.new(255,255,255)
  224.  
  225. SparklesTrue.TextTransparency = 0
  226.  
  227. SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  228.  
  229. SparklesFalse.Transparency = 0.5
  230.  
  231. SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
  232.  
  233. SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
  234.  
  235. SparklesFalse.Name = "SparklesFalse"
  236.  
  237. SparklesFalse.Text = "SP: F"
  238.  
  239. SparklesFalse.Visible = false
  240.  
  241. SparklesFalse.FontSize = "Size12"
  242.  
  243. SparklesFalse.Font = "ArialBold"
  244.  
  245. SparklesFalse.TextColor = BrickColor.new(255,255,255)
  246.  
  247. SparklesFalse.TextTransparency = 0
  248.  
  249. BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  250.  
  251. BoxTrue.Transparency = 0.5
  252.  
  253. BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
  254.  
  255. BoxTrue.Position = UDim2.new(1,-185, 1, -65)
  256.  
  257. BoxTrue.Name = "BoxTrue"
  258.  
  259. BoxTrue.Text = "Box: T"
  260.  
  261. BoxTrue.Visible = false
  262.  
  263. BoxTrue.FontSize = "Size12"
  264.  
  265. BoxTrue.Font = "ArialBold"
  266.  
  267. BoxTrue.TextColor = BrickColor.new(255,255,255)
  268.  
  269. BoxTrue.TextTransparency = 0
  270.  
  271. BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  272.  
  273. BoxFalse.Transparency = 0.5
  274.  
  275. BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
  276.  
  277. BoxFalse.Position = UDim2.new(1,-185, 1, -65)
  278.  
  279. BoxFalse.Name = "BoxFalse"
  280.  
  281. BoxFalse.Text = "Box: F"
  282.  
  283. BoxFalse.Visible = false
  284.  
  285. BoxFalse.FontSize = "Size12"
  286.  
  287. BoxFalse.Font = "ArialBold"
  288.  
  289. BoxFalse.TextColor = BrickColor.new(255,255,255)
  290.  
  291. BoxFalse.TextTransparency = 0
  292.  
  293. local bawl = Instance.new("Part", game.Lighting)
  294.  
  295. bawl.Name="TelekinesisGrab"
  296.  
  297. local bp = Instance.new("BodyPosition", bawl)
  298.  
  299. local w = Instance.new("Weld", bawl)
  300.  
  301. function onButton1Down(mouse)
  302.  
  303. bawl.Size = Vector3.new(2,2,2)
  304.  
  305. bawl.Material="Neon"
  306.  
  307. bawl.Shape=0
  308.  
  309. bawl.Transparency=trans
  310.  
  311. bawl.Name="TelekinesisGrab"
  312.  
  313. bawl.CanCollide = false
  314.  
  315. bawl.Parent = game.Workspace
  316.  
  317. w.Parent = bawl
  318.  
  319. w.Name = "Weld"
  320.  
  321. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  322.  
  323. bp.Parent = bawl
  324.  
  325. bp.Name="lolx"
  326.  
  327. bawl.Parent = workspace
  328.  
  329. if mouse ~= nil then
  330.  
  331. if mouse.Target ~= nil then
  332.  
  333. w.Part0 = mouse.Target
  334.  
  335. w.Part1 = bawl
  336.  
  337. dwn = true
  338.  
  339. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  340.  
  341. mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
  342.  
  343. else
  344.  
  345. print('no humanoid')
  346.  
  347. end
  348.  
  349. end
  350.  
  351. end
  352.  
  353. spawn(function()
  354.  
  355. while dwn == true do
  356.  
  357. ypcall(function()
  358.  
  359. bp.Parent = bawl
  360.  
  361. bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
  362.  
  363. wait()
  364.  
  365. end)
  366.  
  367. end
  368.  
  369. end)
  370.  
  371. end
  372.  
  373. function onButton1Up(mouse)
  374.  
  375. dwn=false
  376.  
  377. if bawl ~= nil then
  378.  
  379. bawl.Parent=game.Lighting
  380.  
  381. else
  382.  
  383. print('not found')
  384.  
  385. end
  386.  
  387. end
  388.  
  389. function onKeyDown(key, mouse)
  390.  
  391. key:lower()
  392.  
  393. if key == "r" then
  394.  
  395. if bawl ~= nil then
  396.  
  397. --bawl.Parent=nil
  398.  
  399. end
  400.  
  401. elseif key == "e" then
  402.  
  403. local p = Instance.new("Part", workspace)
  404.  
  405. p.Size = Vector3.new(3,3,3)
  406.  
  407. p.Material = "Neon"
  408.  
  409. p.Position = mouse.Hit.p + Vector3.new(0,2,0)
  410.  
  411. p.BrickColor = bawl.BrickColor
  412.  
  413. p.Shape = "Ball"
  414.  
  415. p.BottomSurface = "Smooth"
  416.  
  417. p.TopSurface = "Smooth"
  418.  
  419. elseif key == "h" then
  420.  
  421. if bawl ~= nil then
  422.  
  423. if bawl:FindFirstChild("Weld") ~= nil then
  424.  
  425. if bawl:FindFirstChild("Weld").Part0 ~= nil then
  426.  
  427. bawl:FindFirstChild("Weld").Part0.Anchored=false
  428.  
  429. end
  430.  
  431. end
  432.  
  433. end
  434.  
  435. elseif key == "g" then
  436.  
  437. if bawl ~= nil then
  438.  
  439. local x = Instance.new("Explosion",workspace)
  440.  
  441. x.Position=bawl.Position
  442.  
  443. else
  444.  
  445. print('some sort of error')
  446.  
  447. end
  448.  
  449. elseif key == "x" then
  450.  
  451. dist=dist - 5
  452.  
  453. elseif key == "c" then
  454.  
  455. dist=15
  456.  
  457. elseif key == "v" then
  458.  
  459. dist=100
  460.  
  461. elseif key == "z" then
  462.  
  463. dist=dist + 5
  464.  
  465. end
  466.  
  467. end
  468.  
  469. FireX = 0
  470.  
  471. FireY = 0
  472.  
  473. FireZ = 0
  474.  
  475. SPX = 0
  476.  
  477. SPY = 0
  478.  
  479. SPZ = 0
  480.  
  481. BoxColor = "White"
  482.  
  483. FireFalse.MouseButton1Down:connect(function ()
  484.  
  485. local Fire = Instance.new("Fire", bawl)
  486. Fire.Color = Color3.new(FireX,FireY,FireZ)
  487.  
  488. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  489.  
  490. Player.PlayerGui.ScreenGui.FireTrue.Visible = true
  491.  
  492. Fire.Color = Color3.new(FireX,FireY,FireZ)
  493.  
  494. end)
  495.  
  496. FireTrue.MouseButton1Down:connect(function ()
  497.  
  498. bawl.Fire:remove()
  499.  
  500. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  501.  
  502. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  503.  
  504. end)
  505.  
  506. SparklesFalse.MouseButton1Down:connect(function ()
  507.  
  508. local SP = Instance.new("Sparkles", bawl)
  509. SP.Color = Color3.new(SPX,SPY,SPZ)
  510.  
  511. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  512.  
  513. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
  514.  
  515. end)
  516.  
  517. SparklesTrue.MouseButton1Down:connect(function ()
  518.  
  519. bawl.Sparkles:remove()
  520.  
  521. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  522.  
  523. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  524.  
  525. end)
  526.  
  527. BoxFalse.MouseButton1Down:connect(function ()
  528.  
  529. local Box = Instance.new("SelectionBox", bawl)
  530. Box.Color = BrickColor.new(BoxColor)
  531. Box.Adornee = Box.Parent
  532.  
  533. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  534.  
  535. Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
  536.  
  537. end)
  538.  
  539. BoxTrue.MouseButton1Down:connect(function ()
  540.  
  541. bawl.SelectionBox:remove()
  542.  
  543. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  544.  
  545. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  546.  
  547. end)
  548.  
  549. Blue.MouseButton1Down:connect(function ()
  550.  
  551. if bawl ~= nil then
  552.  
  553. bawl.BrickColor = BrickColor.new("Bright blue")
  554.  
  555. FireX = 0
  556. FireY = 0
  557. FireZ = 255
  558.  
  559. SPX = 0
  560. SPY = 0
  561. SPZ = 255
  562.  
  563. BoxColor = "Bright blue"
  564.  
  565. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
  566.  
  567. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
  568.  
  569. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
  570.  
  571. end
  572.  
  573. end)
  574.  
  575. Red.MouseButton1Down:connect(function ()
  576.  
  577. if bawl ~= nil then
  578.  
  579. bawl.BrickColor = BrickColor.new("Bright red")
  580.  
  581. FireX = 255
  582. FireY = 0
  583. FireZ = 0
  584.  
  585. SPX = 255
  586. SPY = 0
  587. SPZ = 0
  588.  
  589. BoxColor = "Bright red"
  590.  
  591. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
  592.  
  593. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
  594.  
  595. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
  596.  
  597. end
  598.  
  599. end)
  600.  
  601. Green.MouseButton1Down:connect(function ()
  602.  
  603. if bawl ~= nil then
  604.  
  605. bawl.BrickColor = BrickColor.new("Bright green")
  606.  
  607. FireX = 0
  608. FireY = 255
  609. FireZ = 0
  610.  
  611. SPX = 0
  612. SPY = 255
  613. SPZ = 0
  614.  
  615. BoxColor = "Bright green"
  616.  
  617. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
  618.  
  619. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
  620.  
  621. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
  622.  
  623. end
  624.  
  625. end)
  626.  
  627. Yellow.MouseButton1Down:connect(function ()
  628.  
  629. if bawl ~= nil then
  630.  
  631. bawl.BrickColor = BrickColor.new("New Yeller")
  632.  
  633. FireX = 255
  634. FireY = 255
  635. FireZ = 0
  636.  
  637. SPX = 255
  638. SPY = 255
  639. SPZ = 0
  640.  
  641. BoxColor = "New Yeller"
  642.  
  643. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
  644.  
  645. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
  646.  
  647. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
  648.  
  649. end
  650.  
  651. end)
  652.  
  653. Pink.MouseButton1Down:connect(function ()
  654.  
  655. if bawl ~= nil then
  656.  
  657. bawl.BrickColor = BrickColor.new("Hot pink")
  658.  
  659. FireX = 255
  660. FireY = 0
  661. FireZ = 255
  662.  
  663. SPX = 255
  664. SPY = 0
  665. SPZ = 255
  666.  
  667. BoxColor = "Hot pink"
  668.  
  669. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
  670.  
  671. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
  672.  
  673. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
  674.  
  675. end
  676.  
  677. end)
  678.  
  679. LightBlue.MouseButton1Down:connect(function ()
  680.  
  681. if bawl ~= nil then
  682.  
  683. bawl.BrickColor = BrickColor.new("Cyan")
  684.  
  685. FireX = 0
  686. FireY = 255
  687. FireZ = 255
  688.  
  689. SPX = 0
  690. SPY = 255
  691. SPZ = 255
  692.  
  693. BoxColor = "Cyan"
  694.  
  695. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
  696.  
  697. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
  698.  
  699. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
  700.  
  701. end
  702.  
  703. end)
  704.  
  705.  
  706. White.MouseButton1Down:connect(function ()
  707.  
  708. if bawl ~= nil then
  709.  
  710. bawl.BrickColor = BrickColor.new("White")
  711.  
  712. FireX = 255
  713. FireY = 255
  714. FireZ = 255
  715.  
  716. SPX = 255
  717. SPY = 255
  718. SPZ = 255
  719.  
  720. BoxColor = "White"
  721.  
  722. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
  723.  
  724. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
  725.  
  726. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
  727.  
  728. end
  729.  
  730. end)
  731.  
  732. Bin.Selected:connect(function ()
  733.  
  734. Fire = false
  735.  
  736. Player.PlayerGui.ScreenGui.Blue.Visible = true
  737.  
  738. Player.PlayerGui.ScreenGui.Red.Visible = true
  739.  
  740. Player.PlayerGui.ScreenGui.Green.Visible = true
  741.  
  742. Player.PlayerGui.ScreenGui.Yellow.Visible = true
  743.  
  744. Player.PlayerGui.ScreenGui.Pink.Visible = true
  745.  
  746. Player.PlayerGui.ScreenGui.LightBlue.Visible = true
  747.  
  748. Player.PlayerGui.ScreenGui.White.Visible = true
  749.  
  750. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  751.  
  752. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  753.  
  754. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  755.  
  756. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  757.  
  758. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  759.  
  760. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  761.  
  762. end)
  763.  
  764. Bin.Deselected:connect(function ()
  765.  
  766. Fire = false
  767.  
  768. Player.PlayerGui.ScreenGui.Blue.Visible = false
  769.  
  770. Player.PlayerGui.ScreenGui.Red.Visible = false
  771.  
  772. Player.PlayerGui.ScreenGui.Green.Visible = false
  773.  
  774. Player.PlayerGui.ScreenGui.Yellow.Visible = false
  775.  
  776. Player.PlayerGui.ScreenGui.Pink.Visible = false
  777.  
  778. Player.PlayerGui.ScreenGui.LightBlue.Visible = false
  779.  
  780. Player.PlayerGui.ScreenGui.White.Visible = false
  781.  
  782. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  783.  
  784. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  785.  
  786. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  787.  
  788. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  789.  
  790. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  791.  
  792. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  793.  
  794. end)
  795.  
  796. Bin.Selected:connect(function(mouse)
  797.  
  798. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  799.  
  800. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  801.  
  802. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  803.  
  804. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement