Niccotin

Telekenesis

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