I'm just trying to work out string.reverse, but it says attempted to index "string, a nil value"
This is what I have
local encryptThese = {}
function basicEncryption()
for i,v in pairs(game.Workspace:GetChildren()) do
if v.Parent == game.workspace then
print(v)
table.insert(encryptThese, v)
encryptThese.string.reverse()
end
end
end
basicEncryption()

1 comment
You can also call it with
:For examplelocal a = "ABCD" print(a:reverse())printsDCBA.