New paste Use cases Explore public pastes Text tools Developer API The Paste Library Journal Security Sign in with Google
LUACreated 2026-09-0721 viewsNo expiry

Blair

Raw New paste
luaRead-only
1
local Players = game:GetService("Players")

local Values = {
	"Tablet",
	"SanityTracker"
}

local function setValues(player)
	for _, name in ipairs(Values) do
		local value = player:FindFirstChild(name)

		if value and value:IsA("BoolValue") then
			value.Value = true
		end
	end
end

for _, player in ipairs(Players:GetPlayers()) do
	setValues(player)
end

Players.PlayerAdded:Connect(setValues)
Report abuse

Paste details

Visibility
Public
Size
417 bytes
Protection
Standard link access
Retention
No automatic expiry

Share with confidence

Unlisted links are not searchable, but anyone with the URL can open them. Never paste live credentials or personal data.