Universal Script 📌
4.7k Views
51 Executions

Make your character invisible

Universal Script 📌
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Press the 'G' key to turn on/off

View Raw
local UserInputService = game:GetService("UserInputService")
local player = game.Players.LocalPlayer

local invisible = false

local function setTransparency(character, value)
	for _, part in pairs(character:GetDescendants()) do
		if part:IsA("BasePart") then
			part.Transparency = value
			part.CanCollide = (value == 0)
		end
	end
end

UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end
	if input.KeyCode == Enum.KeyCode.G then
		local character = player.Character or player.CharacterAdded:Wait()
		invisible = not invisible
		setTransparency(character, invisible and 1 or 0)
	end
end)

player.CharacterAdded:Connect(function(character)
	if invisible then
		setTransparency(character, 1)
	end
end)




Comments

2
Log in to join the conversation. Login
uncustomizable's profile picture
uncustomizable1 year ago

client sided btw

1
Virage's profile picture
VirageUploader1 year ago

Press the 'G' key to turn on/off

1

More universal scripts

See all
Universal Script 📌
6.7k
318.5k
Bumped 2 hours ago
Script hub
29.2k
241.3k
Bumped 3 hours ago
Script hub
6.9k
101.2k
Bumped 4 hours ago

Script hub

SAGAZx Hub

Script hub
280.1k
189.5k
Bumped 4 hours ago
Key System
Script hub
360
474
Bumped 5 hours ago

Script hub

Blythe

Script hub
9.0k
56.5k
Bumped 6 hours ago
Key System