Niccotin

Scriipt

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