The script works it's just like only your camera goes to the coordinate and your body/character stays were it was before. Weird glitch. Can someone help me?
LocalScript:
local player = game.Players.LocalPlayer
local character = player.Character
local rootpart = character:WaitForChild("HumanoidRootPart")
local mouse = player:GetMouse()
script.Parent.Activated:Connect(function()
rootpart.Position = mouse.Hit.Position
end)
