Cache
cache.replace
Sets the cached Instance entry for one Instance to another Instance.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sets the cached Instance entry for one Instance to another Instance.
cache.replace(instance: Instance, replacement: Instance)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
cache.replace(Players, ReplicatedStorage)
print(cache.iscached(Players))