Universal Script 📌
4.7k Views
40 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
Script hub
3.0M
691.0k
Bumped 1 hour ago
Key System

Script hub

#3 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
5.8k
19.8k
Bumped 1 hour ago
Key System
Universal Script 📌
175
10
Approved 3 hours ago