Im trying to make a textbox that u can run code but im not sure how do i find a words position in a textbox.

if str:find("game") then
		   script.Parent.Parent.RunCode.Position = str:find("game")
		
	end

It makes the textbutton invincible.