To prevent some exploiters, I know you can change ReplicatedStorage name to random letters in a loop so players cannot change things from it. I have done this with workspace by doing:
function RandomVariable(f)
local g = ""
for h = 1, f do
g = g .. string.char(math.random(97, 122))
end
return g
end
while true do
wait(0.25)
workspace.Name = RandomVariable(10)
end
And it works, but not for ReplicatedStorage.
game.ReplicatedStorage.Name = RandomVariable(10)
It doesn't work because it will not be named ReplicatedStorage anymore, so it will change it only one time. Can somebody please help if you know a way to do this?

1 comment
You can get any service regardless of namechanges simply by doing game:GetService(). This is a waste of time, if you're trying to hide assets, don't, because you can't unless you don't intend on using them.