Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.19 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local RCPDFR = Instance.new("ScreenGui")
  7. local Front = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local TextButton_3 = Instance.new("TextButton")
  12. local TextButton_4 = Instance.new("TextButton")
  13. local TextButton_5 = Instance.new("TextButton")
  14. local TextButton_6 = Instance.new("TextButton")
  15. local TextButton_7 = Instance.new("TextButton")
  16. local TextButton_8 = Instance.new("TextButton")
  17. local TextButton_9 = Instance.new("TextButton")
  18. local TextButton_10 = Instance.new("TextButton")
  19. local TextButton_11 = Instance.new("TextButton")
  20. local TextButton_12 = Instance.new("TextButton")
  21. local TextLabel_2 = Instance.new("TextLabel")
  22. local TextLabel_3 = Instance.new("TextLabel")
  23. local TextLabel_4 = Instance.new("TextLabel")
  24. local close = Instance.new("TextButton")
  25. local TextLabel_5 = Instance.new("TextLabel")
  26. local TextLabel_6 = Instance.new("TextLabel")
  27.  
  28. --Properties:
  29.  
  30. RCPDFR.Name = "RCPD:FR"
  31. RCPDFR.Parent = game.CoreGui
  32. RCPDFR.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  33.  
  34. Front.Name = "Front"
  35. Front.Parent = RCPDFR
  36. Front.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  37. Front.BorderSizePixel = 0
  38. Front.Position = UDim2.new(0.24427703, 0, 0.268577874, 0)
  39. Front.Size = UDim2.new(0, 546, 0, 275)
  40. Front.Active = true
  41. Front.Draggable = true
  42.  
  43. TextLabel.Parent = Front
  44. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  45. TextLabel.BackgroundTransparency = 1
  46. TextLabel.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  47. TextLabel.BorderSizePixel = 0
  48. TextLabel.Position = UDim2.new(0.256410241, 0, -0.0472727269, 0)
  49. TextLabel.Size = UDim2.new(0, 53, 0, 55)
  50. TextLabel.Font = Enum.Font.GothamBlack
  51. TextLabel.Text = "RC."
  52. TextLabel.TextColor3 = Color3.new(0, 0.333333, 1)
  53. TextLabel.TextSize = 25
  54.  
  55. TextButton.Parent = Front
  56. TextButton.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  57. TextButton.BorderSizePixel = 0
  58. TextButton.Position = UDim2.new(0.0384615399, 0, 0.200000003, 0)
  59. TextButton.Size = UDim2.new(0, 89, 0, 29)
  60. TextButton.Font = Enum.Font.GothamSemibold
  61. TextButton.Text = "Staff"
  62. TextButton.TextColor3 = Color3.new(1, 1, 1)
  63. TextButton.TextSize = 19
  64. TextButton.MouseButton1Down:connect(function()
  65. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Lime green"))
  66. end)
  67.  
  68. TextButton_2.Parent = Front
  69. TextButton_2.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  70. TextButton_2.BorderSizePixel = 0
  71. TextButton_2.Position = UDim2.new(0.0384615399, 0, 0.345454544, 0)
  72. TextButton_2.Size = UDim2.new(0, 89, 0, 29)
  73. TextButton_2.Font = Enum.Font.GothamSemibold
  74. TextButton_2.Text = "Police Departement"
  75. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  76. TextButton_2.TextScaled = true
  77. TextButton_2.TextSize = 19
  78. TextButton_2.TextWrapped = true
  79. TextButton_2.MouseButton1Down:connect(function()
  80. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Bright blue"))
  81. end)
  82.  
  83. TextButton_3.Parent = Front
  84. TextButton_3.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  85. TextButton_3.BorderSizePixel = 0
  86. TextButton_3.Position = UDim2.new(0.0384615399, 0, 0.636363626, 0)
  87. TextButton_3.Size = UDim2.new(0, 89, 0, 29)
  88. TextButton_3.Font = Enum.Font.GothamSemibold
  89. TextButton_3.Text = "Fire Departement"
  90. TextButton_3.TextColor3 = Color3.new(1, 1, 1)
  91. TextButton_3.TextScaled = true
  92. TextButton_3.TextSize = 19
  93. TextButton_3.TextWrapped = true
  94. TextButton_3.MouseButton1Down:connect(function()
  95. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Crimson"))
  96. end)
  97.  
  98. TextButton_4.Parent = Front
  99. TextButton_4.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  100. TextButton_4.BorderSizePixel = 0
  101. TextButton_4.Position = UDim2.new(0.0384615399, 0, 0.487272739, 0)
  102. TextButton_4.Size = UDim2.new(0, 89, 0, 29)
  103. TextButton_4.Font = Enum.Font.GothamSemibold
  104. TextButton_4.Text = "Sheriff Office"
  105. TextButton_4.TextColor3 = Color3.new(1, 1, 1)
  106. TextButton_4.TextScaled = true
  107. TextButton_4.TextSize = 19
  108. TextButton_4.TextWrapped = true
  109. TextButton_4.MouseButton1Down:connect(function()
  110. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Pastel brown"))
  111. end)
  112.  
  113. TextButton_5.Parent = Front
  114. TextButton_5.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  115. TextButton_5.BorderSizePixel = 0
  116. TextButton_5.Position = UDim2.new(0.0384615399, 0, 0.785454512, 0)
  117. TextButton_5.Size = UDim2.new(0, 89, 0, 29)
  118. TextButton_5.Font = Enum.Font.GothamSemibold
  119. TextButton_5.Text = "Volunteer Rescue"
  120. TextButton_5.TextColor3 = Color3.new(1, 1, 1)
  121. TextButton_5.TextScaled = true
  122. TextButton_5.TextSize = 19
  123. TextButton_5.TextWrapped = true
  124. TextButton_5.MouseButton1Down:connect(function()
  125. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Dusty Rose"))
  126. end)
  127.  
  128. TextButton_6.Parent = Front
  129. TextButton_6.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  130. TextButton_6.BorderSizePixel = 0
  131. TextButton_6.Position = UDim2.new(0.241758242, 0, 0.345454544, 0)
  132. TextButton_6.Size = UDim2.new(0, 89, 0, 29)
  133. TextButton_6.Font = Enum.Font.GothamSemibold
  134. TextButton_6.Text = " Departement Of Public Works"
  135. TextButton_6.TextColor3 = Color3.new(1, 1, 1)
  136. TextButton_6.TextScaled = true
  137. TextButton_6.TextSize = 5
  138. TextButton_6.TextWrapped = true
  139. TextButton_6.MouseButton1Down:connect(function()
  140. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Bright orange"))
  141. end)
  142.  
  143. TextButton_7.Parent = Front
  144. TextButton_7.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  145. TextButton_7.BorderSizePixel = 0
  146. TextButton_7.Position = UDim2.new(0.241758242, 0, 0.200000003, 0)
  147. TextButton_7.Size = UDim2.new(0, 89, 0, 29)
  148. TextButton_7.Font = Enum.Font.GothamSemibold
  149. TextButton_7.Text = "National Park Service"
  150. TextButton_7.TextColor3 = Color3.new(1, 1, 1)
  151. TextButton_7.TextScaled = true
  152. TextButton_7.TextSize = 19
  153. TextButton_7.TextWrapped = true
  154. TextButton_7.MouseButton1Down:connect(function()
  155. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Lime green"))
  156. end)
  157.  
  158. TextButton_8.Parent = Front
  159. TextButton_8.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  160. TextButton_8.BorderSizePixel = 0
  161. TextButton_8.Position = UDim2.new(0.241758242, 0, 0.636363626, 0)
  162. TextButton_8.Size = UDim2.new(0, 89, 0, 29)
  163. TextButton_8.Font = Enum.Font.GothamSemibold
  164. TextButton_8.Text = "Cafe Worker"
  165. TextButton_8.TextColor3 = Color3.new(1, 1, 1)
  166. TextButton_8.TextScaled = true
  167. TextButton_8.TextSize = 19
  168. TextButton_8.TextWrapped = true
  169. TextButton_8.MouseButton1Down:connect(function()
  170. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Mint"))
  171. end)
  172.  
  173. TextButton_9.Parent = Front
  174. TextButton_9.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  175. TextButton_9.BorderSizePixel = 0
  176. TextButton_9.Position = UDim2.new(0.241758242, 0, 0.487272739, 0)
  177. TextButton_9.Size = UDim2.new(0, 89, 0, 29)
  178. TextButton_9.Font = Enum.Font.GothamSemibold
  179. TextButton_9.Text = "Civilian"
  180. TextButton_9.TextColor3 = Color3.new(1, 1, 1)
  181. TextButton_9.TextSize = 19
  182. TextButton_9.MouseButton1Down:connect(function()
  183. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("White"))
  184. end)
  185.  
  186. TextButton_10.Parent = Front
  187. TextButton_10.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  188. TextButton_10.BorderSizePixel = 0
  189. TextButton_10.Position = UDim2.new(0.241758242, 0, 0.785454512, 0)
  190. TextButton_10.Size = UDim2.new(0, 89, 0, 29)
  191. TextButton_10.Font = Enum.Font.GothamSemibold
  192. TextButton_10.Text = "Manage a Store"
  193. TextButton_10.TextColor3 = Color3.new(1, 1, 1)
  194. TextButton_10.TextScaled = true
  195. TextButton_10.TextSize = 19
  196. TextButton_10.TextWrapped = true
  197. TextButton_10.MouseButton1Down:connect(function()
  198. game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Daisy orange"))
  199. end)
  200.  
  201. TextButton_11.Parent = Front
  202. TextButton_11.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  203. TextButton_11.BorderSizePixel = 0
  204. TextButton_11.Position = UDim2.new(0.437728941, 0, 0.200000003, 0)
  205. TextButton_11.Size = UDim2.new(0, 89, 0, 29)
  206. TextButton_11.Font = Enum.Font.GothamSemibold
  207. TextButton_11.Text = "Enable Reset"
  208. TextButton_11.TextColor3 = Color3.new(1, 1, 1)
  209. TextButton_11.TextScaled = true
  210. TextButton_11.TextSize = 19
  211. TextButton_11.TextWrapped = true
  212. TextButton_11.MouseButton1Down:connect(function()
  213. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  214. end)
  215.  
  216. TextButton_12.Parent = Front
  217. TextButton_12.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  218. TextButton_12.BorderSizePixel = 0
  219. TextButton_12.Position = UDim2.new(0.437728941, 0, 0.345454544, 0)
  220. TextButton_12.Size = UDim2.new(0, 89, 0, 29)
  221. TextButton_12.Font = Enum.Font.GothamSemibold
  222. TextButton_12.Text = "Enable Leaderboard"
  223. TextButton_12.TextColor3 = Color3.new(1, 1, 1)
  224. TextButton_12.TextScaled = true
  225. TextButton_12.TextSize = 5
  226. TextButton_12.TextWrapped = true
  227. TextButton_12.MouseButton1Down:connect(function()
  228. loadstring(game:HttpGet("https://pastebin.com/raw/cQ92RGcq", true))()
  229. end)
  230.  
  231. TextLabel_2.Parent = Front
  232. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  233. TextLabel_2.BackgroundTransparency = 1
  234. TextLabel_2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  235. TextLabel_2.BorderSizePixel = 0
  236. TextLabel_2.Position = UDim2.new(0.335164845, 0, -0.0472727269, 0)
  237. TextLabel_2.Size = UDim2.new(0, 47, 0, 55)
  238. TextLabel_2.Font = Enum.Font.GothamBlack
  239. TextLabel_2.Text = "PD:"
  240. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  241. TextLabel_2.TextSize = 25
  242.  
  243. TextLabel_3.Parent = Front
  244. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  245. TextLabel_3.BackgroundTransparency = 1
  246. TextLabel_3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  247. TextLabel_3.BorderSizePixel = 0
  248. TextLabel_3.Position = UDim2.new(0.415750861, 0, -0.0472727269, 0)
  249. TextLabel_3.Size = UDim2.new(0, 35, 0, 55)
  250. TextLabel_3.Font = Enum.Font.GothamBlack
  251. TextLabel_3.Text = "FR"
  252. TextLabel_3.TextColor3 = Color3.new(1, 0, 0)
  253. TextLabel_3.TextSize = 25
  254.  
  255. TextLabel_4.Parent = Front
  256. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  257. TextLabel_4.BackgroundTransparency = 1
  258. TextLabel_4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  259. TextLabel_4.BorderSizePixel = 0
  260. TextLabel_4.Position = UDim2.new(0.369963408, 0, -0.0472727269, 0)
  261. TextLabel_4.Size = UDim2.new(0, 303, 0, 55)
  262. TextLabel_4.Font = Enum.Font.GothamBlack
  263. TextLabel_4.Text = "Team Changer"
  264. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  265. TextLabel_4.TextSize = 25
  266.  
  267. close.Name = "close"
  268. close.Parent = Front
  269. close.BackgroundColor3 = Color3.new(1, 1, 1)
  270. close.BackgroundTransparency = 1
  271. close.BorderSizePixel = 0
  272. close.Position = UDim2.new(0.890591979, 0, 0.0087245889, 0)
  273. close.Size = UDim2.new(0.150382787, 0, 0.144002691, 0)
  274. close.Font = Enum.Font.GothamBold
  275. close.Text = "X"
  276. close.TextColor3 = Color3.new(1, 0, 0)
  277. close.TextSize = 25
  278.  
  279. TextLabel_5.Parent = Front
  280. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  281. TextLabel_5.BackgroundTransparency = 1
  282. TextLabel_5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  283. TextLabel_5.BorderSizePixel = 0
  284. TextLabel_5.Position = UDim2.new(0.55311358, 0, 0.861818194, 0)
  285. TextLabel_5.Size = UDim2.new(0, 303, 0, 55)
  286. TextLabel_5.Font = Enum.Font.GothamBlack
  287. TextLabel_5.Text = "Press B To open/close Gui."
  288. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  289. TextLabel_5.TextSize = 14
  290.  
  291. TextLabel_6.Parent = Front
  292. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  293. TextLabel_6.BackgroundTransparency = 1
  294. TextLabel_6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  295. TextLabel_6.BorderSizePixel = 0
  296. TextLabel_6.Position = UDim2.new(-0.17032963, 0, 0.861818194, 0)
  297. TextLabel_6.Size = UDim2.new(0, 303, 0, 55)
  298. TextLabel_6.Font = Enum.Font.GothamBlack
  299. TextLabel_6.Text = "Credits to Scripts_lua!"
  300. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  301. TextLabel_6.TextSize = 9
  302.  
  303. -- Scripts:
  304.  
  305. local sad = 0
  306. local Mouse = game.Players.LocalPlayer:GetMouse()
  307. Mouse.KeyDown:Connect(function(Key)
  308. if Key == "b" then
  309. if sad == 0 then
  310. Front.Visible = false
  311. sad = 1
  312. elseif sad == 1 then
  313. Front.Visible = true
  314. sad = 0
  315. end
  316. end
  317. end)
  318.  
  319. local function YZVXMG_fake_script() -- close.LocalScript
  320. local script = Instance.new('LocalScript', close)
  321.  
  322. while true do
  323. for a = 1,360,1 do wait(.01)
  324. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  325. end
  326. end
  327. end
  328. coroutine.wrap(YZVXMG_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement