
1.6k Views
117 Executions
invisible map script for afk fps boost toggleable
Universal Script 📌
YuiisScriptsFirst script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
makes the map and everything else entirely invisible, therefore increasing fps press "=" to toggle
-- made by YuiisScripts
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local invisible = false
local lastToggle = 0
local debounceTime = 0.3
local function setVisibility(state)
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("BasePart") then
obj.LocalTransparencyModifier = state and 1 or 0
elseif obj:IsA("Decal") or obj:IsA("Texture") then
obj.Transparency = state and 1 or 0
end
end
end
UserInputService.InputBegan:Connect(function(input, processed)
if processed then return end
if input.KeyCode == Enum.KeyCode.Equals and tick() - lastToggle > debounceTime then
invisible = not invisible
setVisibility(invisible)
lastToggle = tick()
end
end)
workspace.DescendantAdded:Connect(function(obj)
if invisible then
if obj:IsA("BasePart") then
obj.LocalTransparencyModifier = 1
elseif obj:IsA("Decal") or obj:IsA("Texture") then
obj.Transparency = 1
end
end
end)









Dude I think lagging is better Then not being able to see anything