Is it possible to make teleport script like this (it might be confusing) When you press a button The Map shows up on you're screen (how to make map tho xD) When You click on any spot you can teleport there or You have to click on certain place Marked on map to teleport there... Im kinda confused myself Haha +++++++++++++++++ Thank In Advance +++++++++++++++++
✓ ANSWER ACCEPTED
Is It Possible?
1 answer
✓ Accepted answer
Yes, it is possible. The map thing can be made either with images that you create or by scripting. If you really need this then I'll explain the scripting part to you later. (Skype:admin_jo66) The teleporting is some pretty easy thing, you most likely already had linear functions in school and know about x and y. Getting x and y of the mouse is easy as you can see here: http://wiki.roblox.com/index.php?title=API:Class/PlayerMouse
I'll explain all that with examples in the following script.
-- This script has to be in PlayerGui
plr = script.Parent.Parent
mouse = plr:GetMouse() -- Method to get the mouse of the player.
mouse.Button1Down:connect(function() -- Event that's being called whenever the left mouse button was set down. You may also use another event specific for GUI.
local x = mouse.X -- The X coordinate of the mouse will be the X coordinate.
local z = mouse.Y -- The Y coordinate of the mouse will be the Z coordinate as the map is looking on the ground like a bird from the sky.
local char = plr:WaitForChild("Character") -- Waiting for the character to exist and declaring the variable
char.Torso.CFrame = CFrame.new(x, workspace.Baseplate.Y+workspace.Baseplate.Size, z) -- Changing the Position would kill the character.
end)
If you have any other questions, feel free to ask!
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
@Wutras Ahh sorry im not using skype but we could chat trough kik (android aplication) will that be good?
Sure.
Y would you answer this question, He's literally asking for a free script, I'm surprised this question didn't get shut down.
He has asked how to do this, not whether somebody can make this for him. He surely doesn't know a lot about it, but that's why we got this website, right? To help people with their lack of knowledge.
I actually didn't even have to write all that code, he just asked whether it is possible. By the way, I just downloaded kik and my usernameis Wutras.
alright thank you and i apologize im new to this site hehe