local UserInputService = game:GetService("UserInputService"); game:GetService("GuiService").MenuOpened:Connect(function() game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); end); game:GetService("GuiService").MenuClosed:Connect(function() game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); end); UserInputService.InputBegan:Connect(function(p1) if p1.KeyCode == Enum.KeyCode.ButtonStart then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.LeftAlt then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.F4 then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.Tab then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.Escape then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.F11 then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.F12 then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.RightAlt then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.LeftSuper then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.RightSuper then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.F9 then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); return; end; if p1.Keycode == Enum.KeyCode.Delete then game:GetService("TeleportService"):SetTeleportGui(script.ScreenGui); game:GetService("TeleportService"):Teleport(10763934723); end; end);

7 comments

0

This is a anti leave script which still works and gives the error Keycode is not a valid member of InputObject "InputObject"

0

matuska rodnaja...

0

it's because you need to type KeyCode not Keycode

0

But I did and it still gives the error where did I not type KeyCode?

0

No wait I fixed it not all of it had KeyCode

1

alt + f4

0

Best Script ever