Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 03:48 AM |
I need a script when you click on a GUI you get teleported to a certain position. ( Not get teleported to a block)
Thanks alot! |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
| |
|
igrach2
|
  |
| Joined: 09 Mar 2017 |
| Total Posts: 252 |
|
|
| 25 Aug 2017 03:54 AM |
--localscript in a textbutton/imagebutton local p=game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() p.Character:MoveTo(Vector3.new(1,2,3)) end) |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
| |
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 04:01 AM |
| Wait where do i put the position? |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
| |
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
| |
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 25 Aug 2017 04:08 AM |
| why should we make it for you? |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 04:15 AM |
| idk that's like saying why did you have to join roblox! |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 04:16 AM |
i joined roblox to have fun with my friends, so im making you a script to have fun with my friends?
print("print()") |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 04:19 AM |
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function() player:WaitForChild('Character'):MoveTo(Vector3.new(x, y, z)) end)
replace the x, y, z to the coordinates you want |
|
|
| Report Abuse |
|
|
Em_ily
|
  |
| Joined: 21 Jan 2014 |
| Total Posts: 1708 |
|
|
| 25 Aug 2017 04:27 AM |
script.Parent.MouseClick1:connect(function() game.Player.LocalPlayer.Character:MoveTo(Vector3.new(x,y,z)) end |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 04:37 AM |
| Can you give me a number list on how to do this? It's not working for me! |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 04:42 AM |
in workspace find your character model and copy the head's position
replace the x, y, z with the position |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 04:45 AM |
| is there a model i could use? |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 04:46 AM |
| play in studio and find your character model in workspace |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 04:47 AM |
| Why would i need my character model? |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 04:48 AM |
| or you could put a part in studio and place the part where you want the player to teleport to and copy the position |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
|
| 25 Aug 2017 04:50 AM |
| yeah and this works when you click a text button ( btw i did: TeleportGui>TeleportButton>Script ) (btw those where the names i used ) |
|
|
| Report Abuse |
|
|
Reapqr
|
  |
| Joined: 27 Jan 2017 |
| Total Posts: 921 |
|
| |
|
|
| 25 Aug 2017 06:49 AM |
| When you dont understand than i can make it for you |
|
|
| Report Abuse |
|
|
drysty
|
  |
| Joined: 07 Dec 2013 |
| Total Posts: 1913 |
|
|
| 25 Aug 2017 07:06 AM |
bro you srsly don't know what to do with the script.
you put it in a script; obviously. it does work, they all do. its just your too lazy to figure out how to use it.
|
|
|
| Report Abuse |
|
|