Prexy

Pasted Oct 6, 2026, 4:14 AM1 file71 lines

Scan to open on your phone

Point a camera at the QR code - it opens this exact paste, no app needed.

https://codepastes.com/zzgt2v3geddzw31q
untitled
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

local gui = Instance.new("ScreenGui")
gui.Name = "Prexy"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 180, 0, 100)
frame.Position = UDim2.new(0.5, -90, 0.5, -50)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
frame.Parent = gui

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 35)
title.BackgroundTransparency = 1
title.Text = "Prexy"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.Parent = frame

local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 140, 0, 40)
button.Position = UDim2.new(0.5, -70, 0, 45)
button.BackgroundColor3 = Color3.fromRGB(170, 50, 50)
button.Text = "INVISIBLE: OFF"
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.TextScaled = true
button.Font = Enum.Font.GothamBold
button.Parent = frame

local invisible = false

local function setInvisible(state)
	invisible = state
	character = player.Character or player.CharacterAdded:Wait()

	for _, object in ipairs(character:GetDescendants()) do
		if object:IsA("BasePart") then
			object.LocalTransparencyModifier = state and 1 or 0
		elseif object:IsA("Decal") then
			object.Transparency = state and 1 or 0
		end
	end

	if state then
		button.Text = "INVISIBLE: ON"
		button.BackgroundColor3 = Color3.fromRGB(50, 170, 80)
	else
		button.Text = "INVISIBLE: OFF"
		button.BackgroundColor3 = Color3.fromRGB(170, 50, 50)
	end
end

button.MouseButton1Click:Connect(function()
	setInvisible(not invisible)
end)

player.CharacterAdded:Connect(function(newCharacter)
	character = newCharacter

	if invisible then
		task.wait(0.2)
		setInvisible(true)
	end
end)

1,906 chars · codepastes.com