Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
player = Players.LocalPlayer
DIMENSION_POSITION = .(, , )
portal
returnPortal
originalPosition
inCubeDimension =
cubeSize =
rotationSpeed =
buildFolder = :() .()
buildFolder.Name =
buildFolder.Parent =
gui = .()
gui.ResetOnSpawn =
gui.Parent = player.PlayerGui
messageLabel = .()
messageLabel.Size = .(,)
messageLabel.Position = .(,)
messageLabel.AnchorPoint = .(,)
messageLabel.TextScaled =
messageLabel.BackgroundTransparency =
messageLabel.TextColor3 = .(,,)
messageLabel.Text =
messageLabel.Parent = gui
portalButton = .()
portalButton.Size = .(,)
portalButton.Position = .(,)
portalButton.Text =
portalButton.TextScaled =
portalButton.BackgroundColor3 = .(,,)
portalButton.TextColor3 = .(,,)
portalButton.Draggable =
portalButton.Parent = gui
portalWorld = .()
portalWorld.Name =
portalWorld.Parent =
roomSize =
(size, pos)
wall = .()
wall.Size = size
wall.Anchored =
wall.CanCollide =
wall.Material = .Material.SmoothPlastic
wall.Color = .(,,)
wall.Position = pos
wall.Parent = portalWorld
(.(roomSize,,roomSize), DIMENSION_POSITION + .(,-,))
(.(roomSize,,roomSize), DIMENSION_POSITION + .(,roomSize/,))
(.(,roomSize,roomSize), DIMENSION_POSITION + .(-roomSize/,roomSize/,))
(.(,roomSize,roomSize), DIMENSION_POSITION + .(roomSize/,roomSize/,))
(.(roomSize,roomSize,), DIMENSION_POSITION + .(,roomSize/,-roomSize/))
(.(roomSize,roomSize,), DIMENSION_POSITION + .(,roomSize/,roomSize/))
returnPortal = .()
returnPortal.Size = .(,,)
returnPortal.Material = .Material.Neon
returnPortal.Color = .(,,)
returnPortal.Anchored =
returnPortal.CanCollide =
returnPortal.Position = DIMENSION_POSITION + .(,,-)
returnPortal.Parent = portalWorld
bigCube = .()
bigCube.Size = .(cubeSize*, cubeSize*, cubeSize*)
bigCube.Material = .Material.Neon
bigCube.Anchored =
bigCube.Position = DIMENSION_POSITION + .(,,)
bigCube.Parent = portalWorld
.(()
hue =
bigCube.Parent
hue = (hue + ) %
bigCube.Color = .(hue,,)
RunService.RenderStepped:()
)
orbitRadius =
smallCubeSize = cubeSize/
i = ,
smallCube = .()
smallCube.Size = .(smallCubeSize, smallCubeSize, smallCubeSize)
smallCube.Material = .Material.Neon
smallCube.Anchored =
smallCube.Color = .(.(),,)
smallCube.Parent = portalWorld
angleOffset = (*.pi/) * ((i-)%)
tilt = (i <= ) .(.(),,) .(.(-),,)
.(()
smallCube.Parent
t = ()
angle = t + angleOffset
localPos = .(.(angle)*orbitRadius,,.(angle)*orbitRadius)
smallCube.CFrame = .(bigCube.Position) * tilt * .(localPos) * .(t*rotationSpeed, t*rotationSpeed, t*rotationSpeed)
RunService.RenderStepped:()
)
i = ,
cube = .()
cube.Size = .(cubeSize,cubeSize,cubeSize)
cube.Material = .Material.Neon
cube.Anchored =
cube.Color = .(.(),,)
cube.Parent = portalWorld
pos
pos = DIMENSION_POSITION + .(
.(-,),
.(,),
.(-,)
)
(pos - returnPortal.Position).Magnitude > (pos - bigCube.Position).Magnitude >
rot =
phase = .()*.pi*
.(()
cube.Parent
t = ()
floatY = .(t*+phase)*
rot += rotationSpeed
cube.CFrame = .(pos.X,pos.Y+floatY,pos.Z) * .(rot,rot,rot)
RunService.RenderStepped:()
)
()
inCubeDimension
char = player.Character player.CharacterAdded:()
hrp = char:()
portal portal:()
originalPosition = hrp.Position
portal = .()
portal.Size = .(,,)
portal.Material = .Material.Neon
portal.Color = .(,,)
portal.Anchored =
portal.CanCollide =
portal.CFrame = hrp.CFrame * .(,,-)
portal.Parent =
portal.Touched:((hit)
hit.Parent:()
messageLabel.Text =
hrp.CFrame = .(DIMENSION_POSITION + .(,,))
inCubeDimension =
portal:()
portal =
)
portalButton.MouseButton1Click:(createPortal)
RunService.Heartbeat:(()
char = player.Character
char
hrp = char:()
hrp returnPortal (hrp.Position - returnPortal.Position).Magnitude < inCubeDimension
originalPosition
hrp.CFrame = .(originalPosition + .(,,))
inCubeDimension =
messageLabel.Text =
)
Players = :()
RunService = :()
UserInputService = :()
Workspace = :()
player = Players.LocalPlayer
camera = Workspace.CurrentCamera
buildFolder = Workspace:() .()
buildFolder.Name =
buildFolder.Parent = Workspace
()
_, v (player.Backpack:())
v.Name == v.Name ==
v:()
spawnTool = .()
spawnTool.Name =
spawnTool.RequiresHandle =
spawnTool.CanBeDropped =
spawnTool.Parent = player.Backpack
spawnTool.Activated:(()
char = player.Character
char
hrp = char:()
hrp
mouseLocation = UserInputService:()
mouseLocation = .(mouseLocation.X, mouseLocation.Y - )
unitRay = camera:(mouseLocation.X, mouseLocation.Y)
ray = Ray.(unitRay.Origin, unitRay.Direction * )
ignoreList = {char}
hit, pos = Workspace:(ray, ignoreList)
spawnPos
hit
spawnPos = pos + .(,,)
spawnPos = hrp.Position + hrp.CFrame.LookVector * + .(,,)
cube = .()
cube.Size = .(,,)
cube.Anchored =
cube.Material = .Material.Neon
cube.Color = .(.(),,)
cube.Position = spawnPos
cube.Parent = buildFolder
rot =
.(()
cube.Parent
rot +=
cube.CFrame = .(cube.Position) * .(rot,rot,rot)
.()
)
)
destroyTool = .()
destroyTool.Name =
destroyTool.RequiresHandle =
destroyTool.CanBeDropped =
destroyTool.Parent = player.Backpack
destroyTool.Activated:(()
char = player.Character
char
mouseLocation = UserInputService:()
mouseLocation = .(mouseLocation.X, mouseLocation.Y - )
unitRay = camera:(mouseLocation.X, mouseLocation.Y)
ray = Ray.(unitRay.Origin, unitRay.Direction * )
ignoreList = {char}
hitPart = Workspace:(ray, ignoreList)
hitPart hitPart.Parent == buildFolder
hitPart:()
)
()
player.CharacterAdded:(()
.()
()
)
player.CharacterAdded:((char)
inCubeDimension =
originalPosition =
portal
portal:()
portal =
pathLine
pathLine:()
pathLine =
)How did we get here?

Universal