I want to make a simple advertising system, but my problem is that i cant figure out how to change a StringValue's value on a script, I made a gui with a textbutton and a textbox and people will enter the decal id they want to advertise in the textbox and when they click the textbutton the script will add a comma and a space and then the decal id, i am new to scripting, Thank you, Here is my script (for the textbutton)
bought = true
local stringvalue = game.Workspace.VurionaLoader.IDSHERE.Value
local decal = script.Parent.Parent.TextBox.Text
script.Parent.MouseButton1Click:connect(function()
if bought == true then
--I dont know what to do here
end
end)

1 comment
I dont want to remove the data that is already there