Teleport move makes you teleport into walls

Why do you think the localscript is the problem? The part doesn’t exist on the server side

And also what fires the dash? Do you have to like click a button or press key key?

This is the reason you are getting teleported into the wall because the position of a part is in the center. What @DeFunnyPerson is false about the need for a Remote Event. I would consider using raycasting or Mouse.Hit to get an accurate position.

Well, he posted it since it’s a quote of his code.

Oops my mistake @xZylter is right about that. But still use a remote event because this can be exploited to make the player dash forward too much.

use collision groups from physics service you can use that with raycastparams to whitelist a collision group