Advertisement
Migas3456

random crap i did

Oct 31st, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. local TextButton_3 = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. if game.PlaceId == "843495510,843468296" then
  12. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  13. ScreenGui.ResetOnSpawn = false
  14. else
  15. ScreenGui.Parent = game.CoreGui
  16. end
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  20. Frame.Position = UDim2.new(0, 377, 0, 209)
  21. Frame.Size = UDim2.new(0, 478, 0, 172)
  22.  
  23. TextButton.Parent = Frame
  24. TextButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  25. TextButton.Position = UDim2.new(0, 45, 0, 62)
  26. TextButton.Size = UDim2.new(0, 50, 0, 50)
  27. TextButton.Font = Enum.Font.SourceSans
  28. TextButton.FontSize = Enum.FontSize.Size14
  29. TextButton.Text = " "
  30. TextButton.TextSize = 14
  31.  
  32. TextButton_2.Parent = Frame
  33. TextButton_2.BackgroundColor3 = Color3.new(1, 0, 0)
  34. TextButton_2.Position = UDim2.new(0, 214, 0, 64)
  35. TextButton_2.Size = UDim2.new(0, 50, 0, 50)
  36. TextButton_2.Font = Enum.Font.SourceSans
  37. TextButton_2.FontSize = Enum.FontSize.Size14
  38. TextButton_2.Text = " "
  39. TextButton_2.TextSize = 14
  40.  
  41. TextButton_3.Parent = Frame
  42. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 0)
  43. TextButton_3.Position = UDim2.new(0, 391, 0, 64)
  44. TextButton_3.Size = UDim2.new(0, 50, 0, 50)
  45. TextButton_3.Font = Enum.Font.SourceSans
  46. TextButton_3.FontSize = Enum.FontSize.Size14
  47. TextButton_3.Text = " "
  48. TextButton_3.TextSize = 14
  49.  
  50. TextButton.MouseButton1Down:connect(function()
  51. Frame.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  52. end)
  53.  
  54. TextButton_2.MouseButton1Down:connect(function()
  55. Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  56. end)
  57.  
  58. TextButton_3.MouseButton1Down:connect(function()
  59. Frame.BackgroundColor3 = Color3.new(1, 1, 0)
  60. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement