How To Teleport Players In Roblox Studio

  Рет қаралды 33,648

Pluto

Pluto

Күн бұрын

Пікірлер: 44
@DriedLivers
@DriedLivers Жыл бұрын
Please make more tutorials!! You make them so simple and easy to follow!!
@Mirhan_2016
@Mirhan_2016 5 ай бұрын
-- Replace these values with the position where you want to teleport the player local destinationPosition = Vector3.new(10, 5, 20) -- Function to teleport the player to the destination position local function teleportPlayer(player) if player.Character then player.Character:MoveTo(destinationPosition) end end -- Replace 'ScriptParent' with the object that contains this script script.Parent.Touched:Connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then teleportPlayer(player) end end)
@bryantsalo9650
@bryantsalo9650 3 ай бұрын
bro thank u the other script wasnt working
@CalebMohr
@CalebMohr Жыл бұрын
Yay he is back!
@meonpvp8772
@meonpvp8772 Жыл бұрын
Yay! A Pluto upload, btw could you maybe make another video like making a realistic horror game. It was very fun to watch and it got a lot of attention.
@PlutoIsAway
@PlutoIsAway Жыл бұрын
i'll think about it...
@bleedNLTC
@bleedNLTC Жыл бұрын
you should open-source that game, it can be expanded by anyone further, also yes your horror game videos are fun to watch.@@PlutoIsAway
@StupidMiners
@StupidMiners 6 ай бұрын
@@PlutoIsAway I love you.
@Noobz224
@Noobz224 5 ай бұрын
AND PLUTO MADE THE HORROR GAME🎉
@icebergman2008
@icebergman2008 10 ай бұрын
I am seeing a lot of people having errors in this comment section, that's why I will leave this other script that might help someone, instead of using the ":MoveTo()" function, we are going to use ":SetPrimaryPartCFrame()" instead. Lets imagine that we have a BasePart somewhere around the map, and that our character haves a Primary Part (if its the player normal roblox avatar then the primary part is the head, if its a custom character of your game then you need to set the primary part of the model to the head for this script to work). Lets also pretend that your character will teleport if he clicks either a TextButton or an ImageButton of any ScreenGui This is how the script would look: local player = game.Players.LocalPlayer.Character local button = game.Players.LocalPlayer.PlayerGui.ScreenGui.TextButton local teleportbrick = game.Workspace.Part button.MouseButton1Click:Connect(function() player:SetPrimaryPartCFrame(teleportbrick) end) I hope this comment will help people in their projects ^^
@edittcr
@edittcr 5 ай бұрын
thanks mate
@dswqsa895
@dswqsa895 10 ай бұрын
inside of studio instead of teleporting you get HTTP Error 403, so you have to rename it to either "How to teleport players in Roblox" or "How to get HTTP Error 403 in Roblox Studio"
@Lxmitless7
@Lxmitless7 9 ай бұрын
you cant script then
@BlockyUserMan
@BlockyUserMan Жыл бұрын
and i love your videos
@hampuhunter_offical
@hampuhunter_offical Жыл бұрын
Pls answer me! HI i watched ur viewmodel tutorial and i am making a hunting game how do i make animations for it? Btw i need the gun in the animation
@BlockyUserMan
@BlockyUserMan Жыл бұрын
thank you
@findrandomshithere
@findrandomshithere Жыл бұрын
Quick question, Why not Character:SetPrimaryPartCFrame(cframe)?
@B0unty0
@B0unty0 10 ай бұрын
because :MoveTo() is faster, you can also do Hit.Parent.HumanoidRootPart.Position = vector3.new(0,0,0)
@icebergman2008
@icebergman2008 10 ай бұрын
​@@B0unty0What do you mean by faster? I don't see a difference between SetPrimaryPartCFrame(cframe) and :MoveTo() really, do you mean the amount of time it takes to the player to teleport or what?
@Voicelezz
@Voicelezz 10 ай бұрын
How do you find coords in studio? like I know how to teleport people now but how do I find the coords that I need to teleport them to?
@icebergman2008
@icebergman2008 10 ай бұрын
Place any part where you want the players to teleport to, go to the properties of the part and copy the coordinates of the part origin, you can delete the part later if needed
@Vickxss
@Vickxss 9 ай бұрын
can u help me scripting how to teleport players if u toutch a part? because mine didn't works...
@noobtrollinvietnam
@noobtrollinvietnam 9 ай бұрын
TYSM I NEED IT
@Giyu123
@Giyu123 9 ай бұрын
Thank you
@zeezaa
@zeezaa 2 ай бұрын
for some reason the game wasn't able to get Player.Character with any other code but this works... 5/5 tutorial i guess xd
@Eden03012
@Eden03012 9 ай бұрын
How do you find coords in roblox studio?
@ThatBannanaGuy69420
@ThatBannanaGuy69420 Ай бұрын
To find coords in roblox studio do this: Insert a part on where u want the player to be teleported Add a script to the part then write this Local part = script.Parent Print(part.Position) Run the game and in the output it will show u the position of the part Copy the position and add it to the local script in the video Ur welcome;)
@kecoatumis
@kecoatumis 22 күн бұрын
Thank you so much 🫶​@@ThatBannanaGuy69420
@FAZEKIAY
@FAZEKIAY Жыл бұрын
Hello Bro can you make a gas if you go to a gas you will like -10 - 10 but if you go with mask tool it will be good pls?
@Stevealot
@Stevealot 9 ай бұрын
TYSM
@Sub2Neo5380
@Sub2Neo5380 3 ай бұрын
bruh, got into the wrong vid, i dont wanted some where INSIDE the game, i was meant to go to some where OUTSIDE the game 🤣😂😂😂😂😂😂
@SuryaGulimi
@SuryaGulimi Жыл бұрын
dude i am a 12 year old and i love ur videos pls send more videos i really want to be like pro developer like u
@findrandomshithere
@findrandomshithere Жыл бұрын
if want to be pro dev don't follow tutorials unless ur stuck on something, even then try to use the tutorial as a guide as much as possible
@LennyFace987
@LennyFace987 11 ай бұрын
It gave a bug on the first part of your video: Workspace.Ignore:5: attempt to index nil with 'Character' and i am going insane over it
@Rain-me8ms
@Rain-me8ms 2 ай бұрын
Same!
@iropthegamer726
@iropthegamer726 9 ай бұрын
this doesn't work you can't put LocalPlayer after Players
@Jxhsxn
@Jxhsxn 5 ай бұрын
you can but not in a server sided script
@iropthegamer726
@iropthegamer726 5 ай бұрын
@@Jxhsxn yeah pretty sure that's what I meant
@jaivierbirring9757
@jaivierbirring9757 3 ай бұрын
A local script runs off the client meaning, it can easily get the player instance however the server needs a remote event to get that same player instance. Use a local script in starter gui.
@iropthegamer726
@iropthegamer726 3 ай бұрын
@@jaivierbirring9757 k
@am10395
@am10395 4 ай бұрын
Free script Workspace add part: script.Parent.Touched:Connect(function(Hit) if Hit and Hit.Parent:WaitForChild("Humanoid") then local Player = game.Player:GetPlayerFromCharacter(Hit.Parent Player ) Player.Character:MoveTo(Vector3).new(0,0,0)) end end) StarterGui add localplayer: local Player = game.Player.LocalPlayer.Character Player:MoveTo(Vector3).new(0,0,0))
How To Make A Door With Physics In Roblox Studio
2:45
Pluto
Рет қаралды 22 М.
Adding An ENDING To My WEIRDEST Roblox Horror Game
20:42
Pluto
Рет қаралды 106 М.
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3 МЛН
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 14 МЛН
How To Make A REALISTIC Roblox Horror Game
20:19
Pluto
Рет қаралды 516 М.
Every Strongest Battlegrounds Stereotype Explained in 12 Minutes
12:05
Making a Roblox Horror Game in 1 HOUR!
4:12
BrueMC
Рет қаралды 23 М.
How to teleport players in Roblox Studio!
14:22
RKGAM3ZS
Рет қаралды 1,3 М.
I Tried Illegal Minecraft Mods
20:15
Kratzy
Рет қаралды 2,7 МЛН
Best BEGINNER GUIDE to Scripting your FIRST Roblox Game!
19:10
Making The SMALLEST Game on Roblox
15:46
Pluto
Рет қаралды 1 МЛН