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 +++++++++++++++++
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!