So i have a textbox inside a gui that has a number 1 inside it by default, i need to be able to use whatever number is in that textbox as a number value that i can compare and add or subtract from other numbers inside various scripts. Any ideas how i could do that?
You can get the number as tonumber(TextBox.Text)
if it's really just a number. If someone is allowed to type in something that's not a valid number (like their name) tonumber() will give you nil.