invisibility
Key RequiredUniversal

invisibility

Universal Scriptramazan1337ramazan1337 178 views 2K executesUpdated Aug 11, 2026
Unrated
00
Lua Script•31 lines (773 chars)
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local invisible = false

local function setInvisible(state)
	local 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

	invisible = state
end

UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end

	if input.KeyCode == Enum.KeyCode.G then
		setInvisible(not invisible)
	end
end)

player.CharacterAdded:Connect(function()
	invisible = false
end)

Features & Information

YOU NEED TO PRESS G TO WORK

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts