dat.GUI - A lightweight graphical user interface and controller library

Works on mobile devices.

2 Likes

is it client side or server side?

Would be a neat addition if action had a setValue method for context of cooldowns!

Hi, can I use this for my plugin, RunLSC? As for attribution, your module will be linked in the credits section and I will put your name on the acknowledgements

When the player dies and respawns, the GUI doesn’t parent to the PlayerGui anymore. Is this intentional? Great module either way.

Great module! But is there way to hide this header when the gui is created? I’d like the entire gui to be closed or opened through separate means.
image
nevermind found a way!

local playerGui = game:GetService("Players").LocalPlayer.PlayerGui
playerGui ScreenGui.TextButton.MouseButton1Down:Connect(function()
	if #playerGui["dat.GUI"]:GetChildren() <= 0 then -- checks if theres any inside the "holder" thing
		createSettingsUI() -- creates the whole UI 
	end
end)

Very cool system indeed. I looked at the source code (dat.GUI.lua) and its all in one line?!