Advertisement
TheNoscoperOfDank

color changer base

Oct 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. -- Objects
  2.  
  3. local bscrzr = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local VoidGame = Instance.new("TextButton")
  7. local NormalGame = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. bscrzr.Name = "bscrzr"
  12. bscrzr.Parent = game.Players.LocalPlayer.PlayerGui
  13.  
  14. Frame.Parent = bscrzr
  15. Frame.BackgroundColor3 = Color3.new(0.729412, 0, 0)
  16. Frame.BackgroundTransparency = 0.5
  17. Frame.Position = UDim2.new(0.703159451, 0, 0.654424012, 0)
  18. Frame.Size = UDim2.new(0.287288755, 0, 0.327212006, 0)
  19.  
  20. TextLabel.Parent = Frame
  21. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  22. TextLabel.BackgroundTransparency = 1
  23. TextLabel.Position = UDim2.new(0.00255754474, 0, 0.00510204071, 0)
  24. TextLabel.Size = UDim2.new(0.997442484, 0, 0.260204077, 0)
  25. TextLabel.Font = Enum.Font.SciFi
  26. TextLabel.FontSize = Enum.FontSize.Size14
  27. TextLabel.Text = "Destiny's Baseplate Color Randomizer"
  28. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  29. TextLabel.TextScaled = true
  30. TextLabel.TextSize = 14
  31. TextLabel.TextWrapped = true
  32.  
  33. VoidGame.Name = "VoidGame"
  34. VoidGame.Parent = Frame
  35. VoidGame.BackgroundColor3 = Color3.new(1, 1, 1)
  36. VoidGame.Position = UDim2.new(0.0895140693, 0, 0.362244904, 0)
  37. VoidGame.Size = UDim2.new(0.166240409, 0, 0.275510192, 0)
  38. VoidGame.Font = Enum.Font.SciFi
  39. VoidGame.FontSize = Enum.FontSize.Size14
  40. VoidGame.Text = "VOID SB"
  41. VoidGame.TextScaled = true
  42. VoidGame.TextSize = 14
  43. VoidGame.TextWrapped = true
  44.  
  45. NormalGame.Name = "NormalGame"
  46. NormalGame.Parent = Frame
  47. NormalGame.BackgroundColor3 = Color3.new(1, 1, 1)
  48. NormalGame.Position = UDim2.new(0.741687953, 0, 0.362244904, 0)
  49. NormalGame.Size = UDim2.new(0.166240409, 0, 0.275510192, 0)
  50. NormalGame.Font = Enum.Font.SciFi
  51. NormalGame.FontSize = Enum.FontSize.Size14
  52. NormalGame.Text = "A GAME"
  53. NormalGame.TextScaled = true
  54. NormalGame.TextSize = 14
  55. NormalGame.TextWrapped = true
  56.  
  57. AllowVoidBase = false
  58. AllowNormalBase = false
  59.  
  60. if me.PlayerGui.bscrzr.VoidGame.Value == true then
  61. AllowVoidBase = true
  62. AllowNormalBase = false
  63. end
  64.  
  65. if me.PlayerGui.bscrzr.NormalGame.Value == true then
  66. AllowNormalBase = true
  67. AllowVoidBase = false
  68. end
  69.  
  70. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
  71.  
  72. Text = "Destiny's Baseplate Color Randomizer has been connected";
  73.  
  74. Color = Color3.new(0,255,0);
  75.  
  76. Font = Enum.Font.SciFi;
  77.  
  78. FontSize = Enum.FontSize.Size18;
  79. })
  80. wait(0.5)
  81.  
  82. me = game.Players.LocalPlayer
  83. VoidBase = workspace:FindFirstChild("Base")
  84. NormalBase = workspace:FindFirstChild("Baseplate")
  85. if AllowVoidBase == true then
  86. while true do
  87. wait(1)
  88. VoidBase.BrickColor = BrickColor.Random()
  89. end
  90. end
  91. if AllowNormalBase == true then
  92. while true do
  93. wait(1)
  94. NormalBase.BrickColor = BrickColor.Random()
  95. end
  96. end
  97. me.PlayerGui.bscrzr.Frame.VoidGame.MouseButton1Click:connect(function()
  98. me.PlayerGui.bscrzr.VoidGame.Value = true
  99. end)
  100. me.PlayerGui.bscrzr.Frame.NormalGame.MouseButton1Click:connect(function()
  101. me.PlayerGui.bscrzr.NormalGame.Value = true
  102. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement