Categories > Exploiting > Scripts >
UI LIB Request
Posted
Hello , I would like some good ui libs also with an example of player list dropdown where u can select a player and do something too the chooseen player sutch as print
I wish an example of player list dropdown on this ui lib (Being able to print the selected player) https://github.com/AlexR32/Roblox#bracketv3
Here is an example Of wally ui v2
local playerlist = {}
for i,v in pairs(game.Players:GetPlayers())do
if v ~= game.Players.LocalPlayer then
table.insert(playerlist,v.Name)
end
end
local w = library:CreateWindow('Example')
local drop = w:Dropdown("Players", {
flag = "bonk";
list = playerlist
}, function(new)
print(new)
end)
game.Players.PlayerAdded:Connect(function(player)
local name = player.Name
table.insert(playerlist,name)
drop:Refresh(playerlist)
end)
game.Players.PlayerRemoving:Connect(function(player)
local name = player.Name
for i,v in pairs(playerlist)do
if v == name then
table.remove(playerlist,i)
end
end
drop:Refresh(playerlist)
end)
If anyone wanna copy this method into another ui lib feel free to do!
Replied
Use Kavo UI lib. if you don't know how to make the list of players just look for threads about it.
Cancel
Post
I'm not lazy, I'm just highly motivated to do nothing. #I💚Dogs.
Replied
Cancel
Post
I'm not lazy, I'm just highly motivated to do nothing. #I💚Dogs.
I'm not lazy, I'm just highly motivated to do nothing. #I💚Dogs.
Replied
as i said i have kavo already but maybe il rewrite my script and see if it lags with this code @Anasusxz
just compared this too mine and its the exact same one apart from small changes that probably dont matter.
Cancel
Post
Replied
Yeah, sorry my bad didn't pay attention
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post