Plugin Gui Help

Hello! I am making a User Moderation plugin and a To-Do List plugin. I need help with something on both.

  1. User Moderation: The plugin Gui has 2 TextBoxes, 1 for Username input and the other for DataStore Name input. The problem I’m facing is that when I press the Ban button, it doesn’t set the DataStore. I am running this with a LocalScript (Gui events) and a ServerScript (DataStore), they are connected using a RemoteFunction. To help me with this problem, please specify that it is for the User Moderation.

  2. To-Do List: The problem I am facing is saving the list items that are completed/not completed and the item text. I am confused on how I would save multiple strings and booleans with the plugin:SetSetting() function. To help me with this problem, please specify that it is for the To-Do List.

2.
You can easily use more plugin:SetSettings() for example:

plugin:SetSetting(key,data) 
plugin:SetSetting(key2,data2) 

Is that your problem or does it solve your problem?

Edit: You can also use tables to save it

local t = {} 
for i, v in pairs(script.Parent.Frame:GetChildren) do 
table.insert(t,v)
end
plugin:SetSetting(key,t)
1 Like

Thank you, I’m not the best at Data handling

1 Like