This script is placed inside a screengui, so is the textbutton. The problem with this script is that it's not working at all (also, there are no errors in the output), everyone can see the text button (even though the property of being visible is disabled).
if game.Players.LocalPlayer.Name == "Player1" or "YoBoi1337" then
script.Parent.TextButton.Visible = true
else
script.Parent.TextButton.Visible = false
end
