---
title: "String Dumper | Universal Roblox Script - ScriptBlox"
description: "String Dumper for any Roblox game: constant dumper"
canonical_url: "https://scriptblox.com/script/Universal-Script-String-Dumper-42870"
meta:
  "og:description": "String Dumper for any Roblox game: constant dumper"
  "og:image": "https://scriptblox.com/images/script/0-1750411853012.png"
  "og:title": "String Dumper | Universal Roblox Script - ScriptBlox"
  "twitter:description": "String Dumper for any Roblox game: constant dumper"
  "twitter:image": "https://scriptblox.com/images/script/0-1750411853012.png"
  "twitter:title": "String Dumper | 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-1750411853012.png)

# **String Dumper**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![exploitingrobloxian](https://scriptblox.com/images/photo/6832672134b8aa44421efab8-1751506484755.png) [exploitingrobloxian](https://scriptblox.com/u/exploitingrobloxian)Published 25**

2 years 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

constant dumper

[View Raw](https://scriptblox.com/raw/Universal-Script-String-Dumper-42870)

```
local mt = getrawmetatable(game)
setreadonly(mt, false)

local oldNewIndex = mt.__newindex
local logged = {}
local fileName = "StringDump_" .. tostring(math.random(1, 99999999)) .. ".txt"

if not isfile(fileName) then
	writefile(fileName, "")
end

mt.__newindex = function(t, k, v)
	if typeof(v) == "string" then
		local key = tostring(t).."_"..tostring(k).."_"..v
		if not logged[key] then
			logged[key] = true
			local line = "[StringDump] "..tostring(t).."["..tostring(k).."] = \""..v.."\"\n"
			appendfile(fileName, line)
			warn(line)
		end
	end
	return oldNewIndex(t, k, v)
end


```

## **Comments **

**4**

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

![exploitingrobloxian's profile picture](https://scriptblox.com/images/photo/6832672134b8aa44421efab8-1751506484755.png)

[**exploitingrobloxian**](https://scriptblox.com/u/exploitingrobloxian)**Uploader**1 year ago

[@depso](https://scriptblox.com/u/depso) I can confirm it works on moonsec atleast

1

![gloves\*'s profile picture](https://scriptblox.com/images/user-default.webp)

[**gloves\***](https://scriptblox.com/u/gloves*)2 years ago

add me on discord [@goldenreal](https://scriptblox.com/u/goldenreal) I have a request for a script.

1

![Malfume's profile picture](https://scriptblox.com/images/photo/64cca3d68e7069e1316ffbfd-1775463361200.png)

[**Malfume**](https://scriptblox.com/u/Malfume)Verified

![Verified Badge](https://scriptblox.com/_ipx/_/images/verified.webp)

Lv 92 years ago

not that good

1

![depso's profile picture](https://scriptblox.com/images/photo/682d7e6cb9ed364b3a0bda05-1775164584479.jpg)

[**depso**](https://scriptblox.com/u/depso)Admin

![Admin Badge](https://scriptblox.com/_ipx/_/images/admin.webp)

![Keyless Script Creator Badge](https://scriptblox.com/_ipx/_/images/keyless.webp)

![Verified Badge](https://scriptblox.com/_ipx/_/images/verified.webp)

Lv 102 years ago

You can detect this with a \_\_tostring metatable function

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-String-Dumper-42870#script","url":"https://scriptblox.com/script/Universal-Script-String-Dumper-42870","name":"String Dumper","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"exploitingrobloxian","url":"https://scriptblox.com/u/exploitingrobloxian"},"datePublished":"2025-06-20T09:30:53.064Z","image":"https://scriptblox.com/images/script/0-1750411853012.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-String-Dumper-42870#webpage","@type":"WebPage","description":"String Dumper for any Roblox game: constant dumper","name":"String Dumper | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-String-Dumper-42870","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-String-Dumper-42870#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-String-Dumper-42870#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-String-Dumper-42870"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-String-Dumper-42870#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":"String Dumper","position":3}]}]}
```

## Sitemap

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