Advertisement
Guest User

Auto Rap Battles Vote Bot GUI

a guest
Dec 24th, 2019
8,896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.35 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local AutoRapBattles = Instance.new("ScreenGui")
  7. local Bar = Instance.new("Frame")
  8. local Rainbow = Instance.new("Frame")
  9. local Main = Instance.new("Frame")
  10. local PValue = Instance.new("TextLabel")
  11. local PValueBox = Instance.new("TextBox")
  12. local BValueBox = Instance.new("TextBox")
  13. local BValue = Instance.new("TextLabel")
  14. local Execute = Instance.new("TextButton")
  15. local BotTitle = Instance.new("TextLabel")
  16. local MiniBot = Instance.new("TextButton")
  17. local MiscBar = Instance.new("Frame")
  18. local MiscRainbow = Instance.new("Frame")
  19. local MiscMain = Instance.new("Frame")
  20. local Execute_2 = Instance.new("TextButton")
  21. local MiscTitle = Instance.new("TextLabel")
  22. local MiscBot = Instance.new("TextButton")
  23.  
  24. --Properties:
  25.  
  26. AutoRapBattles.Name = "AutoRapBattles"
  27. AutoRapBattles.Parent = game.CoreGui
  28. AutoRapBattles.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  29.  
  30. Bar.Name = "Bar"
  31. Bar.Parent = AutoRapBattles
  32. Bar.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  33. Bar.BorderSizePixel = 0
  34. Bar.Draggable = true
  35. Bar.Active = true
  36. Bar.Position = UDim2.new(0.256919801, 0, 0.0593368225, 0)
  37. Bar.Size = UDim2.new(0, 155, 0, 21)
  38.  
  39. Rainbow.Name = "Rainbow"
  40. Rainbow.Parent = Bar
  41. Rainbow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  42. Rainbow.BorderSizePixel = 0
  43. Rainbow.Position = UDim2.new(0, 0, 1, 0)
  44. Rainbow.Size = UDim2.new(0, 155, 0, 2)
  45.  
  46. Main.Name = "Main"
  47. Main.Parent = Bar
  48. Main.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  49. Main.BorderSizePixel = 0
  50. Main.Position = UDim2.new(0, 0, 1.09523809, 0)
  51. Main.Size = UDim2.new(0, 155, 0, 75)
  52.  
  53. PValue.Name = "PValue"
  54. PValue.Parent = Main
  55. PValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  56. PValue.BackgroundTransparency = 1.000
  57. PValue.Position = UDim2.new(0, 0, 0.0804597661, 0)
  58. PValue.Size = UDim2.new(0, 91, 0, 16)
  59. PValue.Font = Enum.Font.Code
  60. PValue.Text = "Player Value:"
  61. PValue.TextColor3 = Color3.fromRGB(255, 255, 255)
  62. PValue.TextSize = 14.000
  63.  
  64. PValueBox.Name = "PValueBox"
  65. PValueBox.Parent = Main
  66. PValueBox.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  67. PValueBox.BorderColor3 = Color3.fromRGB(255, 255, 255)
  68. PValueBox.Position = UDim2.new(0.664516091, 0, 0.0919540152, 0)
  69. PValueBox.Size = UDim2.new(0, 45, 0, 15)
  70. PValueBox.ClearTextOnFocus = false
  71. PValueBox.Font = Enum.Font.SourceSans
  72. PValueBox.PlaceholderText = "1 or 2"
  73. PValueBox.Text = ""
  74. PValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. PValueBox.TextSize = 14.000
  76.  
  77. BValueBox.Name = "BValueBox"
  78. BValueBox.Parent = Main
  79. BValueBox.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  80. BValueBox.BorderColor3 = Color3.fromRGB(255, 255, 255)
  81. BValueBox.Position = UDim2.new(0.664516091, 0, 0.447099924, 0)
  82. BValueBox.Size = UDim2.new(0, 45, 0, 15)
  83. BValueBox.ClearTextOnFocus = false
  84. BValueBox.Font = Enum.Font.SourceSans
  85. BValueBox.Text = "Under 50"
  86. BValueBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  87. BValueBox.TextSize = 14.000
  88.  
  89. BValue.Name = "BValue"
  90. BValue.Parent = Main
  91. BValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  92. BValue.BackgroundTransparency = 1.000
  93. BValue.Position = UDim2.new(0, 0, 0.435605764, 0)
  94. BValue.Size = UDim2.new(0, 91, 0, 16)
  95. BValue.Font = Enum.Font.Code
  96. BValue.Text = "Bot Value:"
  97. BValue.TextColor3 = Color3.fromRGB(255, 255, 255)
  98. BValue.TextSize = 14.000
  99.  
  100. Execute.Parent = Main
  101. Execute.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  102. Execute.BorderColor3 = Color3.fromRGB(255, 255, 255)
  103. Execute.Position = UDim2.new(0.135483876, 0, 0.733333349, 0)
  104. Execute.Size = UDim2.new(0, 112, 0, 12)
  105. Execute.Font = Enum.Font.Code
  106. Execute.Text = "Execute"
  107. Execute.TextColor3 = Color3.fromRGB(255, 255, 255)
  108. Execute.TextScaled = true
  109. Execute.TextSize = 14.000
  110. Execute.TextWrapped = true
  111. Execute.MouseButton1Click:connect(function()
  112.     --Auto Rap Battles 2 Vote Bot Script Made By George
  113. --Make sure to execute when the voting GUI comes up
  114.  
  115. local SelectedPlayer = PValueBox.Text --Change to 1 to vote for player 1 and change to 2 to vote for player 2.
  116. local VoteNumber = BValueBox.Text --Change this to how many votes you want.
  117.  
  118. if SelectedPlayer == 1 then
  119.     for i = 0,VoteNumber do
  120.             game.Workspace.Votes:FireServer(false,"p1")
  121.             wait(-math.huge)
  122.     end
  123. end
  124.  
  125. if SelectedPlayer == 2 then
  126.     for i = 0,VoteNumber do
  127.             game.Workspace.Votes:FireServer(false,"p2")
  128.             wait(-math.huge)
  129.     end
  130. end
  131. end)
  132.  
  133.  
  134. BotTitle.Name = "BotTitle"
  135. BotTitle.Parent = Bar
  136. BotTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  137. BotTitle.BackgroundTransparency = 1.000
  138. BotTitle.Size = UDim2.new(0, 103, 0, 21)
  139. BotTitle.Font = Enum.Font.Code
  140. BotTitle.Text = "Bot"
  141. BotTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  142. BotTitle.TextScaled = true
  143. BotTitle.TextSize = 14.000
  144. BotTitle.TextWrapped = true
  145. BotTitle.TextXAlignment = Enum.TextXAlignment.Left
  146.  
  147. MiniBot.Name = "MiniBot"
  148. MiniBot.Parent = Bar
  149. MiniBot.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  150. MiniBot.BackgroundTransparency = 1.000
  151. MiniBot.BorderSizePixel = 0
  152. MiniBot.Position = UDim2.new(0.870967746, 0, 0, 0)
  153. MiniBot.Size = UDim2.new(0, 20, 0, 21)
  154. MiniBot.Font = Enum.Font.SourceSans
  155. MiniBot.Text = "+"
  156. MiniBot.TextColor3 = Color3.fromRGB(255, 255, 255)
  157. MiniBot.TextScaled = true
  158. MiniBot.TextSize = 14.000
  159. MiniBot.TextWrapped = true
  160. MiniBot.MouseButton1Click:connect(function()
  161.     Main.Visible = not Main.Visible
  162. end)
  163.  
  164. MiscBar.Name = "MiscBar"
  165. MiscBar.Parent = AutoRapBattles
  166. MiscBar.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  167. MiscBar.BorderSizePixel = 0
  168. MiscBar.Active = true
  169. MiscBar.Draggable = true
  170. MiscBar.Position = UDim2.new(0.3789922, 0, 0.0593368225, 0)
  171. MiscBar.Size = UDim2.new(0, 155, 0, 21)
  172.  
  173. MiscRainbow.Name = "MiscRainbow"
  174. MiscRainbow.Parent = MiscBar
  175. MiscRainbow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  176. MiscRainbow.BorderSizePixel = 0
  177. MiscRainbow.Position = UDim2.new(0, 0, 1, 0)
  178. MiscRainbow.Size = UDim2.new(0, 155, 0, 2)
  179.  
  180. MiscMain.Name = "MiscMain"
  181. MiscMain.Parent = MiscBar
  182. MiscMain.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  183. MiscMain.BorderSizePixel = 0
  184. MiscMain.Position = UDim2.new(0, 0, 1.09523809, 0)
  185. MiscMain.Size = UDim2.new(0, 155, 0, 33)
  186.  
  187. Execute_2.Parent = MiscMain
  188. Execute_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  189. Execute_2.BackgroundTransparency = 1.000
  190. Execute_2.Position = UDim2.new(0, 0, 0.181818187, 0)
  191. Execute_2.Size = UDim2.new(0, 155, 0, 21)
  192. Execute_2.Font = Enum.Font.Code
  193. Execute_2.Text = "Kill Roblox"
  194. Execute_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  195. Execute_2.TextScaled = true
  196. Execute_2.TextSize = 14.000
  197. Execute_2.TextWrapped = true
  198. Execute_2.MouseButton1Click:connect(function()
  199.     while true do repeat until nil end
  200. end)
  201.  
  202. MiscTitle.Name = "MiscTitle"
  203. MiscTitle.Parent = MiscBar
  204. MiscTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  205. MiscTitle.BackgroundTransparency = 1.000
  206. MiscTitle.Size = UDim2.new(0, 103, 0, 21)
  207. MiscTitle.Font = Enum.Font.Code
  208. MiscTitle.Text = "Misc"
  209. MiscTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  210. MiscTitle.TextScaled = true
  211. MiscTitle.TextSize = 14.000
  212. MiscTitle.TextWrapped = true
  213. MiscTitle.TextXAlignment = Enum.TextXAlignment.Left
  214.  
  215.  
  216. MiscBot.Name = "MiscBot"
  217. MiscBot.Parent = MiscBar
  218. MiscBot.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  219. MiscBot.BackgroundTransparency = 1.000
  220. MiscBot.BorderSizePixel = 0
  221. MiscBot.Position = UDim2.new(0.870967746, 0, 0, 0)
  222. MiscBot.Size = UDim2.new(0, 20, 0, 21)
  223. MiscBot.Font = Enum.Font.SourceSans
  224. MiscBot.Text = "+"
  225. MiscBot.TextColor3 = Color3.fromRGB(255, 255, 255)
  226. MiscBot.TextScaled = true
  227. MiscBot.TextSize = 14.000
  228. MiscBot.TextWrapped = true
  229. MiscBot.MouseButton1Click:connect(function()
  230.     MiscMain.Visible = not MiscMain.Visible
  231. end)
  232.  
  233. -- Scripts:
  234.  
  235. local function IEDQL_fake_script() -- Rainbow.RainbowS
  236.     local script = Instance.new('LocalScript', Rainbow)
  237.  
  238.     repeat
  239.         for hue = 0, 1, .01 do
  240.             script.Parent.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  241.             wait(.1)
  242.         end
  243.         for hue = 1, 0 -.01 do
  244.             script.Parent.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  245.             wait(.1)
  246.         end
  247.     until nil
  248. end
  249. coroutine.wrap(IEDQL_fake_script)()
  250. local function MVRF_fake_script() -- MiscRainbow.MiscRainbowS
  251.     local script = Instance.new('LocalScript', MiscRainbow)
  252.  
  253.     repeat
  254.         for hue = 0, 1, .01 do
  255.             script.Parent.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  256.             wait(.1)
  257.         end
  258.         for hue = 1, 0 -.01 do
  259.             script.Parent.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  260.             wait(.1)
  261.         end
  262.     until nil
  263. end
  264. coroutine.wrap(MVRF_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement