Edit Variables From Game!

hello guys i make a fps game and i khow very good script but in the thing “string” i am tottaly noob…the think i want to made is a console, and the player can edit his own stats
like gravity,jump height or speed… rhe point is i dont khow how i must use the strings
i can make a console but without the strings is just a gui. please give me some help
how i can type the name of variable and a number and change the script that contain the variable? that i want!

Hi John,

So basically you want to create a “console” like window that is accessible to the user to manipulate variables of scripts at runtime?

Are you coding in c# or javaScript?