local userInputService = game:GetService("UserInputService") local teleportService = game:GetService("TeleportService") local player = game.Players.LocalPlayer -- منع التداخل مع السكربتات الأخرى عبر عزله داخل كتلة آمنة local function teleportToMap() if player then teleportService:Teleport(game.PlaceId, player) end end userInputService.InputBegan:Connect(function(input, isTyping) if isTyping then return end -- تجاهل إذا كان المستخدم يكتب في الدردشة if input.KeyCode == Enum.KeyCode.F6 then teleportToMap() end end)