local TextBox = game.StarterGui.ScreenGui.TextBox
local Codes = {
[Master] = "star"
[Star] = "master"
}
for i,v in pairs(Codes) do
if TextBox.Text == v then
TextBox.Text = v
end
end
I created a text box and if i write Master or Star in it then it should change to the strings so if i put Master then the text of the Textbox should be "star" and if i put Star then it should put "master" in the textbox text

1 comment
ur using starter gui not plr gui