local module = require(game.ReplicatedStorage.Words)
local function giveplayeroptions(plr)
local words = module.GenWords(3,5,3)
game.ReplicatedStorage.DisplayChoices:FireAllClients(words,plr)
game.ReplicatedStorage.RoundPlayer.Value = plr.DisplayName.."(@"..plr.Name..")"
end
local function set(word,encryptedword)
game.ReplicatedStorage.RoundWord.RoundOriginalWord.Value = word
game.ReplicatedStorage.RoundWord.Value = encryptedword
end
game.ReplicatedStorage.SetWord.OnServerEvent:Connect(function(plr,word)
local encryptedword = word
local wordstonotreveal = #word-math.ceil(#word/3)
local WWAGR = {}
for i=1,#word do
local v = string.sub(word,i,i)
table.insert(WWAGR, v)
end
for i=1,wordstonotreveal do
local iv = WWAGR[math.random(1,#WWAGR)]
encryptedword = string.gsub(encryptedword,iv,"_")
end
set(word,encryptedword)
end)
game.ReplicatedStorage.RecieveMessage.OnServerEvent:Connect(function(plr,msg)
if string.sub(msg,1,1) == '"' and string.sub(msg,#msg,#msg) == '"' then
local ROW = game.ReplicatedStorage.RoundWord.RoundOriginalWord
local RW = game.ReplicatedStorage.RoundWord
for i=1,#ROW.Value do
local v = string.sub(ROW.Value,i,i)
if string.sub(msg,2,2) == v then
print("yes this is epic") -- here here
end
end
end
end)
game.Players.PlayerAdded:Connect(function(plr)
giveplayeroptions(plr)
end)
Code 
So what I want to do is changing a character in a string value to another character via its position in string