---
title: "Basic Functions | Universal Roblox Script - ScriptBlox"
description: "Basic Functions for any Roblox game: Adds 2 missing functions from level 2 / 3 executors (debug.getinfo, getcallingscript) This is super basic."
canonical_url: "https://scriptblox.com/script/Universal-Script-Basic-Functions-12707"
meta:
  "og:description": "Basic Functions for any Roblox game: Adds 2 missing functions from level 2 / 3 executors (debug.getinfo, getcallingscript) This is super basic."
  "og:image": "https://scriptblox.com/images/script/8530460-1714485662839.webp"
  "og:title": "Basic Functions | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Basic Functions for any Roblox game: Adds 2 missing functions from level 2 / 3 executors (debug.getinfo, getcallingscript) This is super basic."
  "twitter:image": "https://scriptblox.com/images/script/8530460-1714485662839.webp"
  "twitter:title": "Basic Functions | 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/8530460-1714485662839.webp)

# ![Script Verified](https://scriptblox.com/_ipx/_/images/verified.webp)** Basic Functions**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![vxsty](https://scriptblox.com/images/photo/64cb81f82512701e9a163c00-1699804719964.gif) [vxsty](https://scriptblox.com/u/vxsty) ![Verified Badge](https://scriptblox.com/_ipx/_/images/verified.webp)OGLv 19 [Hall of Fame](https://scriptblox.com/trending?period=all&board=creators&metric=views)10M views**

3 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

Adds 2 missing functions from level 2 / 3 executors (debug.getinfo, getcallingscript) This is super basic.

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Universal-Script-Basic-Functions-12707)

```
local dbg = {}
function getcallingscript()
local s = debug.info(1, 's')
for i, v in next, game:GetDescendants() do
  if v:GetFullName() == s then return v end
end
return nil
end
function dbg.getinfo(thread)
local CurrentLine = tonumber(debug.info(thread, 'l'))
local Source = debug.info(thread, 's')
local name = debug.info(thread, 'n')
local numparams, isvrg = debug.info(thread, 'a')
if #name == 0 then name = nil end
local a, b = debug.info(thread, 'a')
return {
  ['currentline'] = CurrentLine,
  ['Source'] = Source,
  ['name'] = tostring(name),
  ['numparams'] = tonumber(numparams),
  ['is_vararg'] = isvrg and 1 or 0,
  ['short_src'] = tostring(Source:sub(1, 60))
  }
end
return dbg


```

## **Comments **

**7**

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

![vxsty's profile picture](https://scriptblox.com/images/photo/64cb81f82512701e9a163c00-1699804719964.gif)

[**vxsty**](https://scriptblox.com/u/vxsty)OG

OG

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

Lv 19 [Hall of Fame](https://scriptblox.com/trending?period=all&board=creators&metric=views)**Uploader**3 years ago(edited)

[@Fierce](https://scriptblox.com/u/Fierce) Same here, Got banned one day for using solara i think? I don't remember but i've been using it for 2 weeks and everything is fine.

2

![Fierce's profile picture](https://scriptblox.com/images/photo/622b1d953010b1ecb7ec700e-1723613238835.png)

[**Fierce**](https://scriptblox.com/u/Fierce)Lv 83 years ago(edited)

[@vxsty](https://scriptblox.com/u/vxsty) been using it every day haven't even got a warning

1

![vxsty's profile picture](https://scriptblox.com/images/photo/64cb81f82512701e9a163c00-1699804719964.gif)

[**vxsty**](https://scriptblox.com/u/vxsty)OG

OG

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

Lv 19 [Hall of Fame](https://scriptblox.com/trending?period=all&board=creators&metric=views)**Uploader**3 years ago(edited)

[@Xiamoi](https://scriptblox.com/u/Xiamoi) Don't use it, it got me banned. But if you wanna exploit and don't care about a 1 day ban use it

1

![Xiamoi's profile picture](https://scriptblox.com/images/photo/663bdfd54d8171671b024bab-1715200391441.png)

[**Xiamoi**](https://scriptblox.com/u/Xiamoi)3 years ago(edited)

Solora 😳

1

![vxsty's profile picture](https://scriptblox.com/images/photo/64cb81f82512701e9a163c00-1699804719964.gif)

[**vxsty**](https://scriptblox.com/u/vxsty)OG

OG

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

Lv 19 [Hall of Fame](https://scriptblox.com/trending?period=all&board=creators&metric=views)**Uploader**3 years ago(edited)

[@nopeguynot](https://scriptblox.com/u/nopeguynot) For some scripts that use getcallingscript or debug.getinfo, This is for solara and incognito.

1

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

[**nopeguynot**](https://scriptblox.com/u/nopeguynot)3 years ago(edited)

wdym what is it for??

1

![shenzeuliyle's profile picture](https://scriptblox.com/images/photo/66312bf197010bfcb230d6e2-1719227128762.jpg)

[**shenzeuliyle**](https://scriptblox.com/u/shenzeuliyle)3 years ago(edited)

this is actually good

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Basic-Functions-12707#script","url":"https://scriptblox.com/script/Universal-Script-Basic-Functions-12707","name":"Basic Functions","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"vxsty","url":"https://scriptblox.com/u/vxsty"},"datePublished":"2024-04-30T14:01:02.879Z","image":"https://scriptblox.com/images/script/8530460-1714485662839.webp","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-Basic-Functions-12707#webpage","@type":"WebPage","description":"Basic Functions for any Roblox game: Adds 2 missing functions from level 2 / 3 executors (debug.getinfo, getcallingscript) This is super basic.","name":"Basic Functions | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Basic-Functions-12707","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Basic-Functions-12707#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Basic-Functions-12707#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Basic-Functions-12707"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Basic-Functions-12707#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":"Basic Functions","position":3}]}]}
```

## Sitemap

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