Run it
Copy the script and paste it into your executor.
local key = Enum.KeyCode.X -- key to toggle invisibility
--// don't edit script below
local invis_on = false
local function makeTransparent(character)
for _, part in ipairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.LocalTransparencyModifier = invis_on and 0.5 or 0
end
end
end
(inputObject, chat)
chat
inputObject.KeyCode == key
invis_on = invis_on
invis_on
savedpos = .Players.LocalPlayer.Character.HumanoidRootPart.CFrame
()
.Players.LocalPlayer.Character:(.(-, , ))
()
Seat = .(, .Workspace)
Seat.Anchored =
Seat.CanCollide =
Seat.Name =
Seat.Transparency =
Seat.Position = .(-, , )
Weld = .(, Seat)
Weld.Part0 = Seat
Weld.Part1 = .Players.LocalPlayer.Character:() .Players.LocalPlayer.Character.UpperTorso
()
Seat.CFrame = savedpos
.StarterGui:(, {
Title = ,
Duration = ,
Text =
})
:():()
.StarterGui:(, {
Title = ,
Duration = ,
Text =
})
(.Players.LocalPlayer.Character)
:().InputBegan:(onKeyPress)
.Players.LocalPlayer.CharacterAdded:((character)
(character)
)- Toggle between visible and invisible on a whim - Should still be able to use "Touchable" tools like swords while invisible - Others usually can't attack you while invisible (https://scriptblox.com/u/____)'s script i just added transparency when invis is on)

Universal