local text = script.Parent

local event = text.Changer

text.Focused:Connect(function()
	local i = 100
	i = i + 0
end)
event.OnServerEvent:Connect(function()
	text.Parent.TextBox.IntValue.Value = text.Text
end)

i'm trying to make it where a intvalue value changes if you change the text to a number but it wont change the value.

local event = script.Parent.Changer

script.Parent.FocusLost:Connect(function()
	event:FireServer()
end)

here is the remote event script.