Is it possible to search up a player’s username on a GUI, and be able to look at the player’s leaderstats?
Are you making a custom player list with a leaderboard? Because you can already look at a player’s leaderstats through the player list.
Yes, you can. You can use RemoteFunctions to retrieve data (aka, player’s leaderstats) from the server.
No, i’m creating a admin panel, which is a GUI, you can search up the players username, and you can warn, kick, ban, give items, change currency, and look up their leaderstats, by clicking on a button on the GUI.
for _,object in pars(player.leaderstats:GetChildren()) do
print(object.Value) --were printing the value of the leaderstats, lets say cash. You can also make it a text instead of print
end
Also is it possible to show if your in a group, have premium, on a Gui?
You could check if a player has premium by checking it’s MembershipType.
And for the group one you could use the function IsInGroup.
print(player.MembershipType)
Ok Thxs how bout if they are in a group, banned from a game,
if plr:IsInGroup(groupIDHERE) then
plr:Kick("user in blacklisted group")
end
I have a question how did you learn scripting?
I learned most scripting from TheDevKing on youtube, got help on discord servers, devwiki,forum
Ok Thxs, this is just a question, is it possible to calculate how many times they have been warned, banned from a specific game?
If the specific game is owned by you or you have access to edit then i think it is with teleport data
Thank u for telling me the answers