this whole tutorial series helped me so much and is amazing. Thanks so much. The only thing i couldnt get to work was the linear camera path but the first and third video worked perfectly and that's all i needed. The camera apth would have just been extra detail i didn't need. Thanks so much.
if you wanna make a screen that look around the map, you just need find a spinning model, and transparent it on properties, after that, try to connect the PlayCam and the DMCam into the spinning. dont forget to edit your background
local ts = game:GetService("TeleportService") local pb = script.Parent.PlayButton local placeID = 0 --Replace 0 with your place id. pb.MouseButton1Click:Connect(function(player) wait(.01) ts:Teleport(placeID, player) end)
hey i was wondering if you could make a video about a one time teleport (like a tutorial) so when you click play, you get teleported to the tutorial but as soon as you finish it, you get teleported to the main game whenever you click that same play button
Use datastores to create data that is saved across multiple places, then simply just use an if statement e.g. if game.Players.LocalPlayer.Data.DoneTutorial.Value == false then ts:Teleport(placeID, player) else ts:Teleport(otherplaceID, player) end
local ts = game:GetService("TeleportService") local pb = script.parent.playerButton -- You place ID games how. local placeID = 0 pb.MouseButton1Click:Connect(function(player) wait(.01) ts:Teleport(placeID, player) end)
so uh, it keeps saying stuff about "attempting to teleport to a place that's restricted" in my new game, so i went back to my old game, which previously worked, and tried teleporting there, and it also said the same thing... i don't really know how to script much, but i'm assuming that roblox messed around with teleports... also can anyone help?
Not sure if you still got the problem, but it might be because you copied and pasted the menu place ID insteand of the game place ID. (menu place - your menu, game place - the game you want to teleport to)
Script: local ts = game:GetService("TeleportService") local pb = script.Parent.PlayButton local placeID = --put here your place ID pb.MouseButton1Click:Connect(function(player) wait(0.01) ts:Teleport(placeID, player) end)
I made a video on that , but they're separated. One shows you how to press play and stay in the same game, and the other shows how to teleport a player to a certain spawn point. Just peice both of them together and voila
Full script : local ts = game:GetService("TeleportService") local pb = script.Parent.PlayButton local placeID = 11393703720 pb.MouseButton1Click:Connect(function(player) wait(.01) ts:Teleport(placeID, player) end)
add screen gui then insert textbutton init then insert localscript in textbutton script: local ts = game:GetService("TeleportService") local pb = script.parent.playerButton -- You place ID games how. local placeID = 0 -- your game id pb.MouseButton1Click:Connect(function(player) wait(.01) ts:Teleport(placeID, player) end)
this whole tutorial series dident help me so much and it isent amazing not thanks the only thing I couldent get to work is everything and thats everything I needed not thanks*
script: local ts = game:GetService("TeleportService") local pb = script.Parent.NAME -- Change name to your buttons name local ID = UrId -- Change UrId to your game's id pb.MouseButton1Click:Connect(function(plr) wait(0.002) ts:Teleport(ID, plr) end)
this whole tutorial series helped me so much and is amazing. Thanks so much. The only thing i couldnt get to work was the linear camera path but the first and third video worked perfectly and that's all i needed. The camera apth would have just been extra detail i didn't need. Thanks so much.
if you wanna make a screen that look around the map, you just need find a spinning model, and transparent it on properties, after that, try to connect the PlayCam and the DMCam into the spinning. dont forget to edit your background
is there a way to make it teleport you to a random place? like out of a set number of maps, it would chose a random one?
if you guys are having problem , go to Security , and allow 3rd party teleports
how do i acces security?
@@banani809 go to settings
@@banani809 game settings
how do i make it so it doesnt teleport me to a diff game, and teleports me in that game at a certain spawn?
Find another video that shows you how to do that maybe It will work.
Make a script inside play button make it. script.Paremt.MouseButton1Click:Connect(function()
game.StarterGui.ScreenGui:Destroy()
end)
@@rangofied what about the camera
local ts = game:GetService("TeleportService")
local pb = script.Parent.PlayButton
local placeID = 0 --Replace 0 with your place id.
pb.MouseButton1Click:Connect(function(player)
wait(.01)
ts:Teleport(placeID, player)
end)
why does mine say attempt to teleport to place restricted?
Probably set the other game private or you dont have third party teleports on
@@skywartium I'll try it out thanks
how do i fix error code: on teleport due to unexpected problem (error 769)?
@@LunarRiser idk, this is pretty much old code and probably doesnt work anymore
Awesome tutorial, thanks for the help.
why does it say attempt to teleport to server restricted?
So the main menu has to teleport to a different game? So i cant teleport to a place in the same Game?
it shows me this "raiseTeleportInitFailedEvent: Teleport failed because Cannot Teleport in the Roblox Studio. (Failure)"
um well i know you said cant teleport means its working but it wont teleport me?
only tds fans remeber this music
What about a follow up for morph and loadout select for the main menu
hey i was wondering if you could make a video about a one time teleport (like a tutorial) so when you click play, you get teleported to the tutorial but as soon as you finish it, you get teleported to the main game whenever you click that same play button
Data stores
Use datastores to create data that is saved across multiple places, then simply just use an if statement e.g. if game.Players.LocalPlayer.Data.DoneTutorial.Value == false then
ts:Teleport(placeID, player)
else
ts:Teleport(otherplaceID, player)
end
Dannng how you learn scripting?
Thank´s you Helped me out :D!!
Pls make pne on how to mske character customization 🙏
local ts = game:GetService("TeleportService")
local pb = script.parent.playerButton
-- You place ID games how.
local placeID = 0
pb.MouseButton1Click:Connect(function(player)
wait(.01)
ts:Teleport(placeID, player)
end)
This Script is different than from the one in the Video
@@gameswithkobralo2520 im sorry you happends roblox studios you script can test?
PlayButton *
@@dailysprinkles2174 yes can script how "script.parent.playerButton" - "PlayButton" You name can text.
Can you make it so a black screen fades in when you click play?
Is it possible to add more than 2 cams and how. Great tutorial helped so much :D
check out the first part it tells you how srry im late
SO UNDERRATED
so uh, it keeps saying stuff about "attempting to teleport to a place that's restricted" in my new game, so i went back to my old game, which previously worked, and tried teleporting there, and it also said the same thing... i don't really know how to script much, but i'm assuming that roblox messed around with teleports... also can anyone help?
@@zal333 so should i try to contact roblox about it to fix it? also where would i be able to reach them?
Can You Make a Game Script Of This So i can just Download Everything And Change The Things
What if I don't want them to teleport to a different game?
music's name?
It didn't worked :( It still says errorcode 769
Hey i got a question,in my main menu i have a button(customize character) but if i click play do i keep the character i made?
It should keep the character, yes
really cool tutorial,but i have a problem, when i click "play" it teleports me to the same game,does anyone know what the problem is?
Not sure if you still got the problem, but it might be because you copied and pasted the menu place ID insteand of the game place ID. (menu place - your menu, game place - the game you want to teleport to)
I don't really get this 😕
Script:
local ts = game:GetService("TeleportService")
local pb = script.Parent.PlayButton
local placeID = --put here your place ID
pb.MouseButton1Click:Connect(function(player)
wait(0.01)
ts:Teleport(placeID, player)
end)
TYSM
yay
how do i make so on recently played it shows the main menu played and not the game i teleported to?
what if i want it to open another menu, one where u can create a game and join other games? and then teleport u when the host starts it?
it doesnt even teleport me
cause your in studio
thx man it works!!
how??
Is not work but I already did all the same thing
Yall i kinda wanna see the results of your games, send em by replying
Hello Arro, can u help me to the script for example
when I press play button it will continue to the game not teleport
hi im 1 year late but it should teleport if ur on roblox not on studio
Help me pls. I went to try my game in the roblox site, but it teleports me to the main game. i set the starting game to the menu though
YOU ARE A LEGEND
I know guys he's laptop is slow but you can speed it up for way closer look
Invalid player to teleport
what?
btw how to make like view point in menu
Is there a way to make it so you dont go to a different game and spawn somewhere else in the main menu game?
I got the same issue
is there a way to do it with only 1 button?
yes
My roblox studio is in French so idk how to do the first step, can someone tell me?
How to I make it so when I click play it teleports you to a spawn point in the same game
I made a video on that , but they're separated. One shows you how to press play and stay in the same game, and the other shows how to teleport a player to a certain spawn point. Just peice both of them together and voila
@@ArroBLX do you mind giving me the link?
does this mean i gotta publish the main menu game or the actual game?
Both
this teleport script not works
i puplished them both but i dont teleport
he give me "wait " make this not work
that normal?:
ScreenGui.LocalScript:8: Expected ')' (to close '(' at line 7), got 'wait'
?
Please do the other death mode one with the same script
the thing is its teleport not for dm unless im not sure.
mind his name
Full script :
local ts = game:GetService("TeleportService")
local pb = script.Parent.PlayButton
local placeID = 11393703720
pb.MouseButton1Click:Connect(function(player)
wait(.01)
ts:Teleport(placeID, player)
end)
give kit please
there is no kit
add screen gui then insert textbutton init then insert localscript in textbutton
script:
local ts = game:GetService("TeleportService")
local pb = script.parent.playerButton
-- You place ID games how.
local placeID = 0 -- your game id
pb.MouseButton1Click:Connect(function(player)
wait(.01)
ts:Teleport(placeID, player)
end)
Don’t work :(
I can’t get it to work
Hey anyone it dose not work for me what do you think i did wrong??
btw when i click play i doesn't teleport me
Thank
Why doesnt it work?
it doesent work in studio because you would have to save game. try it in roblox
you need to publish the game then test it dont test on roblox studio
Does Not Work I Pressed Play And It Didn't Teleport Me To The Game.
same
ITS NOT WORKING
When I used in the real site it said the place was restricted how can I fix that?
I also configured it and set it to public but it still says it’s restricted
it says Cannot Teleport in the Roblox Studio. but it does not work?? help
maybe because you entered the wrong Game ID. but idk
how did u make it say that
this whole tutorial series dident help me so much and it isent amazing not thanks the only thing I couldent get to work is everything and thats everything I needed not thanks*
PLS script
in case of lazyness
-----teleport script-----
local ts = game:GetService("TeleportService")
local pb = script.Parent.PLAY
local placeID = 11363905732
pb.MouseButton1Click:Connect:(function(player)
wait(.01)
ts:GetTeleportSetting(placeID. player)
end)
script:
local ts = game:GetService("TeleportService")
local pb = script.Parent.NAME -- Change name to your buttons name
local ID = UrId -- Change UrId to your game's id
pb.MouseButton1Click:Connect(function(plr)
wait(0.002)
ts:Teleport(ID, plr)
end)
ily