
KeylessUniversal

local key = Enum.KeyCode.Z -- Key to toggle invisibility
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local invisOn = false
local function sendNotification(title)
StarterGui:SetCore("SendNotification", {
Title = title;
Duration = 1;
Text = "";
})
end
local function toggleInvisibility()
invisOn = not invisOn
if invisOn then
local savedPos = HumanoidRootPart.CFrame
wait()
Character:MoveTo(Vector3.new(-25.95, 84, 3537.55)) -- Safe position for invisibility
wait(0.15)
local seat = Instance.new("Seat")
seat.Anchored = false
seat.CanCollide = false
seat.Name = "InvisChair"
seat.Transparency = 1
seat.Position = Vector3.new(-25.95, 84, 3537.55) -- Match safe location
seat.Parent = workspace
local torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
if torso then
local weld = Instance.new("Weld")
weld.Part0 = seat
weld.Part1 = torso
weld.Parent = seat
end
wait()
seat.CFrame = savedPos
sendNotification("Invis On")
else
local seat = workspace:FindFirstChild("InvisChair")
if seat then
seat:Destroy()
end
sendNotification("Invis Off")
end
end
appears in the UI
local function monitorTeamUI()
local function onTeamMessageChanged()
for _, child in pairs(StarterGui:GetChildren()) do
if child:IsA("ScreenGui") then
for _, element in pairs(child:GetChildren()) do
if element:IsA("TextLabel") and element.Text then
local teamText = element.Text
if string.match(teamText, "You are now on the 'Dead' team") then
if invisOn then
toggleInvisibility()
end
elseif string.match(teamText, "You are now on the 'Hider' team") or string.match(teamText, "You are now on the 'Seeker' team") then
if not invisOn then
toggleInvisibility()
end
end
end
end
end
end
end
StarterGui.ChildAdded:Connect(onTeamMessageChanged)
end
monitorTeamUI()
UserInputService.InputBegan:Connect(function(input, isChatting)
if not isChatting and input.KeyCode == key then
toggleInvisibility()
end
end)No comments yet for this script.



