What this script is suppose to do is when the textbox.text changes, this script will change the value of the value that's linked to the textbox and that value will be the number that was set in the text box.
However the value doesn't change when you input a new number in the textbox's.
Players.IntellectualBEing.PlayerGui.MouseSensitivity:45: attempt to perform arithmetic on field 'MouseSensitivity' (a userdata value)
local MouseSettings = script.Parent.Parent:WaitForChild("Menu").Holder.Pages.Settings.MSTextBox
local MouseOSettings = script.Parent.Parent:WaitForChild("Menu").Holder.Pages.Settings.MSOTextBox
MouseSettings.Changed:connect(function(A)
_G.MouseSensitivity.Value = tonumber(A)
end)
MouseOSettings.Changed:connect(function(B)
_G.MouseSensitivityOffset.Value = tonumber(B)
end)

2 comments
The error you quote is from a different script for a different reason than not storing correct. Why are you using
_Gto store aValueobject? Just store the number you want in _G, not an object with the value. That adds nothing.Okay.