Advertisement
Guest User

PoliceSimGui (Roblox)

a guest
Nov 17th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.95 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local PoliceSimGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local Frame_3 = Instance.new("Frame")
  10. local CptRank = Instance.new("TextButton")
  11. local ComingSoon = Instance.new("TextButton")
  12. local LtRank = Instance.new("TextButton")
  13. local SgtRank = Instance.new("TextButton")
  14. local ComingSoon_2 = Instance.new("TextButton")
  15. local Health150 = Instance.new("TextButton")
  16. local SpawnUnmarkedFPIU = Instance.new("TextButton")
  17. local HairChange = Instance.new("TextButton")
  18. local Frame_4 = Instance.new("Frame")
  19. local Name = Instance.new("TextLabel")
  20. local Close = Instance.new("TextButton")
  21.  
  22. --Properties:
  23.  
  24. PoliceSimGui.Name = "PoliceSinGui"
  25. PoliceSimGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  26. PoliceSimGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28. Frame.Parent = PoliceSimGui
  29. Frame.BackgroundColor3 = Color3.new(0.541176, 0.541176, 0.541176)
  30. Frame.Position = UDim2.new(0.514741004, 0, 0.471165627, 0)
  31. Frame.Size = UDim2.new(0, 507, 0, 266)
  32.  
  33. Frame_2.Parent = Frame
  34. Frame_2.BackgroundColor3 = Color3.new(0.164706, 0, 1)
  35. Frame_2.Position = UDim2.new(-0.025641026, 0, 1, 0)
  36. Frame_2.Size = UDim2.new(0, 533, 0, 17)
  37.  
  38. Frame_3.Parent = Frame
  39. Frame_3.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  40. Frame_3.Position = UDim2.new(-0.025641026, 0, -0.0639097765, 0)
  41. Frame_3.Size = UDim2.new(0, 533, 0, 17)
  42.  
  43. CptRank.Name = "CptRank"
  44. CptRank.Parent = Frame
  45. CptRank.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  46. CptRank.Position = UDim2.new(0.0394477323, 0, 0.0751879662, 0)
  47. CptRank.Size = UDim2.new(0, 70, 0, 70)
  48. CptRank.Font = Enum.Font.SourceSans
  49. CptRank.Text = "Captain Rank"
  50. CptRank.TextColor3 = Color3.new(0, 0, 0)
  51. CptRank.TextSize = 14
  52. CptRank.MouseButton1Down:connect(function()
  53. game.Workspace.PlayerServer.RestoreCptRank:FireServer()
  54. end)
  55.  
  56. ComingSoon.Name = "ComingSoon"
  57. ComingSoon.Parent = Frame
  58. ComingSoon.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  59. ComingSoon.Position = UDim2.new(0.820512831, 0, 0.0751879662, 0)
  60. ComingSoon.Size = UDim2.new(0, 70, 0, 70)
  61. ComingSoon.Font = Enum.Font.SourceSans
  62. ComingSoon.Text = "Coming Soon"
  63. ComingSoon.TextColor3 = Color3.new(0, 0, 0)
  64. ComingSoon.TextSize = 14
  65.  
  66. LtRank.Name = "LtRank"
  67. LtRank.Parent = Frame
  68. LtRank.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  69. LtRank.Position = UDim2.new(0.429980278, 0, 0.0751879662, 0)
  70. LtRank.Size = UDim2.new(0, 70, 0, 70)
  71. LtRank.Font = Enum.Font.SourceSans
  72. LtRank.Text = "Lieutenant Rank"
  73. LtRank.TextColor3 = Color3.new(0, 0, 0)
  74. LtRank.TextSize = 12
  75. LtRank.MouseButton1Down:connect(function()
  76. game.Workspace.PlayerServer.RestoreLtRank:FireServer()
  77. end)
  78.  
  79. SgtRank.Name = "SgtRank"
  80. SgtRank.Parent = Frame
  81. SgtRank.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  82. SgtRank.Position = UDim2.new(0.230769217, 0, 0.0751879662, 0)
  83. SgtRank.Size = UDim2.new(0, 70, 0, 70)
  84. SgtRank.Font = Enum.Font.SourceSans
  85. SgtRank.Text = "Sergeant Rank"
  86. SgtRank.TextColor3 = Color3.new(0, 0, 0)
  87. SgtRank.TextSize = 14
  88. SgtRank.MouseButton1Down:connect(function()
  89. game.Workspace.PlayerServer.RestoreSgtRank:FireServer()
  90. end)
  91.  
  92. ComingSoon_2.Name = "ComingSoon"
  93. ComingSoon_2.Parent = Frame
  94. ComingSoon_2.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  95. ComingSoon_2.Position = UDim2.new(0.627218902, 0, 0.0751879662, 0)
  96. ComingSoon_2.Size = UDim2.new(0, 70, 0, 70)
  97. ComingSoon_2.Font = Enum.Font.SourceSans
  98. ComingSoon_2.Text = "Coming Soon"
  99. ComingSoon_2.TextColor3 = Color3.new(0, 0, 0)
  100. ComingSoon_2.TextSize = 14
  101.  
  102. Health150.Name = "Health150"
  103. Health150.Parent = Frame
  104. Health150.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  105. Health150.Position = UDim2.new(0.0394477323, 0, 0.661654115, 0)
  106. Health150.Size = UDim2.new(0, 130, 0, 70)
  107. Health150.Font = Enum.Font.SourceSans
  108. Health150.Text = "Set health to max"
  109. Health150.TextColor3 = Color3.new(0, 0, 0)
  110. Health150.TextSize = 18
  111. Health150.MouseButton1Down:connect(function()
  112. game.Workspace.PlayerServer.Health150:FireServer()
  113. end)
  114.  
  115. SpawnUnmarkedFPIU.Name = "SpawnUnmarkedFPIU"
  116. SpawnUnmarkedFPIU.Parent = Frame
  117. SpawnUnmarkedFPIU.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  118. SpawnUnmarkedFPIU.Position = UDim2.new(0.702169597, 0, 0.661654115, 0)
  119. SpawnUnmarkedFPIU.Size = UDim2.new(0, 130, 0, 70)
  120. SpawnUnmarkedFPIU.Font = Enum.Font.SourceSans
  121. SpawnUnmarkedFPIU.Text = "Spawn Unmarked Car"
  122. SpawnUnmarkedFPIU.TextColor3 = Color3.new(0, 0, 0)
  123. SpawnUnmarkedFPIU.TextSize = 14
  124. SpawnUnmarkedFPIU.MouseButton1Down:connect(function()
  125. game.Workspace.PlayerServer.VehicleSpawns.UnmarkedFPIU:FireServer()
  126. end)
  127.  
  128. HairChange.Name = "HairChange"
  129. HairChange.Parent = Frame
  130. HairChange.BackgroundColor3 = Color3.new(0.376471, 0.678431, 1)
  131. HairChange.Position = UDim2.new(0.370808661, 0, 0.661654115, 0)
  132. HairChange.Size = UDim2.new(0, 130, 0, 70)
  133. HairChange.Font = Enum.Font.SourceSans
  134. HairChange.Text = "Coming Soon"
  135. HairChange.TextColor3 = Color3.new(0, 0, 0)
  136. HairChange.TextSize = 21
  137. HairChange.MouseButton1Down:connect(function()
  138. end)
  139.  
  140. Frame_4.Parent = Frame
  141. Frame_4.BackgroundColor3 = Color3.new(0.262745, 0.262745, 0.262745)
  142. Frame_4.Position = UDim2.new(0, 0, 0.462406009, 0)
  143. Frame_4.Size = UDim2.new(0, 507, 0, 20)
  144.  
  145. Name.Name = "Name"
  146. Name.Parent = Frame
  147. Name.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  148. Name.BorderColor3 = Color3.new(0, 0, 0)
  149. Name.BorderSizePixel = 3
  150. Name.Position = UDim2.new(0.205128208, 0, -0.187969923, 0)
  151. Name.Size = UDim2.new(0, 299, 0, 50)
  152. Name.Font = Enum.Font.SourceSans
  153. Name.Text = "FaX PoliceSim Gui"
  154. Name.TextColor3 = Color3.new(1, 1, 1)
  155. Name.TextSize = 40
  156.  
  157. Close.Name = "Close"
  158. Close.Parent = Frame
  159. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  160. Close.BackgroundTransparency = 1
  161. Close.Position = UDim2.new(0.958579898, 0, -0.0639097765, 0)
  162. Close.Size = UDim2.new(0, 21, 0, 17)
  163. Close.Font = Enum.Font.SourceSans
  164. Close.Text = "X"
  165. Close.TextColor3 = Color3.new(0, 0, 0)
  166. Close.TextSize = 14
  167. Close.MouseButton1Down:connect(function()
  168. Frame:Destroy()
  169. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement