Undo replication of instance on the client

local undoReplication = game.ReplicatedStorage:WaitForChild("undoReplication")

undoReplication.OnClientEvent:Connect(function(part)
    if part then
        part.Transparency = 1
    else
        repeat wait() until part ~= nil
        part.Transparency = 1
    end
end)
1 Like