
234 Views
2.0k Executions
invisibility
Universal Script 📌
ramazan1337Published 5
3 months 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
YOU NEED TO PRESS G TO WORK
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)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!




