local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local locations = { ["1"] = Vector3.new(-247.74, 15.13, 220.04), ["2"] = Vector3.new(-203.77, 2.19, 124.52), ["3"] = Vector3.new(-76.55, 5.36, 145.84), ["4"] = Vector3.new(-57.43, 9.37, 212.21), ["5"] = Vector3.new(-144.64, 5.28, 183.92), } local function teleportTo(locationName) local pos = locations[locationName] if pos then hrp.CFrame = CFrame.new(pos) print("Teleported to Location " .. locationName) else print("Invalid location. Use 1-5") end end player.Chatted:Connect(function(message) local cmd = message:lower():match("^/tp%s+(%d)$") if cmd then teleportTo(cmd) end end) local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Four then teleportTo("1") elseif input.KeyCode == Enum.KeyCode.Five then teleportTo("2") elseif input.KeyCode == Enum.KeyCode.Six then teleportTo("3") elseif input.KeyCode == Enum.KeyCode.Seven then teleportTo("4") elseif input.KeyCode == Enum.KeyCode.Eight then teleportTo("5") end end) --yes opensource and made by me as you can see very simple but very op