I want to be able to type a number and then see the ore value ("_G.orevalue") change to the number I put inside, as well as only showing the text box to me.

Code here

local Humanoid = game.Players.LocalPlayer.Character

if  Humanoid.Parent == ("calenmaster1") then


local TextBox = script.Parent.Text





TextBox:GetPropertyChangedSignal("Text"):Connect(function()
	
	
	_G.orevalue = TextBox
	
	
	
	
end)

	
		end