Or a script that checks if a stringvalue has a value
How to check if stringValue has value:
stringValue = game.Workspace.StringValue if(stringValue.Value ~= "")then print("stringvalue object has a value of ".. stringValue.Value) end
alone, this'll only run when the server starts ^^^ but you can check the string's value every time the value changes by using the following event:
stringValue.Changed:Connect(function(newValue) print(newValue) end)
Check if the button was clicked by saying the following:
myButton.MouseButton1Click:Connect(function() print("Button clicked") end)