Advertisement
skinkillaz

mini op autorapbattles admin commands

Jul 8th, 2018
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.46 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. ScreenGui0 = Instance.new("ScreenGui")
  19. Frame1 = Instance.new("Frame")
  20. TextButton2 = Instance.new("TextButton")
  21. Script3 = Instance.new("Script")
  22. Frame4 = Instance.new("Frame")
  23. ScrollingFrame5 = Instance.new("ScrollingFrame")
  24. TextLabel6 = Instance.new("TextLabel")
  25. TextLabel7 = Instance.new("TextLabel")
  26. TextLabel8 = Instance.new("TextLabel")
  27. TextLabel9 = Instance.new("TextLabel")
  28. TextLabel10 = Instance.new("TextLabel")
  29. TextLabel11 = Instance.new("TextLabel")
  30. TextLabel12 = Instance.new("TextLabel")
  31. TextButton13 = Instance.new("TextButton")
  32. Script14 = Instance.new("Script")
  33. LocalScript15 = Instance.new("LocalScript")
  34. Frame16 = Instance.new("Frame")
  35. ScrollingFrame17 = Instance.new("ScrollingFrame")
  36. TextLabel18 = Instance.new("TextLabel")
  37. TextLabel19 = Instance.new("TextLabel")
  38. TextLabel20 = Instance.new("TextLabel")
  39. TextButton21 = Instance.new("TextButton")
  40. Script22 = Instance.new("Script")
  41. ScreenGui0.Name = "Auto shit battles"
  42. ScreenGui0.Parent = mas
  43. Frame1.Name = "TopBar"
  44. Frame1.Parent = ScreenGui0
  45. Frame1.Size = UDim2.new(0, 4701, 0, 36)
  46. Frame1.Style = Enum.FrameStyle.RobloxSquare
  47. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  48. TextButton2.Parent = Frame1
  49. TextButton2.Transparency = 0
  50. TextButton2.Size = UDim2.new(0, 37, 0, 32)
  51. TextButton2.Text = "R"
  52. TextButton2.Position = UDim2.new(-0.00170176558, 0, -0.361111104, 0)
  53. TextButton2.BackgroundColor3 = Color3.new(1, 1, 1)
  54. TextButton2.BackgroundTransparency = 1
  55. TextButton2.Font = Enum.Font.SourceSans
  56. TextButton2.FontSize = Enum.FontSize.Size14
  57. TextButton2.TextColor3 = Color3.new(1, 1, 1)
  58. TextButton2.TextScaled = true
  59. TextButton2.TextWrapped = true
  60. Script3.Parent = TextButton2
  61. table.insert(cors,sandbox(Script3,function()
  62. button1 = script.Parent
  63.  
  64. function click()
  65. script.Parent.Parent.Parent.CMDS.Active = true
  66. script.Parent.Parent.Parent.CMDS.Draggable = true
  67. script.Parent.Parent.Parent.CMDS.Visible = true
  68. end
  69.  
  70. button1.MouseButton1Down:connect(click)
  71. end))
  72. Frame4.Name = "CMDS"
  73. Frame4.Parent = ScreenGui0
  74. Frame4.Size = UDim2.new(0, 307, 0, 328)
  75. Frame4.Style = Enum.FrameStyle.RobloxSquare
  76. Frame4.Position = UDim2.new(0.0198863633, 0, 0.536645949, 0)
  77. Frame4.Visible = false
  78. Frame4.BackgroundColor3 = Color3.new(1, 1, 1)
  79. ScrollingFrame5.Parent = Frame4
  80. ScrollingFrame5.Size = UDim2.new(0, 294, 0, 282)
  81. ScrollingFrame5.Position = UDim2.new(0, -1, 0.0799999982, 0)
  82. ScrollingFrame5.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  83. TextLabel6.Name = "Vote1"
  84. TextLabel6.Parent = ScrollingFrame5
  85. TextLabel6.Transparency = 0
  86. TextLabel6.Size = UDim2.new(0, 116, 0, 15)
  87. TextLabel6.Text = ";kill all"
  88. TextLabel6.Position = UDim2.new(0.0273549147, 0, 0.0116329351, 0)
  89. TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
  90. TextLabel6.BackgroundTransparency = 1
  91. TextLabel6.Font = Enum.Font.SourceSans
  92. TextLabel6.FontSize = Enum.FontSize.Size14
  93. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  94. TextLabel6.TextXAlignment = Enum.TextXAlignment.Left
  95. TextLabel7.Name = "Vote1"
  96. TextLabel7.Parent = ScrollingFrame5
  97. TextLabel7.Transparency = 0
  98. TextLabel7.Size = UDim2.new(0, 116, 0, 15)
  99. TextLabel7.Text = ";cmds"
  100. TextLabel7.Position = UDim2.new(0.0273549147, 0, 0.0648244247, 0)
  101. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  102. TextLabel7.BackgroundTransparency = 1
  103. TextLabel7.Font = Enum.Font.SourceSans
  104. TextLabel7.FontSize = Enum.FontSize.Size14
  105. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  106. TextLabel7.TextXAlignment = Enum.TextXAlignment.Left
  107. TextLabel8.Name = "Vote1"
  108. TextLabel8.Parent = ScrollingFrame5
  109. TextLabel8.Transparency = 0
  110. TextLabel8.Size = UDim2.new(0, 116, 0, 15)
  111. TextLabel8.Text = ";votes"
  112. TextLabel8.Position = UDim2.new(0.0273549147, 0, 0.118015915, 0)
  113. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  114. TextLabel8.BackgroundTransparency = 1
  115. TextLabel8.Font = Enum.Font.SourceSans
  116. TextLabel8.FontSize = Enum.FontSize.Size14
  117. TextLabel8.TextColor3 = Color3.new(1, 1, 1)
  118. TextLabel8.TextXAlignment = Enum.TextXAlignment.Left
  119. TextLabel9.Name = "Vote1"
  120. TextLabel9.Parent = ScrollingFrame5
  121. TextLabel9.Transparency = 0
  122. TextLabel9.Size = UDim2.new(0, 116, 0, 15)
  123. TextLabel9.Text = ";vote 1"
  124. TextLabel9.Position = UDim2.new(0.0273549147, 0, 0.171207398, 0)
  125. TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  126. TextLabel9.BackgroundTransparency = 1
  127. TextLabel9.Font = Enum.Font.SourceSans
  128. TextLabel9.FontSize = Enum.FontSize.Size14
  129. TextLabel9.TextColor3 = Color3.new(1, 1, 1)
  130. TextLabel9.TextXAlignment = Enum.TextXAlignment.Left
  131. TextLabel10.Name = "Vote1"
  132. TextLabel10.Parent = ScrollingFrame5
  133. TextLabel10.Transparency = 0
  134. TextLabel10.Size = UDim2.new(0, 116, 0, 15)
  135. TextLabel10.Text = ";vote 2"
  136. TextLabel10.Position = UDim2.new(0.0273549147, 0, 0.224398881, 0)
  137. TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1)
  138. TextLabel10.BackgroundTransparency = 1
  139. TextLabel10.Font = Enum.Font.SourceSans
  140. TextLabel10.FontSize = Enum.FontSize.Size14
  141. TextLabel10.TextColor3 = Color3.new(1, 1, 1)
  142. TextLabel10.TextXAlignment = Enum.TextXAlignment.Left
  143. TextLabel11.Name = "Vote1"
  144. TextLabel11.Parent = ScrollingFrame5
  145. TextLabel11.Transparency = 0
  146. TextLabel11.Size = UDim2.new(0, 116, 0, 15)
  147. TextLabel11.Text = ";btools me"
  148. TextLabel11.Position = UDim2.new(0.0273549147, 0, 0.277590364, 0)
  149. TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1)
  150. TextLabel11.BackgroundTransparency = 1
  151. TextLabel11.Font = Enum.Font.SourceSans
  152. TextLabel11.FontSize = Enum.FontSize.Size14
  153. TextLabel11.TextColor3 = Color3.new(1, 1, 1)
  154. TextLabel11.TextXAlignment = Enum.TextXAlignment.Left
  155. TextLabel12.Parent = Frame4
  156. TextLabel12.Transparency = 0
  157. TextLabel12.Size = UDim2.new(0, 116, 0, 15)
  158. TextLabel12.Text = "Auto Rap Battles CMDS"
  159. TextLabel12.Position = UDim2.new(-0.00325732911, 0, -0.00609756075, 0)
  160. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  161. TextLabel12.BackgroundTransparency = 1
  162. TextLabel12.Font = Enum.Font.SourceSans
  163. TextLabel12.FontSize = Enum.FontSize.Size14
  164. TextLabel12.TextColor3 = Color3.new(1, 1, 1)
  165. TextLabel12.TextXAlignment = Enum.TextXAlignment.Left
  166. TextButton13.Name = "Close"
  167. TextButton13.Parent = Frame4
  168. TextButton13.Transparency = 0
  169. TextButton13.Size = UDim2.new(0, 20, 0, 17)
  170. TextButton13.Text = "X"
  171. TextButton13.Position = UDim2.new(0.957654715, 0, -0.0121951215, 0)
  172. TextButton13.BackgroundColor3 = Color3.new(1, 1, 1)
  173. TextButton13.BackgroundTransparency = 1
  174. TextButton13.Font = Enum.Font.SourceSans
  175. TextButton13.FontSize = Enum.FontSize.Size14
  176. TextButton13.TextColor3 = Color3.new(1, 1, 1)
  177. TextButton13.TextScaled = true
  178. TextButton13.TextWrapped = true
  179. Script14.Parent = TextButton13
  180. table.insert(cors,sandbox(Script14,function()
  181. button1 = script.Parent
  182.  
  183. function click()
  184. script.Parent.Parent.Visible = false
  185. end
  186.  
  187. button1.MouseButton1Down:connect(click)
  188. end))
  189. LocalScript15.Parent = ScreenGui0
  190. table.insert(cors,sandbox(LocalScript15,function()
  191. spawn (function()
  192. --[[
  193. OnChatted Scripting Template - created by 1WOOF1
  194.  
  195. Use this script to match what a player says
  196. and turn it into a command. This does NOT have
  197. any admin's but if you find a way to make it
  198. admin only, that is good, also, if you do
  199. find a way, it would be nice if you PM me
  200. how you did it!
  201. ]]
  202.  
  203. game.Players.LocalPlayer.Chatted:connect(function(msg)
  204. if (msg:lower() == ";kill all") then --------------- This is a basic "Reset" command.
  205. -- https://www.roblox.com/games/579955134/Auto-Rap-Battles
  206. -- Run once, and then easy kill all
  207.  
  208. NOW = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  209. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  210. if v ~= game:GetService("Players").LocalPlayer then
  211. if v.Character:FindFirstChild("HumanoidRootPart") then
  212. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-70, 57.5, -216)
  213. pcall(function()
  214. v.Character.Humanoid.Jump = true
  215. end)
  216. v.Character.HumanoidRootPart.CFrame = CFrame.new(-73.5, 61.5, -215)
  217. wait(0.1)
  218. v.Character.HumanoidRootPart.CFrame = CFrame.new(-73.5, 61.5, -215)
  219. end
  220. end
  221. end
  222. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = NOW
  223. elseif (msg:lower() == ";votes") then ---------- This is just a command when you say something, a
  224.  
  225. script.Parent.Votes.Active = true
  226. script.Parent.Votes.Draggable = true
  227. script.Parent.Votes.Visible = true
  228. script.Parent.Votes.ScrollingFrame.Vote1.Text = "1. " ..game.Workspace.RapBattles.Rappers.player1.Value.. "."
  229. script.Parent.Votes.ScrollingFrame.Vote2.Text = "2. " ..game.Workspace.RapBattles.Rappers.player2.Value.. "."
  230.  
  231. elseif (msg:lower() == ";cmds") then
  232.  
  233. script.Parent.CMDS.Active = true
  234. script.Parent.CMDS.Draggable = true
  235. script.Parent.CMDS.Visible = true
  236.  
  237. elseif (msg:lower() == ";btools me") then
  238.  
  239. local StarterGui = game:GetService('StarterGui')
  240.  
  241. StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  242.  
  243. a = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  244. a.BinType = 2
  245. b = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  246. b.BinType = 3
  247. c = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  248. c.BinType = 4
  249.  
  250. elseif (msg:lower() == ";vote 2") then
  251.  
  252. game.Workspace.Votes:FireServer(false,"p2")
  253. game.Workspace.Votes:FireServer(false,"p2")
  254. game.Workspace.Votes:FireServer(false,"p2")
  255. game.Workspace.Votes:FireServer(false,"p2")
  256. game.Workspace.Votes:FireServer(false,"p2")
  257. game.Workspace.Votes:FireServer(false,"p2")
  258. game.Workspace.Votes:FireServer(false,"p2")
  259. game.Workspace.Votes:FireServer(false,"p2")
  260. game.Workspace.Votes:FireServer(false,"p2")
  261.  
  262.  
  263. elseif (msg:lower() == ";vote 1") then
  264.  
  265. game.Workspace.Votes:FireServer(false,"p1")
  266. game.Workspace.Votes:FireServer(false,"p1")
  267. game.Workspace.Votes:FireServer(false,"p1")
  268. game.Workspace.Votes:FireServer(false,"p1")
  269. game.Workspace.Votes:FireServer(false,"p1")
  270. game.Workspace.Votes:FireServer(false,"p1")
  271. game.Workspace.Votes:FireServer(false,"p1")
  272. game.Workspace.Votes:FireServer(false,"p1")
  273. game.Workspace.Votes:FireServer(false,"p1")
  274. game.Workspace.Votes:FireServer(false,"p1")
  275. game.Workspace.Votes:FireServer(false,"p1")
  276. game.Workspace.Votes:FireServer(false,"p1")
  277.  
  278.  
  279. end
  280. -- If you run out, just copy and paste more of the line 'elseif (msg:lower() == "") then'
  281. end)
  282. end)
  283. end))
  284. Frame16.Name = "Votes"
  285. Frame16.Parent = ScreenGui0
  286. Frame16.Size = UDim2.new(0, 307, 0, 328)
  287. Frame16.Style = Enum.FrameStyle.RobloxSquare
  288. Frame16.Position = UDim2.new(0.222829342, 0, 0.536645949, 0)
  289. Frame16.Visible = false
  290. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  291. ScrollingFrame17.Parent = Frame16
  292. ScrollingFrame17.Size = UDim2.new(0, 294, 0, 282)
  293. ScrollingFrame17.Position = UDim2.new(0, -1, 0.0799999982, 0)
  294. ScrollingFrame17.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  295. TextLabel18.Name = "Vote1"
  296. TextLabel18.Parent = ScrollingFrame17
  297. TextLabel18.Transparency = 0
  298. TextLabel18.Size = UDim2.new(0, 116, 0, 15)
  299. TextLabel18.Text = "1."
  300. TextLabel18.Position = UDim2.new(0.0273549147, 0, 0.0116329351, 0)
  301. TextLabel18.BackgroundColor3 = Color3.new(1, 1, 1)
  302. TextLabel18.BackgroundTransparency = 1
  303. TextLabel18.Font = Enum.Font.SourceSans
  304. TextLabel18.FontSize = Enum.FontSize.Size14
  305. TextLabel18.TextColor3 = Color3.new(1, 1, 1)
  306. TextLabel18.TextXAlignment = Enum.TextXAlignment.Left
  307. TextLabel19.Name = "Vote2"
  308. TextLabel19.Parent = ScrollingFrame17
  309. TextLabel19.Transparency = 0
  310. TextLabel19.Size = UDim2.new(0, 116, 0, 15)
  311. TextLabel19.Text = "2."
  312. TextLabel19.Position = UDim2.new(0.0273549147, 0, 0.0648244247, 0)
  313. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  314. TextLabel19.BackgroundTransparency = 1
  315. TextLabel19.Font = Enum.Font.SourceSans
  316. TextLabel19.FontSize = Enum.FontSize.Size14
  317. TextLabel19.TextColor3 = Color3.new(1, 1, 1)
  318. TextLabel19.TextXAlignment = Enum.TextXAlignment.Left
  319. TextLabel20.Parent = Frame16
  320. TextLabel20.Transparency = 0
  321. TextLabel20.Size = UDim2.new(0, 116, 0, 15)
  322. TextLabel20.Text = "Auto Rap Battles Votes"
  323. TextLabel20.Position = UDim2.new(-0.00325732911, 0, -0.00609756075, 0)
  324. TextLabel20.BackgroundColor3 = Color3.new(1, 1, 1)
  325. TextLabel20.BackgroundTransparency = 1
  326. TextLabel20.Font = Enum.Font.SourceSans
  327. TextLabel20.FontSize = Enum.FontSize.Size14
  328. TextLabel20.TextColor3 = Color3.new(1, 1, 1)
  329. TextLabel20.TextXAlignment = Enum.TextXAlignment.Left
  330. TextButton21.Name = "Close"
  331. TextButton21.Parent = Frame16
  332. TextButton21.Transparency = 0
  333. TextButton21.Size = UDim2.new(0, 20, 0, 17)
  334. TextButton21.Text = "X"
  335. TextButton21.Position = UDim2.new(0.957654715, 0, -0.0121951215, 0)
  336. TextButton21.BackgroundColor3 = Color3.new(1, 1, 1)
  337. TextButton21.BackgroundTransparency = 1
  338. TextButton21.Font = Enum.Font.SourceSans
  339. TextButton21.FontSize = Enum.FontSize.Size14
  340. TextButton21.TextColor3 = Color3.new(1, 1, 1)
  341. TextButton21.TextScaled = true
  342. TextButton21.TextWrapped = true
  343. Script22.Parent = TextButton21
  344. table.insert(cors,sandbox(Script22,function()
  345. button1 = script.Parent
  346.  
  347. function click()
  348. script.Parent.Parent.Visible = false
  349. end
  350.  
  351. button1.MouseButton1Down:connect(click)
  352. end))
  353. for i,v in pairs(mas:GetChildren()) do
  354. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  355. pcall(function() v:MakeJoints() end)
  356. end
  357. mas:Destroy()
  358. for i,v in pairs(cors) do
  359. spawn(function()
  360. pcall(v)
  361. end)
  362. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement