Iris Init Script
Loadstring
loadstring(game:HttpGet("https://api.irisapp.ca/Scripts/IrisInitScript.lua"))()
getlplayer
Player getlplayer()
Example
local Player = getlplayer()
Player.Character.ChildAdded:Connect(function(Item)
print(Item.Name)
end)
writetable
void writetable(<string> FileName, <Table> Table)
Example
local TestTable = {
["Index1"] = true,
}
writetable("TestTable.lua", TestTable)
appendfile
void appendfile(<string> FileName, <string> DataToWrite)
Example
appendfile("Data.lua", "Important Data.")
notify
void notify(<string> Title, <string> Text)
Example
notify("Hello!", "Notification sent!")
strreplace
string strreplace(<string> BaseString, <string> Pattern, <string> ReplaceWith)
Example
local NewString = strreplace("Cool String abc Yeet", "String", "not a string")
tpto
void tpto(<Object> Object)
Example
tpto(workspace.Part)
randomstring
string randomstring(<int> RandomStringLength)
Example
local Random = randomstring(50)
getpos
Vector getpos()
Example
local Position = getpos()
isfile
bool isfile(<string> FileName)
Example
local FileLocated = isfile("Data.lua")
if not FileLocated then
writefile("Data.lua", "")
end
executetime
string executetime(<string> ScriptToRun, bool AutoWarn)
Example
executetime("print('true')", true)
irisgetproperties
Table irisgetproperties(<Object> Object)
Example
local ItemProperties = irisgetproperties(workspace)
table.foreach(ItemProperties, warn)
isproperty
bool isproperty(<Object> Object, <string> Property)
Example
print(isproperty("workspace", "Gravity"))
irisencrypt
string irisencrypt(<string> TextToEncrypt, <int> Key)
Example
local Data = irisencrypt("ImportantInformatio", 235423)
print(Data)
irisdecrypt
string irisdecrypt(<string> TextToDecrypt, <int> Key)
Example
local EncryptedData = irisencrypt("ImportantInformatio", 235423)
local Data = irisdecrypt(EncryptedData, 235423)
print(Data)
irisdebug
void irisdebug(<string> DebugText, <bool> AppendToFile)
Example
irisdebug("Stepped over function.", true)
tweento
void tweento(<Vector3> Position, <int> Speed)
Example
tweento(workspace.Part.Position, 300)
rejoin
void rejoin()
Example
rejoin()
crash
void crash()
Example
crash()
printtable
void printtable(<Table> GivenTable)
Example
local CoolTable = {
["Yeet"] = true,
}
printtable(CoolTable)