local UIS = game:GetService("UserInputService") local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() function GetCharacter() return Player.Character or Player.CharacterAdded:Wait() end function Teleport(pos) local Char = GetCharacter() if Char then local HumanoidRootPart = Char:FindFirstChild("HumanoidRootPart") if HumanoidRootPart then HumanoidRootPart.CFrame = CFrame.new(pos + Vector3.new(0, 3, 0)) end end end UIS.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then if Mouse.Hit then Teleport(Mouse.Hit.p) end end end)