Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you make a teleport to spawn gui?

I want to make a GUI that has an image (image is the default spawn decal) so that when you click it you teleport to a brick I placed at the spawn, how do I make it? Also, I want it to work for both R6 and R15 if that's possible?

1 answer

✓ Accepted answer

If you're asking for a script, then good luck(nothing comes without a price), but if you're asking on how to do it then:

1.)Event listening for button1up on image

2.)Define player inside function(so you don't get a bug when you die)

3.)Check for Torso(R6) or HumanoidRootPart(R15)

4.)Move Torso or HumanoidRootPart accordingly to said position via CFrame or Vector3

2 comments

0

Thank you very much you've been very helpful!

0

Forgive me for asking again, but is it possible to make the teleport GUI work for both, R6 and R15 at the same time?

This discussion is preserved as it was. New answers, comments, and votes are closed.