For all support questions, ask in our Discord support chat. Do not create issues on GitHub if you need help. Issues are for bug reporting and new features only.
- Download ZIP
- Drag and drop resource into your server files
- Start resource through server.cfg
- Restart your server.
- Check exports below.
- Each interface lua has all the details you need.
Start a Number Maze game with a callback for success or failure.
exports['ps-ui']:Maze(function(success)
if success then
print("success")
else
print("fail")
end
end, timeLimit) -- Hack Time Limit in seconds
![Number Maze](https://private-user-images.githubusercontent.com/82112471/361937419-c75772bf-a4c9-4b0e-9678-a916bcdb5f3a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5Mzc0MTktYzc1NzcyYmYtYTRjOS00YjBlLTk2NzgtYTkxNmJjZGI1ZjNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwMDQyZGRjYmYxNWZkMjYxNWEwOGQxZDRiYTFhNGMxZTIwMTk3NGU4NTQzZmJlZTMzZjA2NDQxNmNiNGM3MWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-IMgI7f7lLgT4MleqLFRXm0vto7QAGHc9bLK9JMfTV4)
Display a notification with text, type, and duration.
exports['ps-ui']:Notify('Your message', 'notification-type', duration)
![Number Maze](https://private-user-images.githubusercontent.com/82112471/361937906-e8bfeb42-0459-4630-88db-938a83f14db9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5Mzc5MDYtZThiZmViNDItMDQ1OS00NjMwLTg4ZGItOTM4YTgzZjE0ZGI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlYTg3NzlkNDQ1NDZiMjU4MGI4NjM4OTI2ZmI1MDYzOGJmNzZhN2U3NDdkNGRmNDZiNTAyMDhhZTgwNDk1YmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.l6FQzdqVvDWjVVT7xo99lzKrfGz-kCj8hlrwLa0k3JU)
Start a Circle game with a callback for success or failure.
exports['ps-ui']:Circle(function(success)
if success then
print("success")
else
print("fail")
end
end, numCircles, time) -- Number of Circles, Time in milliseconds
![Number Maze](https://private-user-images.githubusercontent.com/82112471/361937984-a22280ce-d0d8-4b52-b24e-84e27dfac65e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5Mzc5ODQtYTIyMjgwY2UtZDBkOC00YjUyLWIyNGUtODRlMjdkZmFjNjVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzZWE4NTA2MGU4OWU4NDlkNWU4YTIxODY1Yjk0MWFiOGMyNTI1MDhhNWUwYjMwZTY5YjZlNGYwNzlmZjQwNTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bDY2Z9dmGazFrZj2snhtcx0_SfKz0zN2cMqWGr3e0gg)
Start a Scrambler game with a callback for success or failure.
exports['ps-ui']:Scrambler(function(success)
if success then
print("success")
else
print("fail")
end
end, type, time, mirrored) -- Type options: alphabet, numeric, alphanumeric, greek, braille, runes; Time in seconds; Mirrored options: 0, 1, 2
![Scrambler](https://private-user-images.githubusercontent.com/82112471/361938055-b667785f-3901-46bd-883b-6de8473175c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5MzgwNTUtYjY2Nzc4NWYtMzkwMS00NmJkLTg4M2ItNmRlODQ3MzE3NWM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM4YzZkOTU4MGYwMzhkYTZjZGEzMmYyMjk2ODZjMDg4MzliNTk0ZDYxNzI3MWUxM2I2NmQ3NTc4ZDVjYjJlMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D85CLILU42WHcmspa8mYhmQQB8HnCjeP7j96iZ28iuY)
Start a VAR Hack game with a callback for success or failure.
exports['ps-ui']:VarHack(function(success)
if success then
print("success")
else
print("fail")
end
end, numBlocks, time) -- Number of Blocks, Time in seconds
![Var](https://private-user-images.githubusercontent.com/82112471/361938140-5f914e19-28cf-44f0-a675-24551c564259.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5MzgxNDAtNWY5MTRlMTktMjhjZi00NGYwLWE2NzUtMjQ1NTFjNTY0MjU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwYjUxZjlkZGQzOTEyZDQwNzY5ZDYzMmIwYzM3ZTI4YzUwNDliYmQ5YWEzMjRjZGRlMTI2MzAxODdjM2QzZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HVxFPJG1DraXaLSUdltIoUBFJnryVCY_nBvj6MWqphk)
Start a Thermite game with a callback for success or failure.
exports['ps-ui']:Thermite(function(success)
if success then
print("success")
else
print("fail")
end
end, time, gridSize, incorrectBlocks) -- Time in seconds, Grid Size (5-10), Incorrect Blocks
![Thermite](https://private-user-images.githubusercontent.com/82112471/361938195-57ab24fc-fd64-4286-9f0e-b7b4685bd45b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5MzgxOTUtNTdhYjI0ZmMtZmQ2NC00Mjg2LTlmMGUtYjdiNDY4NWJkNDViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkZGY1Y2MyZThmMThhYmU1NzFhZDlmYjE0ZThlNDEyZWI3Y2FjMWY2OWVhYWRiZTRhYWM2NmRmZTFiZGEwYzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Vx_9UQOfKriymIUp4CXA-9kzyOHrN0-xY2K_RewCxc4)
Create a menu with submenus and events.
exports['ps-ui']:CreateMenu({
{
id = "examplemenu", -- has to be unique
header = "Menu Header",
text = "Menu Text",
icon = "icon-class",
color = "color",
event = "event-name",
args = {arg1, arg2},
server = false,
subMenu = {
{
id = "examplesubmenu", -- has to be unique
header = 'Submenu Header',
icon = 'icon-class',
color = 'color',
event = "event-name",
args = {arg1, arg2},
},
},
},
})
Hide the currently displayed menu
exports['ps-ui']:HideMenu()
![Context Menu](https://private-user-images.githubusercontent.com/82112471/361938261-a0c09553-599b-4a1a-bdf2-cc5216c2f06b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5MzgyNjEtYTBjMDk1NTMtNTk5Yi00YTFhLWJkZjItY2M1MjE2YzJmMDZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2ZmMwNDAzZjY3ZDdjYmNmM2NlZDdiMThlMWZiMTg4OTA4ODhhODBlNjU2YWUzMWI1NDk3MWQ3MDZiNGU3ZWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lb0Uh7zwtURFbfrlV7kG1Uan19ElyxP7_sxPST3jdNI)
exports['ps-ui']:StatusShow("Title", "Description", "icon",
{
{key = "Key1", value = "Value1"},
{key = "Key2", value = "Value2"},
{key = "Key3", value = "Value3"}
})
![Status](https://private-user-images.githubusercontent.com/82112471/361938338-12cd55f8-33e9-4f5f-975d-66a4881ce7fd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5MzgzMzgtMTJjZDU1ZjgtMzNlOS00ZjVmLTk3NWQtNjZhNDg4MWNlN2ZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4NjcxMDBlZDc0ZjgzOTYzZTE5NzVkZjgwZGU2NWM2ZjYxOTc3M2ViOWM0ZDM0ODgzZjhlMzM5Y2I5NDhlZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Y-IBH8n1cKVKpvkRYbXMoOpTpkYByueYD8TFchSFAXQ)
Display text with a specified color
exports['ps-ui']:DisplayText("Your text", "color")
Hide the currently displayed text
exports['ps-ui']:HideText()
![Show Text](https://private-user-images.githubusercontent.com/82112471/361938811-64690b39-3d86-4056-96ec-0e325b545575.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5Mzg4MTEtNjQ2OTBiMzktM2Q4Ni00MDU2LTk2ZWMtMGUzMjViNTQ1NTc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEwZjUwZTkxNDcyZjRiZGVmMGFlNjE1NmZlMmQ4ZjIzMDUwYjcwZjNiMTg5ZTI3ODcyOTdiYjIyNzcwNGJiN2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yn_eEnNJQqcIcZJajNZvljDm7qyRRAJypYKGsOnTuPU)
Display an input form and print the input values.
local input = exports['ps-ui']:Input({
{
id = '1',
label = 'Label',
type = "input-type",
icon = "icon-class"
},
-- Add more inputs as needed
})
for k, v in pairs(input) do
print(k, v.id, v.value)
end
![Input](https://private-user-images.githubusercontent.com/82112471/361938514-c0dce6ca-c025-4c19-99b2-7ad137e61273.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5Mzg1MTQtYzBkY2U2Y2EtYzAyNS00YzE5LTk5YjItN2FkMTM3ZTYxMjczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwM2Y4ZGEzZmYxYWU4Y2U2ZWQ1ZmEzNmFjN2NmYjY1MDViMTQ2YWY4YzE2MDFmMmM3OWM1ZTFkNmFiNzAzZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._fvDp8p5rQnQfybcTGH4VyRDVpNfb4tLFXQqWj7xTsk)
Displays an image from a URL.
exports['ps-ui']:ShowImage("imageURL")
![Show Image](https://private-user-images.githubusercontent.com/82112471/361938598-646d2f48-3e36-414c-8cd4-3323832c30f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTUxMTAsIm5iZiI6MTcyNTY1NDgxMCwicGF0aCI6Ii84MjExMjQ3MS8zNjE5Mzg1OTgtNjQ2ZDJmNDgtM2UzNi00MTRjLThjZDQtMzMyMzgzMmMzMGYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIwMzMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMwZmNlOWViYWFmNWNkYzE3ZWYzMDAxNGUzZjhhZGEwMzVhNzdjODhlM2QyMjExMmJiZGNhNGU1MDU0OTk1NGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lKp0Zc5Kl2uSmsur9uH2496vC9BYaMo5cPOQ_3oHOss)
- complexza
- MonkeyWhisper
- Snipe
- Skeleton Networks
- Project Sloth Team