daily pastebin goal
62%
SHARE
TWEET

Auto Rap Battles Vote GUI

a guest Jun 13th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects
  2.  
  3. local suspect = Instance.new("ScreenGui")
  4. local mainframe = Instance.new("Frame")
  5. local t3xt = Instance.new("TextLabel")
  6. local player1 = Instance.new("TextButton")
  7. local player2 = Instance.new("TextButton")
  8. local detail = Instance.new("Frame")
  9. local detail2 = Instance.new("Frame")
  10. local credits = Instance.new("TextLabel")
  11.  
  12. -- Properties
  13.  
  14. suspect.Name = "suspect"
  15. suspect.Parent = game.Players.LocalPlayer.PlayerGui
  16.  
  17. mainframe.Name = "mainframe"
  18. mainframe.Parent = suspect
  19. mainframe.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  20. mainframe.Position = UDim2.new(0.124770641, 0, 0.0691699609, 0)
  21. mainframe.Size = UDim2.new(0, 199, 0, 436)
  22.  
  23. t3xt.Name = "t3xt"
  24. t3xt.Parent = mainframe
  25. t3xt.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  26. t3xt.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  27. t3xt.BorderSizePixel = 5
  28. t3xt.Position = UDim2.new(0.0201005023, 0, 0.00281690131, 0)
  29. t3xt.Size = UDim2.new(0, 191, 0, 49)
  30. t3xt.Font = Enum.Font.SourceSansBold
  31. t3xt.Text = "Vote GUI"
  32. t3xt.TextColor3 = Color3.new(1, 1, 1)
  33. t3xt.TextSize = 14
  34.  
  35. player1.Name = "player1"
  36. player1.Parent = mainframe
  37. player1.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
  38. player1.BorderSizePixel = 0
  39. player1.Position = UDim2.new(0.266331673, 0, 0.318309873, 0)
  40. player1.Size = UDim2.new(0, 93, 0, 79)
  41. player1.Font = Enum.Font.SourceSansBold
  42. player1.Text = "Player 1 <"
  43. player1.TextColor3 = Color3.new(1, 1, 1)
  44. player1.TextSize = 14
  45.  
  46. player1.MouseButton1Down:connect(function()
  47. game.Workspace.Votes:FireServer(false,"p1")
  48. end)
  49.  
  50. player2.Name = "player2"
  51. player2.Parent = mainframe
  52. player2.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
  53. player2.BorderSizePixel = 0
  54. player2.Position = UDim2.new(0.266331673, 0, 0.60281688, 0)
  55. player2.Size = UDim2.new(0, 93, 0, 78)
  56. player2.Font = Enum.Font.SourceSansBold
  57. player2.Text = "Player 2 >"
  58. player2.TextColor3 = Color3.new(1, 1, 1)
  59. player2.TextSize = 14
  60.  
  61. player2.MouseButton1Down:connect(function()
  62. game.Workspace.Votes:FireServer(false,"p2")
  63. end)
  64.  
  65. detail.Name = "detail"
  66. detail.Parent = mainframe
  67. detail.BackgroundColor3 = Color3.new(1, 1, 1)
  68. detail.Position = UDim2.new(0.266331673, 0, 0.5, 0)
  69. detail.Size = UDim2.new(0, 93, 0, 2)
  70.  
  71. detail2.Name = "detail2"
  72. detail2.Parent = mainframe
  73. detail2.BackgroundColor3 = Color3.new(1, 1, 1)
  74. detail2.Position = UDim2.new(0.266331673, 0, 0.777522922, 0)
  75. detail2.Size = UDim2.new(0, 93, 0, 2)
  76.  
  77. credits.Name = "credits"
  78. credits.Parent = mainframe
  79. credits.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  80. credits.BorderSizePixel = 0
  81. credits.Position = UDim2.new(0.472361803, 0, 0.957568824, 0)
  82. credits.Size = UDim2.new(0, 11, 0, 15)
  83. credits.Font = Enum.Font.SourceSans
  84. credits.Text = "GUI by Vzurxy, main remotes from Yajat."
  85. credits.TextColor3 = Color3.new(1, 1, 1)
  86. credits.TextSize = 12
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top