I'm aware that it involves functions and such, but how would you script a universe to make it so when you touch a brick it'll teleport you to another game in your universe?
Use TeleportService.
I have a script for that, let me fetch it real quick.
1 | function onTouched(hit) |
2 | local player = game.Players:GetPlayerFromCharacter(hit.Parent) |
3 | if player then |
4 | game:GetService( "TeleportService" ):Teleport( 153466049 , player) -- Change 153466049 to the place you want the player to be teleported to. |
5 | end |
6 | end |
7 |
8 | script.Parent.Touched:connect(onTouched) |