I've tried lots of scripts but I'm an imbecile.
Create a click event, upon firing change the CFrame of the client's HumanoidRootPart to the client's Mouse.Hit
local player = game.Players.LocalPlayer local Character = player.Character or player.CharacterAdded:Wait() local Mouse = player:GetMouse() local uis = game:GetService("UserInputService")
uis.InputBegan:Connect(function(Key) if Key.KeyCode == Enum.KeyCode.T then Character:SetPrimaryPartCFrame(Mouse.Hit) end end)