HOW TO MAKE A TELEPORTER GUI 🛠️ Roblox Studio Tutorial
Вставка
- Опубліковано 10 чер 2024
- In todays video I show you how to make a teleporter in Roblox Studio. I Hope you enjoyed the video, Have a lovely rest of your day! If you are a bit confused what to do, Feel free to message me on Discord and Ill help you out!
Script 1 (Open Gui) :
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.YourFrameName.Visible = not script.Parent.Parent.Parent.YourFrameName.Visible
end)
Script 2 (Teleport Script) :
wait(1)
player = game.Players.LocalPlayer
button = script.Parent
local debounce = false
function teleport()
if not debounce then
debounce = true
local LowerTorso = player.Character.LowerTorso
LowerTorso.CFrame = game.Workspace.CHANGEYOURPARTNAME.CFrame -- Change "CHANGEYOURPARTNAME" to whatever you rename your part to.
script.Parent.Parent.Visible = false
end
end
button.MouseButton1Click:Connect(teleport)
while true do wait()
debounce = false
wait(2) -- This limits to how often a player can click the teleport button (In seconds).
end
If you would like to support me even more, Super Thanks is also another way to show your appreciation!
🌟 Floppys Discord Server: / discord
🌟 Floppys Roblox Game : www.roblox.com/games/11301003...
Roblox Studio Tutorial
Roblox Studio
Studio Tutorials - Ігри
OML, THANK YOU SO MUCH. YOUR TUTORIALS HELP ME SO MUCH!
this was really easy, and i applied it to a game im a dev team of and its super simple! one of the other devs had a super complex script (for a dumb / beginner developer like me), and i bet the rest of the team will be happy! and dont worry, i subbed!
IF IT DOESNT WORK: IF it doesn't work, make sure you go through each of the steps carefully. If you correctly followed all the steps and still doesn;t work, it might be because your character is r6.
IF YOUR CHARACTER IS r6 here is what you do:
Go into the local script inside the text button inside the teleport gui frame. once you do that, change "LowerTorso" into "Torso" because LowerTorso is an r15 part and not an r6 part. Once you do that, test it and it should work fine
if your confused what script, here it is:
wait(1)
player = game.Players.LocalPlayer
button = script.Parent
local debounce = false
function teleport()
if not debounce then
debounce = true
local Torso = player.Character.Torso
Torso.CFrame = game.Workspace.CHANGEYOURPARTNAME.CFrame -- Change "CHANGEYOURPARTNAME" to whatever you rename your part to.
script.Parent.Parent.Visible = false
end
end
button.MouseButton1Click:Connect(teleport)
while true do wait()
debounce = false
wait(2) -- This limits to how often a player can click the teleport button (In seconds).
end
as you can see i changed all the "LowerTorso"s to "Torso"
im r15 and it dosent work
THANKYOU SO MUCH
@@STARSGOINGATRIANGULUM this is for r6, not r15, if your r15 keep the tutorial the way it is , this comment is only for r6
yo thanks bro
still doesnt work with r6 for some reason
Ayo, this actually works! You know what? Youve earned a well deserved sub, and also, pls keep making these. So simple
BROOOO NO WAY IT WORKED DO YOU KNOW HOW MUCH TUTORIALS I HAD TO WATCH AND THEY DIDNT WORK? U EARNED A NEW SUB and im going to support u / watch ur tuts because they are the only ones that work WWWW
Thanks so much for the support! Have a great weekend!
Wait is real?
thank you so much at first it didn't work but second go works nicely ty
I've been wanting a good GUI teleporter for my horror game thank you so much
Thanks you, it helped so much!
Thank you so much floppy, your videos are the only ones that work and you help me a lot on my developing journey. Again thank you,
This is so helpful thanks!
YOOO! FINALLY A REAL NOT SCAM CLICKBATE VIDEO! IT WORKED! TYSM FLOPPY! LOVED YOUR VIDEOS AND I OFC LIKED AND SUBSCRIBED! YOU DESERVED IT :D
I love your tutorials so much! They're so helpful and it helps me a lot to make my game better! I'll use your tutorials from now on. The other tutorials are hard to understand as they keep on messing up. Could you please make a tutorial on how to make someone sit (with a different emote) when a part is touched? I really need this tutorial for my hangout game. If you can't do it, that's fine! I'll still support you
to make a custom sit animation. u have the grab the animate script, and put it into a scs. this can be done by testing Ur game for a second and adding it into starter character scripts (scs) make sure u make the sit animation is the id of the sit id in the script, and go to explorers and properties, go to the value "sit". then change the animation id as well. tell me if it works
or u can make a animation play when the gui is touched.
Thank you SO much for adding the script in the description.
YES WAY IT WORKED!
TYSM! THIS VIDEO IS SUPER USEFUL AND NOT CLICKBAIT!
OMG DUDE FINNALY A REAL GOOD VIDEO FOR SHOWING THESE TYPE OF TUTORIELS THANK YOU SO MUCH
Glad you liked it!
Than You Very Much!!!! You helped me!
Your the only youtuber that😊 lets us copy paste scripts which is very kind. Keep up the good work! Your my favourite UA-camr
bro other youtubers do that bruh
THANK YOU SOOO MUCCHHH ME AND MY FRIEND HAVE BEEN TRYING TO DO THIS FOR DAYSSSSSS
So glad I was able to help!
Tysm
LOL
thank you it works perfectly
Thank u for teaching dude
i like your tutorials. its making me a coin game!
YO TYSM
UR THE BEST THAN ANY ROBLOX STUDIOR THAT TRIED TO MAKE GOOD TUTS (some do but they dont work for me)
TYSM THIS WORKED!!
You earned a new sub
glad your put your script at description!
Ty sm man You made it very simple
I’m so confused so it was working to we’re the part was far away but now all the sudden it doesn’t work it only seems to work when the part it close to the player can you help me?
bro thank u so much u are a lifesaver, u get a sub
Glad I could help
Nice simple working script! thanks
How to make a lifting gui
I want to make an update in my game of Geometry Dash in which the character, when crossing a hoop, can fly. I already have the buttons and the script that will make them appear when touching the ring. I just need to make the buttons work. One says Up and the other Down
Thank You So Much ❤❤
tnx bro you are the best🥰
Hello! You're the only one who puts the code in the description! Your videos are also awesome! Nice job, +1 subscriber to your amazing channel!
i have a problem when i click the teleport button it teleports but all the buttons dissapear
u are owesome ty!!!!
thanks again :D
Thanks man!
bro best tutorial deserves a like
I appreciate it!
W vid AND FIRST
Hey Floppy, what if I wanted the player to unlock the world first then being able to teleport. How would I do it?
dont put the screen gui in starter gui put it in a guiscreen and link the second wworld
@@sarahasril114 thanks!
@@sarahasril114 can u elaborate how to do that
@@sarahasril114 pls. can you show how to make this?
instead of putting a frame can u put a scrolling frame?
Yo It worked thanks
w but if I wanted to add a unlock system where you unlock the ability to teleport to the world only ounce u unlocked it how would I go about doing so ?
W tutorial!
thank u very much i appriciate your help
(srry for my grammars if its bad im not english)
@@Upg.Titan.Speakerman123its not bad att all its quite good for a non english person
I love your videos
Thanks so much!
@@Itz_FloppyFish bro how do i make the teleport a gmaepass
thank you so muchh
Only 1 button works? I have R15 and I followed every step carefully but only one teleport button works. The rest dont do anything.
I sub because you helped me to get robux Tysm
Thanks so much!
the teleport gui automatically opens when u enter the game, is there any way to fix that?
Thx it worked
Glad it helped
If anyone needs help figuring out why clicking the teleport buttons doesn't actually teleport you anywhere, it may be an R6 / R15 situation that I noticed. My game is in R6 and the code mentions ''LowerTorso'' which is not a part on the R6 body. Simply change the code text in the teleport buttons from LowerTorso to Torso and it should work.
Can you Create Video "How to Make a Custom tool bar"
I did this in a seperate studio session and then when i transfered it into my game it doesn’t work anymore when i hit the button.
Plzz help me it was working but all of the sudden it doesn’t. It only works when the part is very close to the play before the part could be very far idk what happened.
tysm!!!
someone help me bro the opening the thing works but then whenever i try to click the teleport button it does nothing /:
how to make that another teleport part button locked. and will unlock when player reach the 2nd teleport part?
edit: i redid it and now it works
Guys if it says somthing about lower torso you have to just delete the word lower or put ur game in R15
thanks! I'm making a main menu of a platformer game where you click a level and you spawn there
I'll code the rest where you unlock levels thanks!!!!!
floppy can you pls make a video about how you can teleport to players,bc i need to know how i can tp to a player bc i'm creating a owner only gui
best vid ever
r
thankssssssss
TYSM
How do I animate the GUI so it doesnt just open and instead comes from the left/right side
thabk you
Hey floppy its me the guy who made the cargo ship game, how do i make a billboard gui can you make a video on it?
is there a way to make this work for multi place games?
I have an error - "dfgg" is not a valid member of workspace "workspace"
This works but when the tp place is too far away it doesnt does anyone have idea how to fix that?
Oh my god the same thing happened to me, everyone like this comment so floppy or a smart person can see this!
thx
yo can u make a script that theres a timer that waits anmd resets the server every couple of minutes
i spent soooo long doing this and it did not work even thing else works unseat when you try to tp it won't work
Please, can you make a currency shop tutorial
its not working for me, when i click on the place i wanna teleport to it wont teleport me
yes works
yo can you make it so when you get a badge you can teleport there?
nevermind nice tutorial
Floppy can you make a video or teach me how to make a mining game
what if i want the gui to appear after my main menu
the open and close works, just the actual teleports dont can i get some help?
probably too far away
I thought this was gonna work I spent so much time on this!😢
When the part is far away it doesn’t work. Does anyone have any solutions?
Hi how do i change it like i can teleport faraway?
dont you want to teleport in the sever not the client?
I cant teleport when I can't see the part. How to fix this?
It don´t work for me and idk why. It works in other maps but not in the map i need it
I followed all the steps very carefully, but yet when I click the button, nothing happens.
Thanks! I agree that @Yashers90 comment worked on r6! Thank you, Floppy and Yashers! :D Also i liked
the first teleporter worked, but the second one didnt, idk if its because the part is around 1500 studs away or that i did something wrong, could you help me?
too far away
First
How do you add a whutelist to this?
4:09 help the sound he made just made me laugh
uhhh... well w-wull
How do you do it with gamepass
it does not work when I click green area it does not teleport
can you pls pls pls do a how to make a tower defence.
How do I make it so it can go far away?
this may sound dumb but how to you duplicate the textbuttons, please help!
ctrl + c = copy and ctrl + v = paste
ctrl+ D
@@ILikeHamburgersAndHamsters ctrl+ D
Whenever I click the button to actually teleport it never works, is it possible I did anything wrong..?
probably too far away