I need this for my plugin, here is the script I use:
local box = gui.TextBox
local HistoryService = game:GetService("ChangeHistoryService")
box:GetPropertyChangedSignal("Text"):Connect(function()
print("Changed")
HistoryService:SetWaypoint("Text changed")
end)
It undo the focus not text! Help please
