(Sorry this is late, i was busy) this is a great change and adds more to making custom icons, speaking of hd admin, there is any way to make the commands not appear in chat, because on mobile, you can’t use the cmdbar
Edit: there is a command for cmdbar but it shows in the chat anyways
Hey ForeverHD,
I wanted to know, is there a way to make thing such as Admin Panel visible to only a certain amount of people? I know there’s a way to make it just for the gui. But the thing is, could I make it so it’s inside the code of the Local Script(theme) in StarterPlayerScripts?
Is this an admin panel you’ve created yourself and binded to an icon (by using icon:setToggleMenu(guiObject))?
If so, you can use the icon:setEnabled(bool) method to hide/show your admin panel icon for specific users:
-- In a localScript (for instance, in the one you use to create the icons)
local permittedUserIds = {000, 000, 000} -- Put the userIds of people you wish to see the menu here
local localPlayer = game.Players.LocalPlayer
if table.find(permittedUserIds, localPlayer.UserId) then
-- They're an admin, show icon
icon:setEnabled(true)
else
-- Not an admin, hide icon
icon:setEnabled(false)
end
Hey ForeverHD,
Thank you so much! It did work with this script. I added it at the script where the icon was created (like you said where it had to be) I now can make it visible to people only matching the User ID’s in the Local Theme Script. Thank you for that!
Hey! I have another question, could we change the think for Controller to make the ui come down? If I use a controller on my phone the Dpads won’t work, everything else works besides the Dpads and the select button to toggle uis, is there a way we could set it to “Y” maybe?
We may consider support for changeable bindings in the future, however not at the time being due to its niche use. You’re welcome to modify the modules to achieve this.
Amazing change as always, btw can you make like an icon:setTipTextColor(Color3.fromRGB(0,0,0)) and an icon:setLabelTextColor(Color3.fromRGB(0,0,0)) function, just an idea
Edit: labelTextColor already exists, i couldnt find it in the documentation