UniqueID - Module that allows you to store your bools, instances, and value in a table, having its own, unique id
Purposes:
- Recive Instances from any script, without allocating them by using locals or globals.
- User can’t return ID’s table without including uID, So in theory can not be recived by exploiters.
Example:
UNQ ID.rbxl (63.0 KB)
Click Here to download module
Functions/Indexes:
ReciveUNQTable(UnqID:string)
ReciveUID(ItemName:string)
GenUID(InstanceValue, UID:String)
Uses Gooncreeper’s BASE64 Encoding module.
UniqueID Module Documentation
Requiring Module:
local UNQID = require(PATHTOMODULE)
Creating Shared globals:
UNQID.GenUID(ToShare, UID:String)
local ExampleBool = UNQID.GenUID(true, "BooleanTestTrue") -- Example Boolean
local ExampleString = UNQID.GenUID("Test UNQID STRING", "StringTextTest") -- Example Text
local ExampleInstance = UNQID.GenUID(workspace["UNQ TESTING"].Part, "InstanceTest") -- Example Instance
Recieving UIDS in order to Recive Info Table:
local BoolTest = UNQID.ReciveUID("BooleanTestTrue")
local StringTest = UNQID.ReciveUID("StringTextTest")
local InstanceTest = UNQID.ReciveUID("InstanceTest")
Printing Out: MAKE SURE YOU ARE TRYING TO RECIEVE THEM AFTER YOU GENERATED THEM, OTHERWISE IT WILL RETURN nil
print(UNQID.ReciveUNQTable(BoolTest).ItemObject)
print(UNQID.ReciveUNQTable(StringTest).ItemObject)
print(UNQID.ReciveUNQTable(InstanceTest).ItemObject)
(useless module)