How To Use
To Use UGK, You Must Put The Following Snippet Of Code Into The First Line Of A Server Script
repeat
wait
()until
game
.ServerStorage
:FindFirstChild
("UGK"
)local
UGK =require
(game
.ServerStorage
.UGK
)Config
You Can Find The Config Inside The "UGK" Object
The Ranks List Follows This Format:
| Name Of Rank | Rank Power (Max 1000) | Rank Details (Display, Color) | Users To Give The Rank (UserID) |
[
"Owner"
] = {1000
, {"👑 Owner"
,"#F7EF8A"
}, {12345
,6789
}};The Gamepass List Follows This Format:
| Gamepass Id | Rank Name |
[
12345
] ="Vip";
The Gamepass List Follows This Format:
| Group ID | Rank Value | Rank Name |
12345
] = {[
254
] ="Head Admin"
;[
1
] ="Fan"
;}
The Banned List Is Just A List Of Player Ids
Example:
12345
The character you use before every command (e.g. ' ̲;kick player').
The character inbetween command arguments (e.g. setting it to '/' would change ';kick player' to ';kick/player').
Whether not to show the "TC" icon at the top of the screen.
The Badge Id Of The Badge To Award The Player When They Join For The First Time
Whether Not TC Admin Is Enabled
How Often To Autosave Every Players Stats (Seconds, Set To -1 For Never)
DataStores
To Use The DataStore Functionality, Use The Following Snippet:
local
Datastores = UGK.DataStores
SetPlayer
Datastores.
SetPlayer
(Player
,Key
,Value
)GetPlayer
Datastores.
GetPlayer
(Player
,Key
)Set
Datastores.
Set
(DataStore
,Key
,Value
)Get
Datastores.
Get
(DataStore
,Key
)Leaderstats
To Use The Leaderstat Functionality, Use The Following Snippet:
local
Leaderstats = UGK.Leaderstats
Coming Soon....
Please Note That Most Of The Code On This Page Is Case Sensitive, So I Would Recommend You Copy And Paste The Code Instead Of Typing It By Hand.