---
title: "Cube dimension | Universal Roblox Script - ScriptBlox"
description: "Cube dimension for any Roblox game: How did we get here?"
canonical_url: "https://scriptblox.com/script/Universal-Script-Cube-dimension-107047"
meta:
  "og:description": "Cube dimension for any Roblox game: How did we get here?"
  "og:image": "https://scriptblox.com/images/script/0-1770435682373.png"
  "og:title": "Cube dimension | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Cube dimension for any Roblox game: How did we get here?"
  "twitter:image": "https://scriptblox.com/images/script/0-1770435682373.png"
  "twitter:title": "Cube dimension | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1770435682373.png)

# **Cube dimension**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![Yzn\_lol](https://scriptblox.com/images/photo/695924852b83ce87e901694e-1768451033074.png) [Yzn\_lol](https://scriptblox.com/u/Yzn_lol)10K executions**

10 months ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

How did we get here?

## **Updates **

1. Feb 7, 2026

   ****Script edited:**** Update script
2. Feb 7, 2026

   ****Script edited:**** Update script
3. Feb 7, 2026

   ****Script edited:**** Update script
4. Feb 7, 2026

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-Cube-dimension-107047)

```
--// SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

---------------------------------------------------
-- SETTINGS
---------------------------------------------------
local DIMENSION_POSITION = Vector3.new(0, 0, 50000)
local portal
local returnPortal
local originalPosition
local inCubeDimension = false
local cubeSize = 30
local rotationSpeed = 0.001

-- folder for player-built cubes
local buildFolder = workspace:FindFirstChild("PlayerCubes") or Instance.new("Folder")
buildFolder.Name = "PlayerCubes"
buildFolder.Parent = workspace

---------------------------------------------------
-- GUI
---------------------------------------------------
local gui = Instance.new("ScreenGui")
gui.ResetOnSpawn = false
gui.Parent = player.PlayerGui

local messageLabel = Instance.new("TextLabel")
messageLabel.Size = UDim2.fromOffset(600,50)
messageLabel.Position = UDim2.fromScale(0.5,0.9)
messageLabel.AnchorPoint = Vector2.new(0.5,0.5)
messageLabel.TextScaled = true
messageLabel.BackgroundTransparency = 1
messageLabel.TextColor3 = Color3.new(1,0,0)
messageLabel.Text = ""
messageLabel.Parent = gui

-- PORTAL BUTTON


```

## **Comments **

**1**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Cube-dimension-107047)

![jwlkwgm's profile picture](https://scriptblox.com/images/photo/6a780899b19fe63f644234ce-1786251512506.jpg)

[**jwlkwgm**](https://scriptblox.com/u/jwlkwgm)Lv 52 months ago

Cool

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047#script","url":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047","name":"Cube dimension","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Yzn_lol","url":"https://scriptblox.com/u/Yzn_lol"},"datePublished":"2026-02-07T03:41:22.388Z","image":"https://scriptblox.com/images/script/0-1770435682373.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047#webpage","@type":"WebPage","description":"Cube dimension for any Roblox game: How did we get here?","name":"Cube dimension | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Cube-dimension-107047"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Cube-dimension-107047#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Cube dimension","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
