Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local RCPDFR = Instance.new("ScreenGui")
- local Front = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- local TextButton_6 = Instance.new("TextButton")
- local TextButton_7 = Instance.new("TextButton")
- local TextButton_8 = Instance.new("TextButton")
- local TextButton_9 = Instance.new("TextButton")
- local TextButton_10 = Instance.new("TextButton")
- local TextButton_11 = Instance.new("TextButton")
- local TextButton_12 = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local close = Instance.new("TextButton")
- local TextLabel_5 = Instance.new("TextLabel")
- local TextLabel_6 = Instance.new("TextLabel")
- --Properties:
- RCPDFR.Name = "RCPD:FR"
- RCPDFR.Parent = game.CoreGui
- RCPDFR.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Front.Name = "Front"
- Front.Parent = RCPDFR
- Front.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Front.BorderSizePixel = 0
- Front.Position = UDim2.new(0.24427703, 0, 0.268577874, 0)
- Front.Size = UDim2.new(0, 546, 0, 275)
- Front.Active = true
- Front.Draggable = true
- TextLabel.Parent = Front
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.256410241, 0, -0.0472727269, 0)
- TextLabel.Size = UDim2.new(0, 53, 0, 55)
- TextLabel.Font = Enum.Font.GothamBlack
- TextLabel.Text = "RC."
- TextLabel.TextColor3 = Color3.new(0, 0.333333, 1)
- TextLabel.TextSize = 25
- TextButton.Parent = Front
- TextButton.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0384615399, 0, 0.200000003, 0)
- TextButton.Size = UDim2.new(0, 89, 0, 29)
- TextButton.Font = Enum.Font.GothamSemibold
- TextButton.Text = "Staff"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 19
- TextButton.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Lime green"))
- end)
- TextButton_2.Parent = Front
- TextButton_2.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.0384615399, 0, 0.345454544, 0)
- TextButton_2.Size = UDim2.new(0, 89, 0, 29)
- TextButton_2.Font = Enum.Font.GothamSemibold
- TextButton_2.Text = "Police Departement"
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 19
- TextButton_2.TextWrapped = true
- TextButton_2.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Bright blue"))
- end)
- TextButton_3.Parent = Front
- TextButton_3.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.0384615399, 0, 0.636363626, 0)
- TextButton_3.Size = UDim2.new(0, 89, 0, 29)
- TextButton_3.Font = Enum.Font.GothamSemibold
- TextButton_3.Text = "Fire Departement"
- TextButton_3.TextColor3 = Color3.new(1, 1, 1)
- TextButton_3.TextScaled = true
- TextButton_3.TextSize = 19
- TextButton_3.TextWrapped = true
- TextButton_3.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Crimson"))
- end)
- TextButton_4.Parent = Front
- TextButton_4.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.0384615399, 0, 0.487272739, 0)
- TextButton_4.Size = UDim2.new(0, 89, 0, 29)
- TextButton_4.Font = Enum.Font.GothamSemibold
- TextButton_4.Text = "Sheriff Office"
- TextButton_4.TextColor3 = Color3.new(1, 1, 1)
- TextButton_4.TextScaled = true
- TextButton_4.TextSize = 19
- TextButton_4.TextWrapped = true
- TextButton_4.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Pastel brown"))
- end)
- TextButton_5.Parent = Front
- TextButton_5.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_5.BorderSizePixel = 0
- TextButton_5.Position = UDim2.new(0.0384615399, 0, 0.785454512, 0)
- TextButton_5.Size = UDim2.new(0, 89, 0, 29)
- TextButton_5.Font = Enum.Font.GothamSemibold
- TextButton_5.Text = "Volunteer Rescue"
- TextButton_5.TextColor3 = Color3.new(1, 1, 1)
- TextButton_5.TextScaled = true
- TextButton_5.TextSize = 19
- TextButton_5.TextWrapped = true
- TextButton_5.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Dusty Rose"))
- end)
- TextButton_6.Parent = Front
- TextButton_6.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_6.BorderSizePixel = 0
- TextButton_6.Position = UDim2.new(0.241758242, 0, 0.345454544, 0)
- TextButton_6.Size = UDim2.new(0, 89, 0, 29)
- TextButton_6.Font = Enum.Font.GothamSemibold
- TextButton_6.Text = " Departement Of Public Works"
- TextButton_6.TextColor3 = Color3.new(1, 1, 1)
- TextButton_6.TextScaled = true
- TextButton_6.TextSize = 5
- TextButton_6.TextWrapped = true
- TextButton_6.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Bright orange"))
- end)
- TextButton_7.Parent = Front
- TextButton_7.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_7.BorderSizePixel = 0
- TextButton_7.Position = UDim2.new(0.241758242, 0, 0.200000003, 0)
- TextButton_7.Size = UDim2.new(0, 89, 0, 29)
- TextButton_7.Font = Enum.Font.GothamSemibold
- TextButton_7.Text = "National Park Service"
- TextButton_7.TextColor3 = Color3.new(1, 1, 1)
- TextButton_7.TextScaled = true
- TextButton_7.TextSize = 19
- TextButton_7.TextWrapped = true
- TextButton_7.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Lime green"))
- end)
- TextButton_8.Parent = Front
- TextButton_8.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_8.BorderSizePixel = 0
- TextButton_8.Position = UDim2.new(0.241758242, 0, 0.636363626, 0)
- TextButton_8.Size = UDim2.new(0, 89, 0, 29)
- TextButton_8.Font = Enum.Font.GothamSemibold
- TextButton_8.Text = "Cafe Worker"
- TextButton_8.TextColor3 = Color3.new(1, 1, 1)
- TextButton_8.TextScaled = true
- TextButton_8.TextSize = 19
- TextButton_8.TextWrapped = true
- TextButton_8.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Mint"))
- end)
- TextButton_9.Parent = Front
- TextButton_9.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_9.BorderSizePixel = 0
- TextButton_9.Position = UDim2.new(0.241758242, 0, 0.487272739, 0)
- TextButton_9.Size = UDim2.new(0, 89, 0, 29)
- TextButton_9.Font = Enum.Font.GothamSemibold
- TextButton_9.Text = "Civilian"
- TextButton_9.TextColor3 = Color3.new(1, 1, 1)
- TextButton_9.TextSize = 19
- TextButton_9.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("White"))
- end)
- TextButton_10.Parent = Front
- TextButton_10.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_10.BorderSizePixel = 0
- TextButton_10.Position = UDim2.new(0.241758242, 0, 0.785454512, 0)
- TextButton_10.Size = UDim2.new(0, 89, 0, 29)
- TextButton_10.Font = Enum.Font.GothamSemibold
- TextButton_10.Text = "Manage a Store"
- TextButton_10.TextColor3 = Color3.new(1, 1, 1)
- TextButton_10.TextScaled = true
- TextButton_10.TextSize = 19
- TextButton_10.TextWrapped = true
- TextButton_10.MouseButton1Down:connect(function()
- game.ReplicatedStorage.changeTeams:FireServer(BrickColor.new("Daisy orange"))
- end)
- TextButton_11.Parent = Front
- TextButton_11.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_11.BorderSizePixel = 0
- TextButton_11.Position = UDim2.new(0.437728941, 0, 0.200000003, 0)
- TextButton_11.Size = UDim2.new(0, 89, 0, 29)
- TextButton_11.Font = Enum.Font.GothamSemibold
- TextButton_11.Text = "Enable Reset"
- TextButton_11.TextColor3 = Color3.new(1, 1, 1)
- TextButton_11.TextScaled = true
- TextButton_11.TextSize = 19
- TextButton_11.TextWrapped = true
- TextButton_11.MouseButton1Down:connect(function()
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
- end)
- TextButton_12.Parent = Front
- TextButton_12.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
- TextButton_12.BorderSizePixel = 0
- TextButton_12.Position = UDim2.new(0.437728941, 0, 0.345454544, 0)
- TextButton_12.Size = UDim2.new(0, 89, 0, 29)
- TextButton_12.Font = Enum.Font.GothamSemibold
- TextButton_12.Text = "Enable Leaderboard"
- TextButton_12.TextColor3 = Color3.new(1, 1, 1)
- TextButton_12.TextScaled = true
- TextButton_12.TextSize = 5
- TextButton_12.TextWrapped = true
- TextButton_12.MouseButton1Down:connect(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/cQ92RGcq", true))()
- end)
- TextLabel_2.Parent = Front
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.335164845, 0, -0.0472727269, 0)
- TextLabel_2.Size = UDim2.new(0, 47, 0, 55)
- TextLabel_2.Font = Enum.Font.GothamBlack
- TextLabel_2.Text = "PD:"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 25
- TextLabel_3.Parent = Front
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0.415750861, 0, -0.0472727269, 0)
- TextLabel_3.Size = UDim2.new(0, 35, 0, 55)
- TextLabel_3.Font = Enum.Font.GothamBlack
- TextLabel_3.Text = "FR"
- TextLabel_3.TextColor3 = Color3.new(1, 0, 0)
- TextLabel_3.TextSize = 25
- TextLabel_4.Parent = Front
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0.369963408, 0, -0.0472727269, 0)
- TextLabel_4.Size = UDim2.new(0, 303, 0, 55)
- TextLabel_4.Font = Enum.Font.GothamBlack
- TextLabel_4.Text = "Team Changer"
- TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_4.TextSize = 25
- close.Name = "close"
- close.Parent = Front
- close.BackgroundColor3 = Color3.new(1, 1, 1)
- close.BackgroundTransparency = 1
- close.BorderSizePixel = 0
- close.Position = UDim2.new(0.890591979, 0, 0.0087245889, 0)
- close.Size = UDim2.new(0.150382787, 0, 0.144002691, 0)
- close.Font = Enum.Font.GothamBold
- close.Text = "X"
- close.TextColor3 = Color3.new(1, 0, 0)
- close.TextSize = 25
- TextLabel_5.Parent = Front
- TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_5.BackgroundTransparency = 1
- TextLabel_5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Position = UDim2.new(0.55311358, 0, 0.861818194, 0)
- TextLabel_5.Size = UDim2.new(0, 303, 0, 55)
- TextLabel_5.Font = Enum.Font.GothamBlack
- TextLabel_5.Text = "Press B To open/close Gui."
- TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_5.TextSize = 14
- TextLabel_6.Parent = Front
- TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_6.BackgroundTransparency = 1
- TextLabel_6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel_6.BorderSizePixel = 0
- TextLabel_6.Position = UDim2.new(-0.17032963, 0, 0.861818194, 0)
- TextLabel_6.Size = UDim2.new(0, 303, 0, 55)
- TextLabel_6.Font = Enum.Font.GothamBlack
- TextLabel_6.Text = "Credits to Scripts_lua!"
- TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_6.TextSize = 9
- -- Scripts:
- local sad = 0
- local Mouse = game.Players.LocalPlayer:GetMouse()
- Mouse.KeyDown:Connect(function(Key)
- if Key == "b" then
- if sad == 0 then
- Front.Visible = false
- sad = 1
- elseif sad == 1 then
- Front.Visible = true
- sad = 0
- end
- end
- end)
- local function YZVXMG_fake_script() -- close.LocalScript
- local script = Instance.new('LocalScript', close)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(YZVXMG_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement