``` gsub isn't working! ````

Mah script,

local text = ":flushed:"

text:gsub(":flushed:", " robux ")

print(text)

ain’t working. It prints “:flushed :” not “Robux”

Strings are immutable, which means they cannot be modified. text:gsub returns a new string, so you have to replace your variable with that.

text = text:gsub(":flushed:", " robux ")
1 Like

What? What a bigginer mistake… How did I bypass that?!