Basic Functions
Key Required VerifiedUniversal

Basic Functions

Universal Scriptvxstyvxsty 91.8K views 70 executesUpdated Apr 30, 2024
0.9/ 5(22 votes)
41818% Positive
Lua Script•25 lines (701 chars)
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

Features & Information

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

Community Comments (7)

shenzeuliyleshenzeuliyleApr 30, 2024(edited)

this is actually good

nopeguynotnopeguynotMay 9, 2024(edited)

wdym what is it for??

vxstyvxstyMay 9, 2024(edited)

@nopeguynot For some scripts that use getcallingscript or debug.getinfo, This is for solara and incognito.

XiamoiXiamoiMay 12, 2024(edited)

Solora 😳

vxstyvxstyMay 12, 2024(edited)

@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

FierceFierceJun 17, 2024(edited)

@vxsty been using it every day haven't even got a warning

vxstyvxstyJun 17, 2024(edited)

@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.

More Scripts for Universal Scripts