I am making a flash like script so when you press F it tpes the player to the direction of the mouse
script():
local Flash = Instance.new("RemoteEvent")
Flash.Name = "FlashService"
Flash.Parent = game.ReplicatedStorage
local function FlashAtEm(plr)
local mouse = plr:GetMouse()
local Char = plr.Character
local Hooman = Char.Humanoid
Char.UpperTorso.Position = mouse.Hit.p
end
Flash.OnServerEvent:Connect(FlashAtEm)
localscript():
local UIS = game:GetService("UserInputService")
local Remote = game.ReplicatedStorage:FindFirstChild("FlashService")
UIS.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.F then
Remote:FireServer()
end
end)

4 comments
Moving the torso kills the player instantly, try using another body part or the entire player model.
It says Position, CFrame aren't a valid member of Model
Use :SetPrimaryPartCFrame() instead to move completely player model.
Here, I'll write an example