Im making a hospital game and instead of making a huge hospital i decided i wanted to do a low poly hospital build and i want a teleport to the inside of the hospital sort of like meepcity. Do you know how to make a door teleport so that i can make the hospital faster?
local door = game.Workspace.Door local TELEPORT_PART = game.Workspace.TeleportPart door.Touched:Connect(function(hit) if game.Players:GetPlayerFromCharacter(hit.Parent) then hit.Parent.HumanoidRootPart.CFrame = CFrame.new(TELEPORT_PART.Position) end end)
This should do what you need it to do if you fill in your own information.
Thank you so much for your response! I just needed the script for it because the videos are a million times more annoying to understand. Well, for me it is
That’s quite a good way of doing it, but adding the teleport part isn’t necessary, he could just add a certain position and not even create that variable.
Make sure to ask questions to understand how it works! Be sure to mark the solution so readers know it’s fixed!
A part is easy because you can visualize it and move the part where you want it without directly editing the script.