Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how can i turn something from the name of something into a string?

Asked by 4 years ago

here is the script

for i,v in ipairs(codes) do
    game.ReplicatedStorage.Events.SubmitCode:FireServer(v)
end

i want the v in fireserver to be a string pls help

1 answer

Log in to vote
0
Answered by
Pupppy44 671 Moderation Voter
4 years ago

Use tostring() So

tostring(v)
Ad

Answer this question