ok so im trying to make a that teleports the local player to where ever he/she clicks but i really dont know where to start im still learning at this kind of stuff can somone show me a that does that so i can learn off of it?
Before learning how to create a teleport tool, you should learn how to create a teleport pad first: https://www.youtube.com/watch?v=fjEGR-tGKSs
After you understand the scripting of teleportation, visit this article, skim through this video: https://www.youtube.com/watch?v=6X69jlfl6Cs Apply your knowledge from these 2 to create a teleporting tool.
If you want the tool to teleport a player to the location of the mouse click, you are going to have to know how to use the mouseclick event - which is a bit more complicated.