Ok, so I have made a script that you must copy and paste into the part and rename the entrance/exit part and the other entrance/exit part.
This might sound confusing but you will find out what I am saying after reading this....
Here is one of the scripts that needs to go into the original entrance part you will also need to rename the same part to "Door1"
1 | script.Parent.Touched:connect( function (t) |
2 | if t.Parent.Humanoid ~ = nil then |
4 | t.Parent.Torso.CFrame = script.Parent.Parent.Door 2. CFrame |
So here I have a script that teleports the player to another part called "Door2" and thats pretty much it, there isnt really anything else to say.
This script needs to be placed in the part that is going to be the exit of the first part aka "Door1".
1 | script.Parent.Touched:connect( function (t) |
2 | if t.Parent.Humanoid ~ = nil then |
4 | t.Parent.Torso.CFrame = script.Parent.Parent.Door 1. CFrame |
Basically this script is a return script to Door1, all that is changed is on line 4 from.
this
1 | t.Parent.Torso.CFrame = script.Parent.Parent.Door 2. CFrame |
to this.
1 | t.Parent.Torso.CFrame = script.Parent.Parent.Door 1. CFrame |
You will also need to rename the part to Door2 and you will be pretty much finished
With saying all that if you have problems with the entrance of the player you might want to change the part's properties to cancolide false.... other than that you should be fine..
If this helped you in any way... please accept this question.