Just to clarify—what exactly do you mean by changing the name of soldiers?
If you're looking to rename models in your Roblox creation, you'd do that in Roblox Studio, where you can select a model and edit its name directly in the properties or Explorer panel.