Pp script ( outdated )
Key RequiredUniversal

Pp script ( outdated )

Universal ScriptHavensSCPHavensSCP 2.4K views 1.2K executesUpdated Dec 27, 2025
Unrated
00
Lua Script•270 lines (7977 chars)
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local gui = Instance.new("ScreenGui")
gui.Name = "PPUpdate"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = playerGui

local scale = Instance.new("UIScale")
scale.Scale = 1
scale.Parent = gui

local container = Instance.new("Frame")
container.AnchorPoint = Vector2.new(0.5, 0.5)
container.Position = UDim2.fromScale(0.5, 0.5)
container.Size = UDim2.new(0, 430, 0, 300)
container.BackgroundColor3 = Color3.fromRGB(17, 17, 23)
container.BorderSizePixel = 0
container.Parent = gui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 20)
corner.Parent = container

local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(65, 65, 82)
stroke.Thickness = 1.5
stroke.Transparency = 0.15
stroke.Parent = container

local padding = Instance.new("UIPadding")
padding.PaddingLeft = UDim.new(0, 24)
padding.PaddingRight = UDim.new(0, 24)
padding.PaddingTop = UDim.new(0, 22)
padding.PaddingBottom = UDim.new(0, 20)
padding.Parent = container

local title = Instance.new("TextLabel")
title.BackgroundTransparency = 1
title.Size = UDim2.new(1, 0, 0, 42)
title.Font = Enum.Font.GothamBold
title.Text = "ENGLISH OR PORTUGUÊS"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 24
title.TextScaled = false
title.Parent = container

local subtitle = Instance.new("TextLabel")
subtitle.BackgroundTransparency = 1
subtitle.Position = UDim2.new(0, 0, 0, 48)
subtitle.Size = UDim2.new(1, 0, 0, 25)
subtitle.Font = Enum.Font.Gotham
subtitle.Text = "Select your language"
subtitle.TextColor3 = Color3.fromRGB(155, 155, 170)
subtitle.TextSize = 14
subtitle.Parent = container

local buttons = Instance.new("Frame")
buttons.BackgroundTransparency = 1
buttons.Position = UDim2.new(0, 0, 0, 105)
buttons.Size = UDim2.new(1, 0, 0, 58)
buttons.Parent = container

local layout = Instance.new("UIListLayout")
layout.FillDirection = Enum.FillDirection.Horizontal
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
layout.VerticalAlignment = Enum.VerticalAlignment.Center
layout.Padding = UDim.new(0, 12)
layout.Parent = buttons

local function createButton(text)
	local button = Instance.new("TextButton")
	button.Size = UDim2.new(0.5, -6, 1, 0)
	button.BackgroundColor3 = Color3.fromRGB(27, 27, 36)
	button.BorderSizePixel = 0
	button.AutoButtonColor = false
	button.Font = Enum.Font.GothamBold
	button.Text = text
	button.TextColor3 = Color3.fromRGB(245, 245, 250)
	button.TextSize = 15
	button.Parent = buttons

	local buttonCorner = Instance.new("UICorner")
	buttonCorner.CornerRadius = UDim.new(0, 12)
	buttonCorner.Parent = button

	local buttonStroke = Instance.new("UIStroke")
	buttonStroke.Color = Color3.fromRGB(65, 65, 80)
	buttonStroke.Thickness = 1
	buttonStroke.Transparency = 0.15
	buttonStroke.Parent = button

	button.MouseEnter:Connect(function()
		TweenService:Create(
			button,
			TweenInfo.new(0.15, Enum.EasingStyle.Quad),
			{
				BackgroundColor3 = Color3.fromRGB(43, 43, 56),
				Size = UDim2.new(0.5, -4, 1, 2)
			}
		):Play()
	end)

	button.MouseLeave:Connect(function()
		TweenService:Create(
			button,
			TweenInfo.new(0.15, Enum.EasingStyle.Quad),
			{
				BackgroundColor3 = Color3.fromRGB(27, 27, 36),
				Size = UDim2.new(0.5, -6, 1, 0)
			}
		):Play()
	end)

	return button
end

local portugueseButton = createButton("🇧🇷  PORTUGUÊS")
local englishButton = createButton("🇺🇸  ENGLISH")

local footer = Instance.new("TextLabel")
footer.BackgroundTransparency = 1
footer.Position = UDim2.new(0, 0, 1, -42)
footer.Size = UDim2.new(1, 0, 0, 20)
footer.Font = Enum.Font.Gotham
footer.Text = "PP • Update"
footer.TextColor3 = Color3.fromRGB(100, 100, 115)
footer.TextSize = 12
footer.Parent = container

local function clearContainer()
	for _, object in ipairs(container:GetChildren()) do
		if object ~= corner and object ~= stroke and object ~= padding then
			object:Destroy()
		end
	end
end

local function createBackButton(language)
	local back = Instance.new("TextButton")
	back.Size = UDim2.new(0, 90, 0, 34)
	back.Position = UDim2.new(0, 0, 1, -34)
	back.BackgroundColor3 = Color3.fromRGB(27, 27, 36)
	back.BorderSizePixel = 0
	back.AutoButtonColor = false
	back.Font = Enum.Font.GothamBold
	back.Text = language == "pt" and "VOLTAR" or "BACK"
	back.TextColor3 = Color3.fromRGB(230, 230, 235)
	back.TextSize = 12
	back.Parent = container

	local backCorner = Instance.new("UICorner")
	backCorner.CornerRadius = UDim.new(0, 9)
	backCorner.Parent = back

	back.MouseEnter:Connect(function()
		TweenService:Create(
			back,
			TweenInfo.new(0.15),
			{BackgroundColor3 = Color3.fromRGB(43, 43, 55)}
		):Play()
	end)

	back.MouseLeave:Connect(function()
		TweenService:Create(
			back,
			TweenInfo.new(0.15),
			{BackgroundColor3 = Color3.fromRGB(27, 27, 36)}
		):Play()
	end)

	back.MouseButton1Click:Connect(function()
		gui:Destroy()
		loadstring(game:HttpGet("https://raw.githubusercontent.com/Cat558-uz/PP/refs/heads/main/PP%20Aq%20ne"))()
	end)
end

local function showContent(language)
	clearContainer()

	container.Size = UDim2.new(0, 430, 0, 365)

	local contentTitle = Instance.new("TextLabel")
	contentTitle.BackgroundTransparency = 1
	contentTitle.Size = UDim2.new(1, 0, 0, 42)
	contentTitle.Font = Enum.Font.GothamBold
	contentTitle.Text = language == "pt" and "PP ATUALIZADO" or "PP UPDATED"
	contentTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
	contentTitle.TextSize = 23
	contentTitle.Parent = container

	local line = Instance.new("Frame")
	line.Position = UDim2.new(0, 0, 0, 52)
	line.Size = UDim2.new(1, 0, 0, 1)
	line.BackgroundColor3 = Color3.fromRGB(60, 60, 75)
	line.BorderSizePixel = 0
	line.Parent = container

	local content = Instance.new("TextLabel")
	content.BackgroundTransparency = 1
	content.Position = UDim2.new(0, 0, 0, 70)
	content.Size = UDim2.new(1, 0, 0, 220)
	content.Font = Enum.Font.Gotham
	content.TextColor3 = Color3.fromRGB(215, 215, 225)
	content.TextSize = 15
	content.TextWrapped = true
	content.TextXAlignment = Enum.TextXAlignment.Left
	content.TextYAlignment = Enum.TextYAlignment.Top

	if language == "pt" then
		content.Text = "Como assim? Eu voltei a ver os Scripts e o PP está desatualizado. Use a versão nova que está no ScriptBlox.com.\n\nO script estará abaixo. O código para usar no executor é só salvar. Obrigado por ainda usar ele ♥️!\n\nAVISOS\n\n• Não use em crianças. Isso é nojento, só para avisar."
	else
		content.Text = "What do you mean? I came back to check the Scripts and PP is outdated. Use the new version available on ScriptBlox.com.\n\nThe script will be below. Just save the code used in the executor. Thank you for still using it ♥️!\n\nWARNINGS\n\n• Do not use it on children. That is disgusting, just a warning."
	end

	content.Parent = container

	createBackButton(language)

	TweenService:Create(
		container,
		TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
		{Size = UDim2.new(0, 430, 0, 365)}
	):Play()
end

portugueseButton.MouseButton1Click:Connect(function()
	showContent("pt")
end)

englishButton.MouseButton1Click:Connect(function()
	showContent("en")
end)

local function updateScale()
	local viewport = workspace.CurrentCamera.ViewportSize
	local width = viewport.X
	local height = viewport.Y

	local targetWidth = math.min(430, width - 35)
	local targetHeight = math.min(365, height - 35)

	if height < 500 then
		targetHeight = math.min(330, height - 25)
	end

	scale.Scale = math.min(
		targetWidth / 430,
		targetHeight / 365,
		1
	)
end

workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(updateScale)
updateScale()

container.Size = UDim2.new(0, 430, 0, 300)
container.Position = UDim2.fromScale(0.5, 0.52)

TweenService:Create(
	container,
	TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
	{
		Position = UDim2.fromScale(0.5, 0.5)
	}
):Play()

Features & Information

Pp bro its an di0ck

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts