This script is uses for Startergear. For example I say !Weaponsets sword then it puts it in the starter gear so when you die you will still have it.
names = {"GTDRIVER"} -- Add in the names of the people you want to be able to use the command script here.}
game.Players.PlayerAdded:connect(function(player)
for i, v in pairs(names) do
if v == player.Name then
player.Chatted:connect(function(chatmsg)
if chatmsg:sub(1,4) == "!Weaponsets" then
tool = game.ReplicatedStorage.tool
tool = tool:Clone()
tool.Parent = plr.StarterGear
end

3 comments
Please edit your post and place your code in a Code Block to make it easier for users to answer your question.
Also, don't just post code, provide both an explanation and code.
That is still not correct.