I really don't know why does this script don't changes the String Value in Workspace. Here is the script, if you have any suggestions about this question make sure to leave a comment down there, you are going to help me a lot, and if you help me, I am going to accept your answer!
Script:
local Database = game.Workspace.Level_Database
local UsernameValue = Database.Username
local UsernameBox = script.Parent
local ScreenGui = script.Parent.Parent.Parent
function onClicked()
UsernameBox.Text = UsernameValue.Value
wait(0.1)
ScreenGui.Enabled = false
end
script.Parent.MouseButton1Click:connect(onClicked)

2 comments
You cant enable a screen gui from a server script
Well, joeldes that is not the problem, only problem here is that the script wont change the StringValue from TextBox!