horrible saveinstance detection but i will send it anyway,I do not recommend , if you don’t know the sacrifices for this to work don’t use it
, and i only tested it on USSI it won’t work on potassium’s saveinstance because somehow my logservice isn’t working ,
-- do not trust the client people do not jump me
local RunService = game:GetService("RunService")
local log = game:GetService("LogService")
if RunService:IsStudio() then return end -- WARNING DO NOT REMOVE IF YOUR PLANNING ON USING THIS!
--[[
I was gonna do something's like
--log.MessageOut:Connect(function(message)
-- if message:find("GetCollisionGroups is deprecated", 1, true) then
-- print("perm is this you?")
-- end
--end)
But for some reason it's not printing so i dont know what's going on, i have a theory that they patch localscripts when doing it
]]
local rp = game:GetService("ReplicatedStorage")
if game:FindService("EncodingService") ~= nil then
print("EncodingService")
return
end
game.ServiceAdded:Connect(function(service)
if service.Name == "EncodingService" then
print("USSI?") -- https://github.com/luau/UniversalSynSaveInstance
end
end)