Advertisement
ExploiterRoblox

Rap battle gui with good UI!

Nov 20th, 2020
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[]
  2. RAP BATTLE
  3. REMAKED BY JYNZ_L
  4. I made with good UI!
  5. --]]
  6.  
  7. -- Instances:
  8.  
  9. local Rap = Instance.new("ScreenGui")
  10. local frame = Instance.new("Frame")
  11. local ScrollingFrame = Instance.new("ScrollingFrame")
  12. local DJTp = Instance.new("TextButton")
  13. local TpText = Instance.new("TextLabel")
  14. local SCENETp = Instance.new("TextButton")
  15. local ToiletTp = Instance.new("TextButton")
  16. local FLOORTp = Instance.new("TextButton")
  17. local SpamVoteText = Instance.new("TextLabel")
  18. local PLAYER1 = Instance.new("TextButton")
  19. local PLAYER2 = Instance.new("TextButton")
  20. local welcometext = Instance.new("TextLabel")
  21. local changelogtext = Instance.new("TextLabel")
  22. local made = Instance.new("TextLabel")
  23. local Options = Instance.new("TextButton")
  24. local Options_2 = Instance.new("Frame")
  25. local OptionText = Instance.new("TextLabel")
  26. local Minimize = Instance.new("TextButton")
  27. local Close = Instance.new("TextButton")
  28. local FastSpeed = Instance.new("TextButton")
  29. local NormalSpeed = Instance.new("TextButton")
  30.  
  31. --Properties:
  32.  
  33. Rap.Name = "Rap"
  34. Rap.Parent = game.CoreGui
  35. Rap.ResetOnSpawn = false
  36.  
  37.  
  38. frame.Name = "frame"
  39. frame.Parent = Rap
  40. frame.Active = true
  41. frame.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  42. frame.Position = UDim2.new(0.199756384, 0, 0.24701196, 0)
  43. frame.Size = UDim2.new(0, 493, 0, 253)
  44. frame.Active = true
  45.  
  46. ScrollingFrame.Parent = frame
  47. ScrollingFrame.Active = true
  48. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  49. ScrollingFrame.Size = UDim2.new(0, 130, 0, 253)
  50. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 3, 0)
  51.  
  52. DJTp.Name = "DJTp"
  53. DJTp.Parent = ScrollingFrame
  54. DJTp.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  55. DJTp.Position = UDim2.new(-0.00566394534, 0, 0.0507246442, 0)
  56. DJTp.Size = UDim2.new(0, 116, 0, 34)
  57. DJTp.ZIndex = 4
  58. DJTp.Font = Enum.Font.SourceSans
  59. DJTp.Text = "DJ"
  60. DJTp.TextColor3 = Color3.fromRGB(255, 255, 255)
  61. DJTp.TextScaled = true
  62. DJTp.TextSize = 14.000
  63. DJTp.TextWrapped = true
  64.  
  65. TpText.Name = "TpText"
  66. TpText.Parent = ScrollingFrame
  67. TpText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  68. TpText.BackgroundTransparency = 1.000
  69. TpText.Size = UDim2.new(0, 115, 0, 26)
  70. TpText.Font = Enum.Font.SourceSans
  71. TpText.Text = "TELEPORTS"
  72. TpText.TextColor3 = Color3.fromRGB(255, 255, 255)
  73. TpText.TextScaled = true
  74. TpText.TextSize = 14.000
  75. TpText.TextWrapped = true
  76.  
  77. SCENETp.Name = "SCENETp"
  78. SCENETp.Parent = ScrollingFrame
  79. SCENETp.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  80. SCENETp.Position = UDim2.new(-0.00566394534, 0, 0.10737814, 0)
  81. SCENETp.Size = UDim2.new(0, 116, 0, 34)
  82. SCENETp.ZIndex = 4
  83. SCENETp.Font = Enum.Font.SourceSans
  84. SCENETp.Text = "SCENE"
  85. SCENETp.TextColor3 = Color3.fromRGB(255, 255, 255)
  86. SCENETp.TextScaled = true
  87. SCENETp.TextSize = 14.000
  88. SCENETp.TextWrapped = true
  89.  
  90. ToiletTp.Name = "ToiletTp"
  91. ToiletTp.Parent = ScrollingFrame
  92. ToiletTp.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  93. ToiletTp.Position = UDim2.new(-0.00566394534, 0, 0.162714109, 0)
  94. ToiletTp.Size = UDim2.new(0, 116, 0, 34)
  95. ToiletTp.ZIndex = 4
  96. ToiletTp.Font = Enum.Font.SourceSans
  97. ToiletTp.Text = "TOILET"
  98. ToiletTp.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. ToiletTp.TextScaled = true
  100. ToiletTp.TextSize = 14.000
  101. ToiletTp.TextWrapped = true
  102.  
  103. FLOORTp.Name = "FLOORTp"
  104. FLOORTp.Parent = ScrollingFrame
  105. FLOORTp.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  106. FLOORTp.Position = UDim2.new(-0.0133562535, 0, 0.219367594, 0)
  107. FLOORTp.Size = UDim2.new(0, 116, 0, 34)
  108. FLOORTp.ZIndex = 4
  109. FLOORTp.Font = Enum.Font.SourceSans
  110. FLOORTp.Text = "FLOOR"
  111. FLOORTp.TextColor3 = Color3.fromRGB(255, 255, 255)
  112. FLOORTp.TextScaled = true
  113. FLOORTp.TextSize = 14.000
  114. FLOORTp.TextWrapped = true
  115.  
  116. SpamVoteText.Name = "SpamVoteText"
  117. SpamVoteText.Parent = ScrollingFrame
  118. SpamVoteText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  119. SpamVoteText.BackgroundTransparency = 1.000
  120. SpamVoteText.Position = UDim2.new(0, 0, 0.2859025, 0)
  121. SpamVoteText.Size = UDim2.new(0, 115, 0, 26)
  122. SpamVoteText.Font = Enum.Font.SourceSans
  123. SpamVoteText.Text = "SPAM VOTE"
  124. SpamVoteText.TextColor3 = Color3.fromRGB(255, 255, 255)
  125. SpamVoteText.TextScaled = true
  126. SpamVoteText.TextSize = 14.000
  127. SpamVoteText.TextWrapped = true
  128.  
  129. PLAYER1.Name = "PLAYER1"
  130. PLAYER1.Parent = ScrollingFrame
  131. PLAYER1.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  132. PLAYER1.Position = UDim2.new(-0.0133562535, 0, 0.339262187, 0)
  133. PLAYER1.Size = UDim2.new(0, 116, 0, 34)
  134. PLAYER1.ZIndex = 4
  135. PLAYER1.Font = Enum.Font.SourceSans
  136. PLAYER1.Text = ""
  137. PLAYER1.TextColor3 = Color3.fromRGB(255, 255, 255)
  138. PLAYER1.TextScaled = true
  139. PLAYER1.TextSize = 14.000
  140. PLAYER1.TextWrapped = true
  141.  
  142. PLAYER2.Name = "PLAYER2"
  143. PLAYER2.Parent = ScrollingFrame
  144. PLAYER2.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  145. PLAYER2.Position = UDim2.new(-0.0133562535, 0, 0.403820813, 0)
  146. PLAYER2.Size = UDim2.new(0, 116, 0, 34)
  147. PLAYER2.ZIndex = 4
  148. PLAYER2.Font = Enum.Font.SourceSans
  149. PLAYER2.Text = ""
  150. PLAYER2.TextColor3 = Color3.fromRGB(255, 255, 255)
  151. PLAYER2.TextScaled = true
  152. PLAYER2.TextSize = 14.000
  153. PLAYER2.TextWrapped = true
  154.  
  155. welcometext.Name = "welcometext"
  156. welcometext.Parent = frame
  157. welcometext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  158. welcometext.BackgroundTransparency = 1.000
  159. welcometext.Position = UDim2.new(0.369168371, 0, 0.0237154067, 0)
  160. welcometext.Size = UDim2.new(0, 236, 0, 20)
  161. welcometext.Text = "Welcome!"
  162. welcometext.TextColor3 = Color3.fromRGB(255, 255, 255)
  163. welcometext.TextScaled = true
  164. welcometext.TextWrapped = true
  165.  
  166. changelogtext.Name = "changelogtext"
  167. changelogtext.Parent = frame
  168. changelogtext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  169. changelogtext.BackgroundTransparency = 1.000
  170. changelogtext.Position = UDim2.new(0.369168371, 0, 0.233201578, 0)
  171. changelogtext.Size = UDim2.new(0, 236, 0, 132)
  172. changelogtext.Text = "Rap battles GUI"
  173. changelogtext.TextColor3 = Color3.fromRGB(255, 255, 255)
  174. changelogtext.TextScaled = true
  175. changelogtext.TextWrapped = true
  176.  
  177. made.Name = "made"
  178. made.Parent = frame
  179. made.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  180. made.BackgroundTransparency = 1.000
  181. made.Position = UDim2.new(0.369168371, 0, 0.920948565, 0)
  182. made.Size = UDim2.new(0, 236, 0, 20)
  183. made.Text = "Made by jynz_l"
  184. made.TextColor3 = Color3.fromRGB(255, 255, 255)
  185. made.TextScaled = true
  186. made.TextWrapped = true
  187.  
  188. Options.Name = "Options"
  189. Options.Parent = frame
  190. Options.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  191. Options.Position = UDim2.new(0.868154168, 0, 0.00592885539, 0)
  192. Options.Size = UDim2.new(0, 65, 0, 24)
  193. Options.ZIndex = 4
  194. Options.Font = Enum.Font.SourceSans
  195. Options.Text = "Options"
  196. Options.TextColor3 = Color3.fromRGB(255, 255, 255)
  197. Options.TextScaled = true
  198. Options.TextSize = 14.000
  199. Options.TextWrapped = true
  200.  
  201. Options_2.Name = "Options"
  202. Options_2.Parent = frame
  203. Options_2.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  204. Options_2.Position = UDim2.new(1, 0, 0, 0)
  205. Options_2.Size = UDim2.new(0, 145, 0, 253)
  206. Options_2.Visible = false
  207.  
  208. OptionText.Name = "OptionText"
  209. OptionText.Parent = Options_2
  210. OptionText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  211. OptionText.BackgroundTransparency = 1.000
  212. OptionText.Size = UDim2.new(0, 145, 0, 23)
  213. OptionText.Font = Enum.Font.SourceSans
  214. OptionText.Text = "OPTION"
  215. OptionText.TextColor3 = Color3.fromRGB(255, 255, 255)
  216. OptionText.TextScaled = true
  217. OptionText.TextSize = 14.000
  218. OptionText.TextWrapped = true
  219.  
  220. Close.Name = "Close"
  221. Close.Parent = Options_2
  222. Close.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  223. Close.Position = UDim2.new(0.551318347, 0, 0.136363626, 0)
  224. Close.Size = UDim2.new(0, 65, 0, 24)
  225. Close.ZIndex = 4
  226. Close.Font = Enum.Font.SourceSans
  227. Close.Text = "Close"
  228. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  229. Close.TextScaled = true
  230. Close.TextSize = 14.000
  231. Close.TextWrapped = true
  232.  
  233. FastSpeed.Name = "FastSpeed"
  234. FastSpeed.Parent = Options_2
  235. FastSpeed.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  236. FastSpeed.Position = UDim2.new(-0.000405739993, 0, 0.286561251, 0)
  237. FastSpeed.Size = UDim2.new(0, 65, 0, 24)
  238. FastSpeed.ZIndex = 4
  239. FastSpeed.Font = Enum.Font.SourceSans
  240. FastSpeed.Text = "FastSpeed"
  241. FastSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
  242. FastSpeed.TextScaled = true
  243. FastSpeed.TextSize = 14.000
  244. FastSpeed.TextWrapped = true
  245.  
  246. NormalSpeed.Name = "NormalSpeed"
  247. NormalSpeed.Parent = Options_2
  248. NormalSpeed.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  249. NormalSpeed.Position = UDim2.new(0.551318407, 0, 0.286561251, 0)
  250. NormalSpeed.Size = UDim2.new(0, 65, 0, 24)
  251. NormalSpeed.ZIndex = 4
  252. NormalSpeed.Font = Enum.Font.SourceSans
  253. NormalSpeed.Text = "NormalSpeed"
  254. NormalSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
  255. NormalSpeed.TextScaled = true
  256. NormalSpeed.TextSize = 14.000
  257. NormalSpeed.TextWrapped = true
  258.  
  259. -- Scripts:
  260.  
  261. local function GJNYT_fake_script() -- frame.Dragify
  262.     local script = Instance.new('LocalScript', frame)
  263.  
  264.     local UIS = game:GetService("UserInputService")
  265.     function dragify(Frame)
  266.         dragToggle = nil
  267.         local dragSpeed = 0
  268.         dragInput = nil
  269.         dragStart = nil
  270.         local dragPos = nil
  271.         function updateInput(input)
  272.             local Delta = input.Position - dragStart
  273.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  274.             game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
  275.         end
  276.         Frame.InputBegan:Connect(function(input)
  277.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  278.                 dragToggle = true
  279.                 dragStart = input.Position
  280.                 startPos = Frame.Position
  281.                 input.Changed:Connect(function()
  282.                     if input.UserInputState == Enum.UserInputState.End then
  283.                         dragToggle = false
  284.                     end
  285.                 end)
  286.             end
  287.         end)
  288.         Frame.InputChanged:Connect(function(input)
  289.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  290.                 dragInput = input
  291.             end
  292.         end)
  293.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  294.             if input == dragInput and dragToggle then
  295.                 updateInput(input)
  296.             end
  297.         end)
  298.     end
  299.    
  300.     dragify(script.Parent)
  301. end
  302. coroutine.wrap(GJNYT_fake_script)()
  303.  
  304. -- scripts 2
  305.  
  306. DJTp.MouseButton1Click:Connect(function()
  307.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-90, 65, -214)
  308. end)
  309.  
  310. SCENETp.MouseButton1Click:Connect(function()
  311.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-77, 65, -214)
  312. end)
  313.  
  314. ToiletTp.MouseButton1Click:Connect(function()
  315.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-60, 62, -278)
  316. end)
  317.  
  318. Close.MouseButton1Click:Connect(function()
  319.     Rap:Destroy()
  320. end)
  321.  
  322. FastSpeed.MouseButton1Click:Connect(function()
  323.     _G.WS = "100";
  324.     local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  325.     Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  326.         Humanoid.WalkSpeed = _G.WS;
  327.     end)
  328.     Humanoid.WalkSpeed = _G.WS;
  329. end)
  330.  
  331. NormalSpeed.MouseButton1Click:Connect(function()
  332.     _G.WS = "16";
  333.     local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  334.     Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  335.         Humanoid.WalkSpeed = _G.WS;
  336.     end)
  337.     Humanoid.WalkSpeed = _G.WS;
  338. end)
  339.  
  340. Options.MouseButton1Click:Connect(function()
  341.     Options_2.Visible = true
  342.     wait(5)
  343.     Options_2.Visible = false
  344. end)
  345.  
  346. Minimize.MouseButton1Click:Connect(function()
  347.    
  348. end)
  349.  
  350. PLAYER1.MouseButton1Down:connect(function()
  351.     for i = 0,1 do
  352.         game.Workspace.Votes:FireServer(false,"p1")
  353.         game:GetService("RunService").Heartbeat:Wait()
  354.     end
  355. end)
  356.  
  357. PLAYER2.MouseButton1Down:connect(function()
  358.     for i = 0,1 do
  359.         game.Workspace.Votes:FireServer(false,"p2")
  360.         game:GetService("RunService").Heartbeat:Wait()
  361.     end
  362. end)
  363.  
  364. while true do
  365.     PLAYER2.Text = game.Workspace.RapBattles.Rappers.player2.Value
  366.     PLAYER1.Text = game.Workspace.RapBattles.Rappers.player1.Value
  367.     wait(0.1)
  368. end
Advertisement
RAW Paste Data Copied
Advertisement